[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 24 11:59:47 EST 2013


     [ https://issues.jboss.org/browse/TEIID-2331?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steven Hawkins resolved TEIID-2331.
-----------------------------------

    Fix Version/s: 8.3
       Resolution: Done


It's correct that the client is not expecting results - otherwise a ResultsReceiver would be available.

The fix just refines the current checks to make it clear to exit if there is no receiver and to explicitly not consult the buffering logic in the continuous case.  This will need to be refined later if we do want to offer remote continuous or just want to allow useCallingThread = false such that results buffering is needed. 
                
> 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
>             Fix For: 8.3
>
>
> 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