Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Jena 2.11.0
-
None
Description
Example:
?s :p 123 . ?s text:query 'foo'
and text:query matches something, then an internal inconsistency is detected by TDB. This error happens more generally - TDB happens to have additional checking code and the order of creation of concrete terms is different for TDB vs in-memory execution.
Exception in thread "main" com.hp.hpl.jena.sparql.ARQInternalErrorException: Attempt to reassign '?item' from '<http://www.riograndegames.com/games.html?id=181>' to '<http://www.riograndegames.com/games.html?id=181>' at com.hp.hpl.jena.sparql.engine.binding.BindingHashMap.checkAdd(BindingHashMap.java:111) at com.hp.hpl.jena.sparql.engine.binding.BindingHashMap.add(BindingHashMap.java:92) at com.hp.hpl.jena.sparql.engine.binding.BindingFactory.materialize(BindingFactory.java:60) at com.hp.hpl.jena.tdb.solver.QueryEngineTDB$QueryIteratorMaterializeBinding.moveToNextBinding(QueryEngineTDB.java:139)