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

NPE in connectorworkitem after close

XMLWordPrintable

    • Icon: Quality Risk Quality Risk
    • Resolution: Done
    • Icon: Major Major
    • 8.12
    • 8.7
    • Query Engine
    • None

      An NPE can occur if the connectorworkitem has pending asynch more work that is cancelled, but still runs. Then the logic to call close (which is added as a completion listener and effectively executed immediately as the work will report isDone=true) can occur before the pending call to next.

      We should have an explicit check in more to prevent seeing the exception.

              rhn-engineering-shawkins Steven Hawkins
              rhn-engineering-shawkins Steven Hawkins
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: