I had a problem while loading a file to Fuseki via the graph protocol, where 
the load was interrupted part-way through.  It seems to have resulted in the 
indexes being corrupted.  If I try to access the relevant graph, Fuseki throws 
an exception when trying a SELECT:

09:30:40 ERROR BindingTDB           :: get1(?o)
java.util.NoSuchElementException
        at org.openjena.riot.tokens.TokenizerText.next(TokenizerText.java:95)
        at com.hp.hpl.jena.tdb.nodetable.NodecSSE.decode(NodecSSE.java:91)
        at com.hp.hpl.jena.tdb.lib.NodeLib.decode(NodeLib.java:89)
        at com.hp.hpl.jena.tdb.lib.NodeLib.fetchDecode(NodeLib.java:71)
        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.NodeTableCache._retrieveNodeByNodeId(NodeTableCache.java:87)
        at 
com.hp.hpl.jena.tdb.nodetable.NodeTableCache.getNodeForNodeId(NodeTableCache.java:58)
        at 
com.hp.hpl.jena.tdb.nodetable.NodeTableWrapper.getNodeForNodeId(NodeTableWrapper.java:44)
        at 
com.hp.hpl.jena.tdb.nodetable.NodeTableInline.getNodeForNodeId(NodeTableInline.java:55)
        at com.hp.hpl.jena.tdb.solver.BindingTDB.get1(BindingTDB.java:96)
        at 
com.hp.hpl.jena.sparql.engine.binding.BindingBase.get(BindingBase.java:126)
        at 
com.hp.hpl.jena.sparql.engine.binding.BindingProjectBase.get1(BindingProjectBase.java:54)
        at 
com.hp.hpl.jena.sparql.engine.binding.BindingBase.get(BindingBase.java:126)
        at com.hp.hpl.jena.sparql.core.ResultBinding._get(ResultBinding.java:44)
        at 
com.hp.hpl.jena.sparql.core.QuerySolutionBase.get(QuerySolutionBase.java:20)
        at 
com.hp.hpl.jena.sparql.resultset.ResultSetApply.apply(ResultSetApply.java:35)
        at 
com.hp.hpl.jena.sparql.resultset.JSONOutput.format(JSONOutput.java:23)
        at 
com.hp.hpl.jena.query.ResultSetFormatter.outputAsJSON(ResultSetFormatter.java:584)
        at 
org.openjena.fuseki.servlets.ResponseResultSet$2.output(ResponseResultSet.java:121)
        at 
org.openjena.fuseki.servlets.ResponseResultSet.output(ResponseResultSet.java:215)
        at 
org.openjena.fuseki.servlets.ResponseResultSet.jsonOutput(ResponseResultSet.java:263)
        at 
org.openjena.fuseki.servlets.ResponseResultSet.doResponseResultSet(ResponseResultSet.java:116)
        at 
org.openjena.fuseki.servlets.SPARQL_Query.sendResults(SPARQL_Query.java:276)
        at 
org.openjena.fuseki.servlets.SPARQL_Query.execute(SPARQL_Query.java:212)
        at 
org.openjena.fuseki.servlets.SPARQL_Query.executeWithParameter(SPARQL_Query.java:177)
        at 
org.openjena.fuseki.servlets.SPARQL_Query.perform(SPARQL_Query.java:97)
        at 
org.openjena.fuseki.servlets.SPARQL_ServletBase.doCommon(SPARQL_ServletBase.java:95)
        at org.openjena.fuseki.servlets.SPARQL_Query.doGet(SPARQL_Query.java:78)

Other parts of the database seem ok.

Is this likely to be an index issue?
Is there a way to rebuild the indexes without reloading all of the data?
Any tips for futher diagnosis?

My fuseki version is a few months old - presumably would be a good idea to 
update to most recent snapshot?

Thanks

Bill




Reply via email to