You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jena.apache.org by "afs (via GitHub)" <gi...@apache.org> on 2025/10/02 11:31:36 UTC

[I] Bad handling of repeated variables in `VALUES`. [jena]

afs opened a new issue, #3489:
URL: https://github.com/apache/jena/issues/3489

   ### Version
   
   5.5.0 and earlier
   
   ### What happened?
   
   ```
   SELECT * WHERE {
       VALUES (?a ?a) { ( 1 2) }
   }
   ```
   
   causes
    
   ```
   Exception in thread "main" org.apache.jena.query.QueryException: Attempt to reassign '?a' from '1' to '2'
   ```
   with cause
   ```
   Caused by: java.lang.IllegalArgumentException: Attempt to reassign '?a' from '1' to '2'
   ```
   
   This is an internal consistency check failure.
   
   The query should check during parsing and use `QueryParseException` with a better error message.
   
   
   ### Relevant output and stacktrace
   
   ```shell
   
   ```
   
   ### Are you interested in making a pull request?
   
   Yes


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org
For additional commands, e-mail: issues-help@jena.apache.org


Re: [I] Bad handling of repeated variables in `VALUES` [jena]

Posted by "afs (via GitHub)" <gi...@apache.org>.
afs closed issue #3489: Bad handling of repeated variables in `VALUES`
URL: https://github.com/apache/jena/issues/3489


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org
For additional commands, e-mail: issues-help@jena.apache.org