[
https://jira.jboss.org/jira/browse/TEIID-843?page=com.atlassian.jira.plug...
]
Steven Hawkins resolved TEIID-843.
----------------------------------
Resolution: Done
For non-prepared batched updates we were always still passing in an empty context array,
added a check for that.
IndexOutOfBoundsException occurs when a running query is cancelled.
-------------------------------------------------------------------
Key: TEIID-843
URL:
https://jira.jboss.org/jira/browse/TEIID-843
Project: Teiid
Issue Type: Bug
Components: Query Engine
Affects Versions: 6.2.0
Reporter: Van Halbert
Assignee: Steven Hawkins
Fix For: 6.2.0
Running integration test: testMultipleSourceMultipleCommandsCancel
When the query is cancelled, the following exception is seen:
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.RangeCheck(ArrayList.java:547)
at java.util.ArrayList.get(ArrayList.java:322)
at
com.metamatrix.query.processor.relational.BatchedUpdateNode.open(BatchedUpdateNode.java:95)
at
com.metamatrix.query.processor.relational.RelationalNode.open(RelationalNode.java:236)
at
com.metamatrix.query.processor.relational.RelationalPlan.open(RelationalPlan.java:101)
Just worried that if the process doesn't clean up properly, it may cause a memory
leak or have some latent effect.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira