[
https://issues.apache.org/jira/browse/JENA-27?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andy Seaborne closed JENA-27.
-----------------------------
Version SDB 1.3.4 released with this fix in.
> NullPointerException at com.hp.hpl.jena.sdb.compiler.SDB_QC.exec (PATCH)
> ------------------------------------------------------------------------
>
> Key: JENA-27
> URL: https://issues.apache.org/jira/browse/JENA-27
> Project: Jena
> Issue Type: Bug
> Components: SDB
> Environment: 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)
> Reporter: Gavin Carothers
> Assignee: Andy Seaborne
> Priority: Critical
>
> 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)
> Test Case:
> https://github.com/norcalrdf/Tenuki/blob/0.4-bugfixes/src/test/java/com/oreilly/rdf/tenuki/SDBBugTest.java
> Patch:
> https://gist.github.com/675719
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira