You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Andy Seaborne (JIRA)" <ji...@apache.org> on 2012/09/06 09:12:07 UTC

[jira] [Closed] (JENA-311) Quad: object cannot be null

     [ https://issues.apache.org/jira/browse/JENA-311?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andy Seaborne closed JENA-311.
------------------------------

    
> 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
>            Assignee: Andy Seaborne
>             Fix For: TDB 0.9.4
>
>         Attachments: QuadsObjectIsNullTest.zip, T_QuadsObjectIsNull.java
>
>
> 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