Issue Details (XML | Word | Printable)

Key: ROME-126
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: rome-issues
Reporter: bwalsh
Votes: 1
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
rome

module.mediarss NullPointerException: Scheme and value cannot be null

Created: 28/Mar/09 01:07 AM   Updated: 26/Feb/12 11:29 AM
Component/s: www
Affects Version/s: current
Fix Version/s: milestone 1

Time Tracking:
Not Specified

Environment:

Operating System: All
Platform: All


Issuezilla Id: 126
Tags:
Participants: bwalsh, ollijm, rome-issues and xnejp03


 Description  « Hide

Get this error on a regular basis

Mar 28, 2009 12:59:37 AM
com.sun.syndication.feed.module.mediarss.io.MediaModuleParser parseMetadata
WARNING: Exception parsing rating tag.
java.lang.NullPointerException: Scheme and value cannot be null.
at
com.sun.syndication.feed.module.mediarss.types.AbstractSchemeValue.<init>(AbstractSchemeValue.java:40)
at
com.sun.syndication.feed.module.mediarss.types.Rating.<init>(Rating.java:66)
at
com.sun.syndication.feed.module.mediarss.io.MediaModuleParser.parseMetadata(MediaModuleParser.java:331)
at
com.sun.syndication.feed.module.mediarss.io.MediaModuleParser.parse(MediaModuleParser.java:91)
at
com.sun.syndication.io.impl.ModuleParsers.parseModules(ModuleParsers.java:51)
at
com.sun.syndication.io.impl.BaseWireFeedParser.parseFeedModules(BaseWireFeedParser.java:64)
at
com.sun.syndication.io.impl.RSS090Parser.parseChannel(RSS090Parser.java:170)
at
com.sun.syndication.io.impl.RSS091UserlandParser.parseChannel(RSS091UserlandParser.java:84)
at
com.sun.syndication.io.impl.RSS092Parser.parseChannel(RSS092Parser.java:49)
at
com.sun.syndication.io.impl.RSS094Parser.parseChannel(RSS094Parser.java:45)
at com.sun.syndication.io.impl.RSS090Parser.parse(RSS090Parser.java:82)
at com.sun.syndication.io.WireFeedInput.build(WireFeedInput.java:277)
at com.sun.syndication.io.WireFeedInput.build(WireFeedInput.java:195)
at com.sun.syndication.io.SyndFeedInput.build(SyndFeedInput.java:123)



xnejp03 added a comment - 26/Feb/12 11:29 AM

Same here, this bug is breaking parsing many feeds with media namespace.


ollijm added a comment - 24/May/11 02:37 AM

Bumb! This NullPointerException seems to happen with all the feeds containing element <media:rating>adult|nonadult</media:rating> and is still present in rome-modules-1.0.jar. Any chance of getting this fixed?