[
https://issues.jboss.org/browse/TEIID-2049?page=com.atlassian.jira.plugin...
]
Ramesh Reddy resolved TEIID-2049.
---------------------------------
Resolution: Done
Added the GlobalTempTable object so that the NPE is avoided. Can not think of the original
reason for the move, tested with domain mode using the materialized table.
NPE during select call on a materialized table
----------------------------------------------
Key: TEIID-2049
URL:
https://issues.jboss.org/browse/TEIID-2049
Project: Teiid
Issue Type: Bug
Components: Server
Affects Versions: 8.0
Reporter: Ramesh Reddy
Assignee: Ramesh Reddy
Fix For: 8.1
This is a regression because of the TEIID-1981.
{code}
17:44:22,307 ERROR [org.teiid.PROCESSOR] (Worker4_QueryProcessorQueue19) TEIID30019
Unexpected exception for request qruejSyXY+pR.0: java.lang.NullPointerException
at
org.teiid.query.optimizer.relational.RelationalPlanner.resolveVirtualGroup(RelationalPlanner.java:1233)
[teiid-engine-8.0.0.Final.jar:8.0.0.Final]
at
org.teiid.query.optimizer.relational.RelationalPlanner.buildTree(RelationalPlanner.java:836)
[teiid-engine-8.0.0.Final.jar:8.0.0.Final]
at
org.teiid.query.optimizer.relational.RelationalPlanner.createQueryPlan(RelationalPlanner.java:737)
[teiid-engine-8.0.0.Final.jar:8.0.0.Final]
at
org.teiid.query.optimizer.relational.RelationalPlanner.createQueryPlan(RelationalPlanner.java:696)
[teiid-engine-8.0.0.Final.jar:8.0.0.Final]
at
org.teiid.query.optimizer.relational.RelationalPlanner.generatePlan(RelationalPlanner.java:490)
[teiid-engine-8.0.0.Final.jar:8.0.0.Final]
at
org.teiid.query.optimizer.relational.RelationalPlanner.optimize(RelationalPlanner.java:180)
[teiid-engine-8.0.0.Final.jar:8.0.0.Final]
at org.teiid.query.optimizer.QueryOptimizer.optimizePlan(QueryOptimizer.java:188)
[teiid-engine-8.0.0.Final.jar:8.0.0.Final]
at org.teiid.dqp.internal.process.Request.generatePlan(Request.java:429)
[teiid-engine-8.0.0.Final.jar:8.0.0.Final]
at org.teiid.dqp.internal.process.Request.processRequest(Request.java:449)
[teiid-engine-8.0.0.Final.jar:8.0.0.Final]
at
org.teiid.dqp.internal.process.RequestWorkItem.processNew(RequestWorkItem.java:534)
[teiid-engine-8.0.0.Final.jar:8.0.0.Final]
at org.teiid.dqp.internal.process.RequestWorkItem.process(RequestWorkItem.java:278)
[teiid-engine-8.0.0.Final.jar:8.0.0.Final]
at org.teiid.dqp.internal.process.AbstractWorkItem.run(AbstractWorkItem.java:49)
[teiid-engine-8.0.0.Final.jar:8.0.0.Final]
at org.teiid.dqp.internal.process.RequestWorkItem.run(RequestWorkItem.java:217)
[teiid-engine-8.0.0.Final.jar:8.0.0.Final]
at
org.teiid.dqp.internal.process.DQPWorkContext.runInContext(DQPWorkContext.java:241)
[teiid-engine-8.0.0.Final.jar:8.0.0.Final]
at
org.teiid.dqp.internal.process.ThreadReuseExecutor$RunnableWrapper.run(ThreadReuseExecutor.java:118)
[teiid-engine-8.0.0.Final.jar:8.0.0.Final]
at
org.teiid.dqp.internal.process.ThreadReuseExecutor$3.run(ThreadReuseExecutor.java:288)
[teiid-engine-8.0.0.Final.jar:8.0.0.Final]
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
[rt.jar:1.6.0_05]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
[rt.jar:1.6.0_05]
at java.lang.Thread.run(Thread.java:619) [rt.jar:1.6.0_05]
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira