[ROME-126] module.mediarss NullPointerException: Scheme and value cannot be null Created: 28/Mar/09  Updated: 26/Feb/12

Status: Open
Project: rome
Component/s: www
Affects Version/s: current
Fix Version/s: milestone 1

Type: Bug Priority: Major
Reporter: bwalsh Assignee: rome-issues
Resolution: Unresolved Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Issuezilla Id: 126

 Description   

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)



 Comments   
Comment by ollijm [ 24/May/11 ]

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?

Comment by xnejp03 [ 26/Feb/12 ]

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

Generated at Tue Feb 09 23:47:48 UTC 2016 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.