[
https://issues.apache.org/jira/browse/JENA-311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13446417#comment-13446417
]
Simon Helsen commented on JENA-311:
-----------------------------------
I forgot to mention that this problem did not exist in 0.9.1, but we started
seeing it since 0.9.4
> Quad: object cannot be null
> ---------------------------
>
> Key: JENA-311
> URL: https://issues.apache.org/jira/browse/JENA-311
> Project: Apache Jena
> Issue Type: Bug
> Components: TDB
> Affects Versions: TDB 0.9.4
> Environment: windows 7/Oracle 6 JVM
> Reporter: Simon Helsen
> Attachments: QuadsObjectIsNullTest.zip
>
>
> I have attached a test case. If you first execute it and then execute it
> again you will hit
> Exception in thread "main" java.lang.UnsupportedOperationException: Quad:
> object cannot be null
> at com.hp.hpl.jena.sparql.core.Quad.<init>(Quad.java:62)
> at com.hp.hpl.jena.tdb.lib.TupleLib.quad(TupleLib.java:162)
> at com.hp.hpl.jena.tdb.lib.TupleLib.quad(TupleLib.java:153)
> at com.hp.hpl.jena.tdb.lib.TupleLib.access$1(TupleLib.java:149)
> at com.hp.hpl.jena.tdb.lib.TupleLib$4.convert(TupleLib.java:87)
> at com.hp.hpl.jena.tdb.lib.TupleLib$4.convert(TupleLib.java:1)
> at org.openjena.atlas.iterator.Iter$4.next(Iter.java:301)
> at org.openjena.atlas.iterator.IteratorCons.next(IteratorCons.java:97)
> at org.openjena.atlas.iterator.Iter.sendToSink(Iter.java:572)
> at org.openjena.riot.out.NQuadsWriter.write(NQuadsWriter.java:51)
> at org.openjena.riot.out.NQuadsWriter.write(NQuadsWriter.java:38)
> at org.openjena.riot.RiotWriter.writeNQuads(RiotWriter.java:41)
> at
> com.ibm.jena.test.QuadsObjectIsNullTest.main(QuadsObjectIsNullTest.java:147)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira