You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Andy Seaborne (JIRA)" <ji...@apache.org> on 2013/09/26 14:41:11 UTC

[jira] [Resolved] (JENA-549) Subject variables in a text:query bound earlier in the query cause exception in TDB.

     [ https://issues.apache.org/jira/browse/JENA-549?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andy Seaborne resolved JENA-549.
--------------------------------

       Resolution: Fixed
    Fix Version/s: Jena 2.11.1
    
> Subject variables in a text:query bound earlier in the query cause exception in TDB.
> ------------------------------------------------------------------------------------
>
>                 Key: JENA-549
>                 URL: https://issues.apache.org/jira/browse/JENA-549
>             Project: Apache Jena
>          Issue Type: Bug
>          Components: Spatial, Text
>    Affects Versions: Jena 2.11.0
>            Reporter: Andy Seaborne
>            Assignee: Andy Seaborne
>             Fix For: Jena 2.11.1
>
>
> Example:
> {noformat}
>    ?s :p 123 .
>    ?s text:query 'foo' 
> {noformat}
> 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.
> {noformat}
> 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)
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira