[teiid-issues] [JBoss JIRA] (TEIID-3612) NPE in connectorworkitem after close
Steven Hawkins (JIRA)
issues at jboss.org
Thu Aug 6 14:34:01 EDT 2015
Steven Hawkins created TEIID-3612:
-------------------------------------
Summary: NPE in connectorworkitem after close
Key: TEIID-3612
URL: https://issues.jboss.org/browse/TEIID-3612
Project: Teiid
Issue Type: Quality Risk
Components: Query Engine
Affects Versions: 8.7
Reporter: Steven Hawkins
Assignee: Steven Hawkins
Fix For: 8.12
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.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
More information about the teiid-issues
mailing list