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

Andy Seaborne updated JENA-549:
-------------------------------

    Component/s:     (was: TDB)
                 Spatial
    
> 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
>
> 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

Reply via email to