Hello, everyone,
I am using Jena TDB through Jena and the following exception happened when
I was trying to write triples to the TDB. I was searching on the internet
and in the mailing list the similar problems but didnt find many cases.
Currently this happens every time when writing to TDB. Anyone has idea that
why this exception happened (the possible reasons/cases that can result in
this) and how to solve it?
Thank you very much.
Jie
com.hp.hpl.jena.tdb.TDBException: No known block type for 0
at
com.hp.hpl.jena.tdb.base.block.BlockType.extract(BlockType.java:69)
at
com.hp.hpl.jena.tdb.index.bplustree.BPTreeNodeMgr.getType(BPTreeNodeMgr.java:173)
at
com.hp.hpl.jena.tdb.index.bplustree.BPTreeNodeMgr.access$100(BPTreeNodeMgr.java:36)
at
com.hp.hpl.jena.tdb.index.bplustree.BPTreeNodeMgr$Block2BPTreeNode.fromBlock(BPTreeNodeMgr.java:139)
at
com.hp.hpl.jena.tdb.index.bplustree.BPTreeNodeMgr$Block2BPTreeNode.fromBlock(BPTreeNodeMgr.java:119)
at
com.hp.hpl.jena.tdb.base.page.PageBlockMgr.getRead(PageBlockMgr.java:69)
at
com.hp.hpl.jena.tdb.index.bplustree.BPTreeNodeMgr.getRead(BPTreeNodeMgr.java:105)
at
com.hp.hpl.jena.tdb.index.bplustree.BPTreeNodeMgr.getRoot(BPTreeNodeMgr.java:90)
at
com.hp.hpl.jena.tdb.index.bplustree.BPlusTree.getRoot(BPlusTree.java:238)
at
com.hp.hpl.jena.tdb.index.bplustree.BPlusTree.addAndReturnOld(BPlusTree.java:326)
at
com.hp.hpl.jena.tdb.index.bplustree.BPlusTree.add(BPlusTree.java:319)
at
com.hp.hpl.jena.tdb.store.tupletable.TupleIndexRecord.performAdd(TupleIndexRecord.java:62)
at
com.hp.hpl.jena.tdb.store.tupletable.TupleIndexBase.add(TupleIndexBase.java:64)
at
com.hp.hpl.jena.tdb.store.tupletable.TupleTable.add(TupleTable.java:96)
at
com.hp.hpl.jena.tdb.store.nodetupletable.NodeTupleTableConcrete.addRow(NodeTupleTableConcrete.java:88)
at com.hp.hpl.jena.tdb.store.QuadTable.add(QuadTable.java:63)
at
com.hp.hpl.jena.tdb.store.DatasetGraphTDB.addToNamedGraph(DatasetGraphTDB.java:104)
at
com.hp.hpl.jena.sparql.core.DatasetGraphTriplesQuads.add(DatasetGraphTriplesQuads.java:49)
at
com.hp.hpl.jena.sparql.core.GraphView.performAdd(GraphView.java:142)
at com.hp.hpl.jena.tdb.store.GraphTDB.performAdd(GraphTDB.java:87)
at com.hp.hpl.jena.graph.impl.GraphBase.add(GraphBase.java:202)
at com.hp.hpl.jena.rdf.model.impl.ModelCom.add(ModelCom.java:1148)
at com.hp.hpl.jena.rdf.model.impl.ModelCom.add(ModelCom.java:1079)