[teiid-issues] [JBoss JIRA] (TEIID-2331) TEIID30019 Unexpected exception for request kfhsdoaNXYfM.1: java.lang.NullPointerException

Steven Hawkins (JIRA) jira-events at lists.jboss.org
Thu Jan 3 14:29:08 EST 2013


    [ https://issues.jboss.org/browse/TEIID-2331?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12743427#comment-12743427 ] 

Steven Hawkins commented on TEIID-2331:
---------------------------------------

An NPE should not be possible on line 734.  The block is synchronized and we test if the receiver is null (line 659) before proceeding with the result logic. 

The all null row is a construct added (in TEIID-2257, which must have been somewhat ported to your version) for the continuous logic to delineate when a result iteration is ending.

It would probably be best to have this reproduced on a non-patched version.
                
> TEIID30019 Unexpected exception for request kfhsdoaNXYfM.1: java.lang.NullPointerException
> ------------------------------------------------------------------------------------------
>
>                 Key: TEIID-2331
>                 URL: https://issues.jboss.org/browse/TEIID-2331
>             Project: Teiid
>          Issue Type: Bug
>          Components: Query Engine
>    Affects Versions: 8.1
>         Environment: Windows 7
>            Reporter: Sabina Norderhaug
>            Assignee: Steven Hawkins
>            Priority: Minor
>
> We are getting this exception during continious execution. Looks like client cancelling the execution
> 16:13:16,171 ERROR [org.teiid.PROCESSOR] (Worker6_QueryProcessorQueue902) TEIID30019 Unexpected exception for request kfhsdoaNXYfM.1: java.lang.NullPointerException
> 	at org.teiid.dqp.internal.process.RequestWorkItem.sendResultsIfNeeded(RequestWorkItem.java:753)
> 	at org.teiid.dqp.internal.process.RequestWorkItem$1.flushBatchDirect(RequestWorkItem.java:557)
> 	at org.teiid.query.processor.BatchCollector.flushBatch(BatchCollector.java:191)
> 	at org.teiid.query.processor.BatchCollector.collectTuples(BatchCollector.java:166)
> 	at org.teiid.dqp.internal.process.RequestWorkItem.processMore(RequestWorkItem.java:382)
> 	at org.teiid.dqp.internal.process.RequestWorkItem.process(RequestWorkItem.java:291)
> 	at org.teiid.dqp.internal.process.AbstractWorkItem.run(AbstractWorkItem.java:49)
> 	at org.teiid.dqp.internal.process.RequestWorkItem.run(RequestWorkItem.java:219)
> 	at org.teiid.dqp.internal.process.DQPWorkContext.runInContext(DQPWorkContext.java:249)
> 	at org.teiid.dqp.internal.process.ThreadReuseExecutor$RunnableWrapper.run(ThreadReuseExecutor.java:123)
> 	at org.teiid.dqp.internal.process.ThreadReuseExecutor$3.run(ThreadReuseExecutor.java:298)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.7.0_03]
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0_03]
> 	at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_03]

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the teiid-issues mailing list