[
https://issues.jboss.org/browse/TEIID-2376?page=com.atlassian.jira.plugin...
]
Steven Hawkins resolved TEIID-2376.
-----------------------------------
Resolution: Duplicate Issue
Dup of TEIID-2358 - please provide a reproducible scenario there if possible.
NPE when executinga a query
---------------------------
Key: TEIID-2376
URL:
https://issues.jboss.org/browse/TEIID-2376
Project: Teiid
Issue Type: Bug
Affects Versions: 8.1
Reporter: Vineela Gampa
Assignee: Steven Hawkins
Message1: org.teiid.core.TeiidException org.teiid.jdbc.TeiidSQLException:
org.teiid.core.TeiidException
org.teiid.jdbc.TeiidSQLException.create(TeiidSQLException.java:113)
org.teiid.jdbc.TeiidSQLException.create(TeiidSQLException.java:70)
org.teiid.jdbc.ResultSetImpl.processBatch(ResultSetImpl.java:402)
org.teiid.jdbc.ResultSetImpl.access$000(ResultSetImpl.java:63)
org.teiid.jdbc.ResultSetImpl$1.onCompletion(ResultSetImpl.java:230)
org.teiid.client.util.ResultsFuture.done(ResultsFuture.java:130)
org.teiid.client.util.ResultsFuture.access$200(ResultsFuture.java:37)
org.teiid.client.util.ResultsFuture$1.receiveResults(ResultsFuture.java:75)
org.teiid.dqp.internal.process.RequestWorkItem.sendError(RequestWorkItem.java:808)
org.teiid.dqp.internal.process.RequestWorkItem.close(RequestWorkItem.java:483)
org.teiid.dqp.internal.process.RequestWorkItem.process(RequestWorkItem.java:318)
org.teiid.dqp.internal.process.AbstractWorkItem.run(AbstractWorkItem.java:49)
org.teiid.dqp.internal.process.RequestWorkItem.run(RequestWorkItem.java:219)
org.teiid.dqp.internal.process.DQPWorkContext.runInContext(DQPWorkContext.java:249)
org.teiid.dqp.internal.process.ThreadReuseExecutor$RunnableWrapper.run(ThreadReuseExecutor.java:123)
org.teiid.dqp.internal.process.ThreadReuseExecutor$3.run(ThreadReuseExecutor.java:298)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1121)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:614)
java.lang.Thread.run(Thread.java:779) Caused by: org.teiid.core.TeiidException
org.teiid.client.ResultsMessage.setException(ResultsMessage.java:172)
org.teiid.dqp.internal.process.RequestWorkItem.sendError(RequestWorkItem.java:806)
org.teiid.dqp.internal.process.RequestWorkItem.close(RequestWorkItem.java:483)
org.teiid.dqp.internal.process.RequestWorkItem.process(RequestWorkItem.java:318)
org.teiid.dqp.internal.process.AbstractWorkItem.run(AbstractWorkItem.java:49)
org.teiid.dqp.internal.process.RequestWorkItem.run(RequestWorkItem.java:219)
org.teiid.dqp.internal.process.DQPWorkContext.runInContext(DQPWorkContext.java:249)
org.teiid.dqp.internal.process.ThreadReuseExecutor$RunnableWrapper.run(ThreadReuseExecutor.java:123)
org.teiid.dqp.internal.process.ThreadReuseExecutor$3.run(ThreadReuseExecutor.java:298)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1121)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:614)
java.lang.Thread.run(Thread.java:779) Caused by: java.lang.NullPointerException
org.teiid.query.processor.relational.EnhancedSortMergeJoinStrategy$SingleTupleSource.get(EnhancedSortMergeJoinStrategy.java:79)
org.teiid.query.processor.relational.ListNestedSortComparator.compare(ListNestedSortComparator.java:149)
org.teiid.query.processor.relational.ListNestedSortComparator.compare(ListNestedSortComparator.java:59)
java.util.Collections.indexedBinarySearch(Collections.java:388)
java.util.Collections.binarySearch(Collections.java:376)
org.teiid.common.buffer.SPage.search(SPage.java:140)
org.teiid.common.buffer.STree.find(STree.java:245)
org.teiid.common.buffer.TupleBrowser.setPage(TupleBrowser.java:144)
org.teiid.common.buffer.TupleBrowser.nextTuple(TupleBrowser.java:203)
org.teiid.query.processor.relational.EnhancedSortMergeJoinStrategy.process(EnhancedSortMergeJoinStrategy.java:377)
org.teiid.query.processor.relational.JoinNode.nextBatchDirect(JoinNode.java:202)
org.teiid.query.processor.relational.RelationalNode.nextBatch(RelationalNode.java:279)
org.teiid.query.processor.BatchIterator.finalRow(BatchIterator.java:70)
org.teiid.common.buffer.AbstractTupleSource.getCurrentTuple(AbstractTupleSource.java:69)
org.teiid.query.processor.BatchIterator.getCurrentTuple(BatchIterator.java:82)
org.teiid.common.buffer.AbstractTupleSource.hasNext(AbstractTupleSource.java:91)
org.teiid.query.processor.relational.MergeJoinStrategy.process(MergeJoinStrategy.java:149)
org.teiid.query.processor.relational.JoinNode.nextBatchDirect(JoinNode.java:202)
org.teiid.query.processor.relational.RelationalNode.nextBatch(RelationalNode.java:279)
org.teiid.query.processor.relational.ProjectNode.nextBatchDirect(ProjectNode.java:146)
org.teiid.query.processor.relational.RelationalNode.nextBatch(RelationalNode.java:279)
org.teiid.query.processor.relational.UnionAllNode.nextBatchDirect(UnionAllNode.java:90)
org.teiid.query.processor.relational.RelationalNode.nextBatch(RelationalNode.java:279)
org.teiid.query.processor.BatchIterator.finalRow(BatchIterator.java:70)
org.teiid.common.buffer.AbstractTupleSource.getCurrentTuple(AbstractTupleSource.java:69)
org.teiid.query.processor.BatchIterator.getCurrentTuple(BatchIterator.java:82)
org.teiid.common.buffer.AbstractTupleSource.nextTuple(AbstractTupleSource.java:48)
org.teiid.query.processor.relational.SortUtility.initialSort(SortUtility.java:247)
org.teiid.query.processor.relational.SortUtility.sort(SortUtility.java:184)
org.teiid.query.processor.relational.SourceState.sort(SourceState.java:211)
org.teiid.query.processor.relational.MergeJoinStrategy.loadRight(MergeJoinStrategy.java:345)
org.teiid.query.processor.relational.JoinNode.nextBatchDirect(JoinNode.java:198)
org.teiid.query.processor.relational.RelationalNode.nextBatch(RelationalNode.java:279)
org.teiid.query.processor.relational.ProjectNode.nextBatchDirect(ProjectNode.java:146)
org.teiid.query.processor.relational.RelationalNode.nextBatch(RelationalNode.java:279)
org.teiid.query.processor.relational.UnionAllNode.nextBatchDirect(UnionAllNode.java:90)
org.teiid.query.processor.relational.RelationalNode.nextBatch(RelationalNode.java:279)
org.teiid.query.processor.BatchCollector$BatchProducerTupleSource.nextTuple(BatchCollector.java:89)
org.teiid.query.processor.relational.GroupingNode.groupPhase(GroupingNode.java:374)
org.teiid.query.processor.relational.GroupingNode.nextBatchDirect(GroupingNode.java:318)
org.teiid.query.processor.relational.RelationalNode.nextBatch(RelationalNode.java:279)
org.teiid.query.processor.relational.ProjectNode.nextBatchDirect(ProjectNode.java:146)
org.teiid.query.processor.relational.RelationalNode.nextBatch(RelationalNode.java:279)
org.teiid.query.processor.BatchCollector.collectTuples(BatchCollector.java:153)
org.teiid.query.processor.relational.SourceState.getTupleBuffer(SourceState.java:174)
org.teiid.query.processor.relational.EnhancedSortMergeJoinStrategy.loadLeft(EnhancedSortMergeJoinStrategy.java:229)
org.teiid.query.processor.relational.JoinNode.nextBatchDirect(JoinNode.java:186)
org.teiid.query.processor.relational.RelationalNode.nextBatch(RelationalNode.java:279)
org.teiid.query.processor.BatchIterator.finalRow(BatchIterator.java:70)
org.teiid.common.buffer.AbstractTupleSource.getCurrentTuple(AbstractTupleSource.java:69)
org.teiid.query.processor.BatchIterator.getCurrentTuple(BatchIterator.java:82)
org.teiid.common.buffer.AbstractTupleSource.hasNext(AbstractTupleSource.java:91)
org.teiid.query.processor.relational.MergeJoinStrategy.process(MergeJoinStrategy.java:149)
org.teiid.query.processor.relational.JoinNode.nextBatchDirect(JoinNode.java:202)
org.teiid.query.processor.relational.RelationalNode.nextBatch(RelationalNode.java:279)
org.teiid.query.processor.relational.ProjectNode.nextBatchDirect(ProjectNode.java:146)
org.teiid.query.processor.relational.RelationalNode.nextBatch(RelationalNode.java:279)
org.teiid.query.processor.relational.RelationalPlan.nextBatch(RelationalPlan.java:148)
org.teiid.query.processor.QueryProcessor.nextBatchDirect(QueryProcessor.java:146)
org.teiid.query.processor.QueryProcessor.nextBatch(QueryProcessor.java:112)
org.teiid.query.processor.BatchCollector.collectTuples(BatchCollector.java:153)
org.teiid.dqp.internal.process.RequestWorkItem.processMore(RequestWorkItem.java:382)
org.teiid.dqp.internal.process.RequestWorkItem.process(RequestWorkItem.java:291)
org.teiid.dqp.internal.process.AbstractWorkItem.run(AbstractWorkItem.java:49)
org.teiid.dqp.internal.process.RequestWorkItem.run(RequestWorkItem.java:219)
org.teiid.dqp.internal.process.DQPWorkContext.runInContext(DQPWorkContext.java:249)
org.teiid.dqp.internal.process.ThreadReuseExecutor$RunnableWrapper.run(ThreadReuseExecutor.java:123)
org.teiid.dqp.internal.process.ThreadReuseExecutor$3.run(ThreadReuseExecutor.java:298)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1121)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:614)
java.lang.Thread.run(Thread.java:779)
org.teiid.core.TeiidException org.teiid.jdbc.TeiidSQLException:
org.teiid.core.TeiidException
org.teiid.jdbc.TeiidSQLException.create(TeiidSQLException.java:...
Version:
3.0.1-SNAPSHOT [Production (Build 3490); 2013/02/04 15:00; vm9444]
--
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