Hi everyone,
I am giving a first stab at integrating TDB-Tx into our framework. My
first goal is to test this new TDB *without* actually using the
transaction API because we are coming from TDB 0.8.7. After some minor
problems on our end, I seem to run into the following NPE (usually
followed by a warning)
09:49:02,176 [jazz.jfs.suspending.indexer.internal.triple] ERROR
com.ibm.team.jfs - CRJZS5663E Unable to
persist tripe index
java.lang.NullPointerException
at com.hp.hpl.jena.tdb.base.page.PageBlockMgr.getWrite(
PageBlockMgr.java:50)
at com.hp.hpl.jena.tdb.index.bplustree.BPTreeNode.getMgrWrite(
BPTreeNode.java:162)
at com.hp.hpl.jena.tdb.index.bplustree.BPTreeNode.get(
BPTreeNode.java:145)
at com.hp.hpl.jena.tdb.index.bplustree.BPTreeNode.delete(
BPTreeNode.java:227)
at
com.hp.hpl.jena.tdb.index.bplustree.BPlusTree.deleteAndReturnOld(
BPlusTree.java:324)
at com.hp.hpl.jena.tdb.index.bplustree.BPlusTree.delete(
BPlusTree.java:318)
at com.hp.hpl.jena.tdb.index.TupleIndexRecord.performDelete(
TupleIndexRecord.java:55)
at com.hp.hpl.jena.tdb.index.TupleIndexBase.delete(
TupleIndexBase.java:61)
at com.hp.hpl.jena.tdb.index.TupleTable.delete(TupleTable.java:108
)
at com.hp.hpl.jena.tdb.graph.BulkUpdateHandlerTDB.removeWorker(
BulkUpdateHandlerTDB.java:136)
at com.hp.hpl.jena.tdb.graph.BulkUpdateHandlerTDB.removeAll(
BulkUpdateHandlerTDB.java:90)
at com.hp.hpl.jena.rdf.model.impl.ModelCom.removeAll(
ModelCom.java:315)
...
09:49:02,207 [jazz.jfs.suspending.indexer.internal.triple] WARN
com.hp.hpl.jena.tdb.base.block.BlockMgrCache - Write cache: 0
expelling entry that isn't there
The exception sits all over my log and I wonder if it is related to the
removeAll. Also, after a while, my memory spikes and I run into an OME. I
don't know yet if there is a relation, but possible these exceptions cause
serious leaks.
The version of TDB (and associated libs) I am using is
tx-tdb-0.9.0-20110802.083904-6
thanks,
Simon