You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jena.apache.org by Xin Wang <an...@gmail.com> on 2015/11/21 05:46:42 UTC

NullPointerException when trying to read an RDF file using Jena Elephas's TriplesInputFormat in Spark

Hi all,

   This is the detailed description of my problem I put on the
StackOverflow
http://stackoverflow.com/questions/33839238/nullpointerexception-when-trying-to-read-an-rdf-file-using-jena-elephass-triple
Could someone please help me solve this problem?

Thank you very much.

Regards,
Xin

Re: NullPointerException when trying to read an RDF file using Jena Elephas's TriplesInputFormat in Spark

Posted by Rob Vesse <rv...@dotnetrdf.org>.
Investigating further it looks like this bug only affects Turtle inputs so
one workaround is simply to use formats other than Turtle for input.

Rob

On 23/11/2015 11:24, "Rob Vesse" <rv...@dotnetrdf.org> wrote:

>This is a bug in Elephas which I've filed as JENA-1075 [1]
>
>Fix looks to be fairly trivial, once the fix is committed (probably in an
>hour or so) you can try using the development SNAPSHOT builds which should
>resolve the problem.  To do this change the version to 3.0.1-SNAPSHOT in
>your <dependency> declarations in your POM
>
>Rob
>
>[1] https://issues.apache.org/jira/browse/JENA-1075
>
>On 21/11/2015 04:46, "Xin Wang" <an...@gmail.com> wrote:
>
>>Hi all,
>>
>>   This is the detailed description of my problem I put on the
>>StackOverflow
>>http://stackoverflow.com/questions/33839238/nullpointerexception-when-try
>>i
>>ng-to-read-an-rdf-file-using-jena-elephass-triple
>>Could someone please help me solve this problem?
>>
>>Thank you very much.
>>
>>Regards,
>>Xin
>
>
>
>





Re: NullPointerException when trying to read an RDF file using Jena Elephas's TriplesInputFormat in Spark

Posted by Rob Vesse <rv...@dotnetrdf.org>.
This is a bug in Elephas which I've filed as JENA-1075 [1]

Fix looks to be fairly trivial, once the fix is committed (probably in an
hour or so) you can try using the development SNAPSHOT builds which should
resolve the problem.  To do this change the version to 3.0.1-SNAPSHOT in
your <dependency> declarations in your POM

Rob

[1] https://issues.apache.org/jira/browse/JENA-1075

On 21/11/2015 04:46, "Xin Wang" <an...@gmail.com> wrote:

>Hi all,
>
>   This is the detailed description of my problem I put on the
>StackOverflow
>http://stackoverflow.com/questions/33839238/nullpointerexception-when-tryi
>ng-to-read-an-rdf-file-using-jena-elephass-triple
>Could someone please help me solve this problem?
>
>Thank you very much.
>
>Regards,
>Xin