NullPointerException during WindowFunction node processing in EDS

Solution Verified - Updated -

Environment

  • Red Hat JBoss Data Services (EDS) 5.3.1

Issue

  • Receiving below error testing WindowFunction in EDS
java.lang.NullPointerException
        at org.teiid.query.processor.relational.WindowFunctionProjectNode.nextBatchDirect(WindowFunctionProjectNode.java:278)
        at org.teiid.query.processor.relational.RelationalNode.nextBatch(RelationalNode.java:280)
        at org.teiid.query.processor.relational.ProjectNode.nextBatchDirect(ProjectNode.java:155)
        at org.teiid.query.processor.relational.RelationalNode.nextBatch(RelationalNode.java:280)
        at org.teiid.query.processor.relational.LimitNode.nextBatchDirect(LimitNode.java:100)
        at org.teiid.query.processor.relational.RelationalNode.nextBatch(RelationalNode.java:280)
        at org.teiid.query.processor.relational.RelationalPlan.nextBatch(RelationalPlan.java:149)
        at org.teiid.query.processor.QueryProcessor.nextBatchDirect(QueryProcessor.java:139)
        at org.teiid.query.processor.QueryProcessor.nextBatch(QueryProcessor.java:105)
        at org.teiid.query.processor.BatchCollector.collectTuples(BatchCollector.java:147)
        at org.teiid.dqp.internal.process.RequestWorkItem.processMore(RequestWorkItem.java:377)
        at org.teiid.dqp.internal.process.RequestWorkItem.process(RequestWorkItem.java:290)
        at org.teiid.dqp.internal.process.AbstractWorkItem.run(AbstractWorkItem.java:49)
        at org.teiid.dqp.internal.process.RequestWorkItem.run(RequestWorkItem.java:218)
        at org.teiid.dqp.internal.process.DQPWorkContext.runInContext(DQPWorkContext.java:244)
        at org.teiid.dqp.internal.process.ThreadReuseExecutor$RunnableWrapper.run(ThreadReuseExecutor.java:122)
        at org.teiid.dqp.internal.process.ThreadReuseExecutor$3.run(ThreadReuseExecutor.java:292)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:662)

Resolution

This issue is resolved in the next EDS Patch, Roll up patch EDS_5.3.1_4.

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.