[
https://issues.jboss.org/browse/TEIID-5085?page=com.atlassian.jira.plugin...
]
Steven Hawkins resolved TEIID-5085.
-----------------------------------
Fix Version/s: 9.3.4
Resolution: Done
This is actually due to an issue with the grouping node logic that does not save the state
of whether the grouping phase is done reading.
NullPointerException after SortUtility blocks in initialSort
------------------------------------------------------------
Key: TEIID-5085
URL:
https://issues.jboss.org/browse/TEIID-5085
Project: Teiid
Issue Type: Bug
Components: Query Engine
Reporter: Steven Hawkins
Assignee: Steven Hawkins
Fix For: 10.0, 9.3.4
If SortUtility blocks during the initial sort, an npe is later thrown as can be seen in
TestJDBCSocketTransport.testXmlTableScrollable
java.lang.NullPointerException
at
org.teiid.query.processor.relational.MergeJoinStrategy.compareToPrevious(MergeJoinStrategy.java:277)
at
org.teiid.query.processor.relational.MergeJoinStrategy.process(MergeJoinStrategy.java:235)
at org.teiid.query.processor.relational.JoinNode.nextBatchDirect(JoinNode.java:231)
at
org.teiid.query.processor.relational.RelationalNode.nextBatch(RelationalNode.java:277)
at org.teiid.query.processor.relational.LimitNode.nextBatchDirect(LimitNode.java:98)
at
org.teiid.query.processor.relational.RelationalNode.nextBatch(RelationalNode.java:277)
at
org.teiid.query.processor.relational.ProjectNode.nextBatchDirect(ProjectNode.java:146)
at
org.teiid.query.processor.relational.RelationalNode.nextBatch(RelationalNode.java:277)
at
org.teiid.query.processor.BatchCollector$BatchProducerTupleSource.nextTuple(BatchCollector.java:90)
at org.teiid.query.processor.relational.GroupingNode.groupPhase(GroupingNode.java:577)
at
org.teiid.query.processor.relational.GroupingNode.nextBatchDirect(GroupingNode.java:373)
at
org.teiid.query.processor.relational.RelationalNode.nextBatch(RelationalNode.java:277)
at
org.teiid.query.processor.relational.ProjectNode.nextBatchDirect(ProjectNode.java:146)
at
org.teiid.query.processor.relational.RelationalNode.nextBatch(RelationalNode.java:277)
at
org.teiid.query.processor.relational.RelationalPlan.nextBatch(RelationalPlan.java:141)
at org.teiid.query.processor.QueryProcessor.nextBatchDirect(QueryProcessor.java:148)
at org.teiid.query.processor.QueryProcessor.nextBatch(QueryProcessor.java:111)
at org.teiid.query.processor.BatchCollector.collectTuples(BatchCollector.java:160)
at org.teiid.query.processor.BatchCollector.collectTuples(BatchCollector.java:142)
at
org.teiid.query.processor.relational.SubqueryAwareEvaluator.evaluateSubquery(SubqueryAwareEvaluator.java:354)
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)