I went to run some code you all helped me cook some weeks ago, and I
got a surprise. I'm now using current TDB.

The call in my code that produces this is:

reasoningModel =
ModelFactory.createOntologyModel(OntModelSpec.OWL_MEM_MICRO_RULE_INF,

dataset.getNamedModel(UNION_GRAPH));

Exception in thread "main" java.util.NoSuchElementException
        at org.openjena.riot.tokens.TokenizerText.next(TokenizerText.java:91)
        at com.hp.hpl.jena.tdb.nodetable.NodecSSE.decode(NodecSSE.java:100)
        at com.hp.hpl.jena.tdb.lib.NodeLib.fetchDecode(NodeLib.java:68)
        at 
com.hp.hpl.jena.tdb.nodetable.NodeTableNative.readNodeByNodeId(NodeTableNative.java:158)
        at 
com.hp.hpl.jena.tdb.nodetable.NodeTableNative._retrieveNodeByNodeId(NodeTableNative.java:85)
        at 
com.hp.hpl.jena.tdb.nodetable.NodeTableNative.getNodeForNodeId(NodeTableNative.java:58)
        at 
com.hp.hpl.jena.tdb.nodetable.NodeTableWrapper.getNodeForNodeId(NodeTableWrapper.java:43)
        at 
com.hp.hpl.jena.tdb.nodetable.NodeTableInline.getNodeForNodeId(NodeTableInline.java:55)
        at com.hp.hpl.jena.tdb.lib.TupleLib.tupleNodes(TupleLib.java:86)
        at com.hp.hpl.jena.tdb.lib.TupleLib$1.convert(TupleLib.java:40)
        at com.hp.hpl.jena.tdb.lib.TupleLib$1.convert(TupleLib.java:36)
        at org.openjena.atlas.iterator.Iter$4.next(Iter.java:265)
        at 
com.hp.hpl.jena.tdb.store.DatasetPrefixesTDB.readPrefix(DatasetPrefixesTDB.java:127)
        at 
com.hp.hpl.jena.sparql.graph.GraphPrefixesProjection.get(GraphPrefixesProjection.java:85)
        at 
com.hp.hpl.jena.sparql.graph.GraphPrefixesProjection.set(GraphPrefixesProjection.java:63)
        at 
com.hp.hpl.jena.shared.impl.PrefixMappingImpl.setNsPrefix(PrefixMappingImpl.java:58)
        at 
com.hp.hpl.jena.graph.compose.PolyadicPrefixMappingImpl.setNsPrefix(PolyadicPrefixMappingImpl.java:40)
        at 
com.hp.hpl.jena.rdf.model.impl.ModelCom.setNsPrefix(ModelCom.java:782)
        at 
com.hp.hpl.jena.ontology.impl.OntModelImpl.<init>(OntModelImpl.java:156)
        at 
com.hp.hpl.jena.ontology.impl.OntModelImpl.<init>(OntModelImpl.java:120)
        at 
com.hp.hpl.jena.rdf.model.ModelFactory.createOntologyModel(ModelFactory.java:402)
        at com.basistech.jug.rdfdb.jena.JenaStore.initialize(JenaStore.java:65)
        at com.basistech.jug.rdfdb.tools.RunQuery.run(RunQuery.java:58)
        at com.basistech.jug.rdfdb.tools.RunQuery.main(RunQuery.java:50)

Reply via email to