[ 
https://issues.apache.org/jira/browse/CONNECTORS-796?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13809005#comment-13809005
 ] 

Karl Wright commented on CONNECTORS-796:
----------------------------------------

User says: "I've fetched a stack trace at the point where previousContext is 
null for the first time. After that, the currentContext will be set to null and 
this leads to the error described.
Maybe this helps:"

{code}
Daemon Thread [Worker thread '42'] (Suspended (entry into method endElement in 
XMLParsingContext))      
RSSConnector$OuterContextClass(XMLParsingContext).endElement(String, String, 
String) line: 109  
XMLFuzzyHierarchicalParseState.noteEndTagEx(String, String, String) line: 110   
XMLFuzzyHierarchicalParseState(XMLFuzzyParseState).noteEndTag(String) line: 131 
XMLFuzzyHierarchicalParseState(TagParseState).dealWithCharacter(char) line: 755 
XMLFuzzyHierarchicalParseState(SingleCharacterReceiver).dealWithCharacters(Reader)
 line: 51     
DecodingByteReceiver.dealWithBytes(InputStream) line: 48        
BOMEncodingDetector.dealWithRemainder(byte[], int, int, InputStream) line: 248  
BOMEncodingDetector(SingleByteReceiver).dealWithBytes(InputStream) line: 52     
Parser.parseWithCharsetDetection(String, InputStream, CharacterReceiver) line: 
82       
RSSConnector.handleRSSFeedSAX(String, IProcessActivity, RSSConnector$Filter) 
line: 3481 
RSSConnector.processDocuments(String[], String[], IProcessActivity, 
DocumentSpecification, boolean[], int) line: 1256   
WorkerThread.run() line: 559    
{code}


> RSS connector: Null pointer exception for some feeds
> ----------------------------------------------------
>
>                 Key: CONNECTORS-796
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-796
>             Project: ManifoldCF
>          Issue Type: Bug
>          Components: RSS connector
>    Affects Versions: ManifoldCF 1.3
>            Reporter: Karl Wright
>            Assignee: Karl Wright
>            Priority: Critical
>             Fix For: ManifoldCF 1.5
>
>
> Here's the exception:
> {code}
> [2013-10-30 10:16:43,207|FATAL|Worker thread 
> '2'|org.apache.manifoldcf.crawler.system.WorkerThread::run()|925 ] - Error 
> tossed: null
> java.lang.NullPointerException
>             at 
> org.apache.manifoldcf.core.fuzzyml.XMLFuzzyHierarchicalParseState.cleanup(XMLFuzzyHierarchicalParseState.java:86)
>             at 
> org.apache.manifoldcf.crawler.connectors.rss.RSSConnector.handleRSSFeedSAX(RSSConnector.java:3487)
>             at 
> org.apache.manifoldcf.crawler.connectors.rss.RSSConnector.processDocuments(RSSConnector.java:1256)
>             at 
> org.apache.manifoldcf.crawler.system.WorkerThread.run(WorkerThread.java:559)
> {code}
> This is the feed: http://blog.fme.de/feed



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to