History | Log In     View a printable version of the current page. Get help!  
Issue Details [XML]

Key: SES-691
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Arjohn Kampman
Reporter: Arjohn Kampman
Votes: 0
Watchers: 0
Operations

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

NullPointerException in error handling of TriXParser

Created: 09/Nov/09 08:26 PM   Updated: 11/Nov/09 09:13 AM
Component/s: Rio
Affects Version/s: 2.2.2, 2.2.1, 2.1.4, 2.2, 2.1.3, 2.1.2, 2.1.1, 2.1, 2.0.1, 2.0
Fix Version/s: 2.3.0


 Description   
Some code in the TriX parser seems to assume that there will always be a nested exception. The call stack for the error is:

java.lang.NullPointerException
   at org.openrdf.rio.RDFParseException.<init>(RDFParseException.java:81)
   at org.openrdf.rio.helpers.RDFParserBase.reportFatalError(RDFParserBase.java:532)
   at org.openrdf.rio.helpers.RDFParserBase.reportFatalError(RDFParserBase.java:508)
   at org.openrdf.rio.trix.TriXParser.parse(TriXParser.java:114)
   at org.openrdf.rio.trix.TriXParser.parse(TriXParser.java:76)
<...>

Looking at this in the debugger, the value for "wrappedExc" on line 114 in TriXParser.java is null.

This is with Sesame version 2.2.2.

 All   Comments   Change History      Sort Order:
There are no comments yet on this issue.