You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2013/09/26 14:37:03 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=13778717#comment-13778717 ]
ASF subversion and git services commented on JENA-549:
------------------------------------------------------
Commit 1526459 from [~andy.seaborne] in branch 'jena/trunk'
[ https://svn.apache.org/r1526459 ]
JENA-549 : Ground subject and object PropFuncArg before use.
Add checking code to QueryIterExtendByVar
> 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