Uploaded image for project: 'Teiid'
  1. Teiid
  2. TEIID-843

IndexOutOfBoundsException occurs when a running query is cancelled.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 6.2.0
    • 6.2.0
    • Query Engine
    • None

      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.

              rhn-engineering-shawkins Steven Hawkins
              van.halbert Van Halbert (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: