Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Done
-
None
-
None
-
java version "1.6.0_22"
Java(TM) SE Runtime Environment (build 1.6.0_22-b04)
Java HotSpot(TM) 64-Bit Server VM (build 17.1-b03, mixed mode)
Description
Unable to execute SPARQL queries with SDB. OpSQL's bridge is null in at least some cases. Patch works, but seems odd as the code seems to indicate that a op3 (3rd pass?) shouldn't need a bridge any more?
java.lang.NullPointerException
at com.hp.hpl.jena.sdb.compiler.SDB_QC.exec(SDB_QC.java:65)
at com.hp.hpl.jena.sdb.compiler.OpSQL.exec(OpSQL.java:53)
at com.hp.hpl.jena.sdb.engine.QueryEngineSDB.eval(QueryEngineSDB.java:117)
at
com.hp.hpl.jena.sparql.engine.QueryEngineBase.evaluate(QueryEngineBase.java:138)
at
com.hp.hpl.jena.sparql.engine.QueryEngineBase.createPlan(QueryEngineBase.java:109)
at
com.hp.hpl.jena.sparql.engine.QueryEngineBase.getPlan(QueryEngineBase.java:97)
at
com.hp.hpl.jena.sdb.engine.QueryEngineSDB$QueryEngineFactorySDB.create(QueryEngineSDB.java:142)
at
com.hp.hpl.jena.sparql.engine.QueryExecutionBase.getPlan(QueryExecutionBase.java:266)
at
com.hp.hpl.jena.sparql.engine.QueryExecutionBase.startQueryIterator(QueryExecutionBase.java:243)
at
com.hp.hpl.jena.sparql.engine.QueryExecutionBase.execResultSet(QueryExecutionBase.java:248)
at
com.hp.hpl.jena.sparql.engine.QueryExecutionBase.execSelect(QueryExecutionBase.java:94)
at com.oreilly.rdf.tenuki.SDBBugTest.testForSDBBug(SDBBugTest.java:47)