]
Van Halbert moved SOA-2802 to TEIID-1441:
-----------------------------------------
Project: Teiid (was: JBoss Enterprise SOA Platform)
Key: TEIID-1441 (was: SOA-2802)
Affects Version/s: 7.1.1
(was: 5.1.0.ER7)
Component/s: Query Engine
(was: EDS)
Security: (was: Public)
java.lang.NullPointerException - on queries involving lookup (temp
table cache does not have buffermanager set on it)
---------------------------------------------------------------------------------------------------------------------
Key: TEIID-1441
URL:
https://issues.jboss.org/browse/TEIID-1441
Project: Teiid
Issue Type: Bug
Components: Query Engine
Affects Versions: 7.1.1
Reporter: Warren Gibson
Assignee: Van Halbert
Priority: Blocker
The following java.lang.NullPointerException is received in ER7 when running queries
involving lookup...example query: SELECT IntKey, lookup('BQT1.MediumA',
'StringKey', 'IntKey', IntKey) AS Y FROM BQT1.MediumA ORDER BY IntKey
This seems to only happen when running the production profile. I am getting 57 query
failures on most if not all sources and the queries involve lookup.
2011-01-18 10:00:26,935 INFO [org.teiid.PROCESSOR.MATVIEWS]
(Worker2_QueryProcessorQueue8) Loading materialized view table
#CODE_BQT1.MEDIUMA.INTKEY.STRINGKEY
2011-01-18 10:00:27,154 ERROR [org.teiid.PROCESSOR] (Worker2_QueryProcessorQueue8)
Unexpected exception for request 0wHCuxdsAg78.0
java.lang.NullPointerException
at org.teiid.dqp.internal.process.CachedResults.prepare(CachedResults.java:115)
at
org.teiid.dqp.internal.process.SessionAwareCache.put(SessionAwareCache.java:166)
at
org.teiid.query.tempdata.TempTableDataManager.loadGlobalTable(TempTableDataManager.java:508)
at
org.teiid.query.tempdata.TempTableDataManager.registerQuery(TempTableDataManager.java:410)
at
org.teiid.query.tempdata.TempTableDataManager.lookupCodeValue(TempTableDataManager.java:595)
at org.teiid.query.eval.Evaluator.evaluate(Evaluator.java:962)
at org.teiid.query.eval.Evaluator.internalEvaluate(Evaluator.java:633)
at org.teiid.query.eval.Evaluator.evaluate(Evaluator.java:603)
at
org.teiid.query.processor.relational.ProjectNode.updateTuple(ProjectNode.java:218)
at
org.teiid.query.processor.relational.ProjectNode.nextBatchDirect(ProjectNode.java:181)
at
org.teiid.query.processor.relational.RelationalNode.nextBatch(RelationalNode.java:274)
at org.teiid.query.processor.BatchIterator.finalRow(BatchIterator.java:70)
at
org.teiid.common.buffer.AbstractTupleSource.getCurrentTuple(AbstractTupleSource.java:69)
at
org.teiid.query.processor.BatchIterator.getCurrentTuple(BatchIterator.java:82)
at
org.teiid.common.buffer.AbstractTupleSource.nextTuple(AbstractTupleSource.java:48)
at
org.teiid.query.processor.relational.SortUtility.initialSort(SortUtility.java:214)
at org.teiid.query.processor.relational.SortUtility.sort(SortUtility.java:168)
at org.teiid.query.processor.relational.SortNode.sortPhase(SortNode.java:96)
at
org.teiid.query.processor.relational.SortNode.nextBatchDirect(SortNode.java:85)
at
org.teiid.query.processor.relational.RelationalNode.nextBatch(RelationalNode.java:274)
at
org.teiid.query.processor.relational.RelationalPlan.nextBatch(RelationalPlan.java:107)
at
org.teiid.query.processor.QueryProcessor.nextBatchDirect(QueryProcessor.java:150)
at org.teiid.query.processor.QueryProcessor.nextBatch(QueryProcessor.java:105)
at
org.teiid.query.processor.BatchCollector.collectTuples(BatchCollector.java:115)
at
org.teiid.dqp.internal.process.RequestWorkItem.processMore(RequestWorkItem.java:250)
at
org.teiid.dqp.internal.process.RequestWorkItem.process(RequestWorkItem.java:184)
at org.teiid.dqp.internal.process.AbstractWorkItem.run(AbstractWorkItem.java:49)
at
org.teiid.dqp.internal.process.DQPWorkContext.runInContext(DQPWorkContext.java:188)
at
org.teiid.dqp.internal.process.ThreadReuseExecutor$RunnableWrapper.run(ThreadReuseExecutor.java:116)
at
org.teiid.dqp.internal.process.ThreadReuseExecutor$3.run(ThreadReuseExecutor.java:290)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:636)
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: