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

Vineela Gampa (JIRA) jira-events at lists.jboss.org
Thu Jan 3 14:08:08 EST 2013


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

Vineela Gampa edited comment on TEIID-2331 at 1/3/13 2:07 PM:
--------------------------------------------------------------

Steve we are running into NPE in requestWorkItem.

org.teiid.dqp.internal.process.RequestWorkItem.sendResultsIfNeeded(TupleBatch) - line 753  receiver.receiveResults(response);
receiver is null due to which we are hitting NPE.

As per teiid 8.1 branch it seems to be line 734. http://anonsvn.jboss.org/repos/teiid/branches/8.1.x/engine/src/main/java/org/teiid/dqp/internal/process/

One mroe thing that i observed is batch should contain only 3 rows but there were 4 rows with its last thing as null.

[[3, Always Green Policy, 3, 0, demo_policy_metadata.demo_policy], [3, Always Red Policy, 1, 0, demo_policy_metadata.demo_policy], [3, Always Yellow Policy, 2, 0, demo_policy_metadata.demo_policy], [null, null, null, null, null]]


                
      was (Author: gamvi01):
    Steve we are running into NPE in requestWorkItem.

org.teiid.dqp.internal.process.RequestWorkItem.sendResultsIfNeeded(TupleBatch) - line 753  receiver.receiveResults(response);
receiver is null due to which we are hitting NPE.

One mroe thing that i observed is batch should contain only 3 rows but there were 4 rows with its last thing as null.

[[3, Always Green Policy, 3, 0, demo_policy_metadata.demo_policy], [3, Always Red Policy, 1, 0, demo_policy_metadata.demo_policy], [3, Always Yellow Policy, 2, 0, demo_policy_metadata.demo_policy], [null, null, null, null, null]]


                  
> 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