-
Bug
-
Resolution: Done
-
Major
-
7.4
-
None
-
None
NullPointerException in TempMetadataID
java.lang.NullPointerException
at java.util.LinkedHashMap.get(LinkedHashMap.java:337)
at org.teiid.query.metadata.TempMetadataID.getProperty(TempMetadataID.java:304)
at org.teiid.query.metadata.TempMetadataAdapter.getFromMetadataCache(TempMetadataAdapter.java:690)
at org.teiid.query.resolver.util.ResolverUtil.getGroupInfo(ResolverUtil.java:468)
at org.teiid.query.resolver.util.ResolverUtil.resolveElementsInGroup(ResolverUtil.java:461)
at org.teiid.query.optimizer.relational.rules.NewCalculateCostUtil.getOutputCols(NewCalculateCostUtil.java:567)
at org.teiid.query.optimizer.relational.rules.NewCalculateCostUtil.createColStats(NewCalculateCostUtil.java:515)
at org.teiid.query.optimizer.relational.rules.NewCalculateCostUtil.estimateSourceNodeCost(NewCalculateCostUtil.java:503)
at org.teiid.query.optimizer.relational.rules.NewCalculateCostUtil.computeNodeCost(NewCalculateCostUtil.java:153)
at org.teiid.query.optimizer.relational.rules.NewCalculateCostUtil.updateCardinality(NewCalculateCostUtil.java:135)
at org.teiid.query.optimizer.relational.rules.NewCalculateCostUtil.updateCardinality(NewCalculateCostUtil.java:132)
at org.teiid.query.optimizer.relational.rules.NewCalculateCostUtil.computeCostForTree(NewCalculateCostUtil.java:121)
at org.teiid.query.optimizer.relational.rules.JoinRegion.initializeCostingInformation(JoinRegion.java:399)
at org.teiid.query.optimizer.relational.rules.RulePlanJoins.execute(RulePlanJoins.java:161)
at org.teiid.query.optimizer.relational.RelationalPlanner.executeRules(RelationalPlanner.java:457)
at org.teiid.query.optimizer.relational.RelationalPlanner.optimize(RelationalPlanner.java:199)
at org.teiid.query.optimizer.QueryOptimizer.optimizePlan(QueryOptimizer.java:188)
at org.teiid.dqp.internal.process.Request.generatePlan(Request.java:434)
at org.teiid.dqp.internal.process.PreparedStatementRequest.generatePlan(PreparedStatementRequest.java:157)
at org.teiid.dqp.internal.process.Request.processRequest(Request.java:454)
at org.teiid.dqp.internal.process.RequestWorkItem.processNew(RequestWorkItem.java:532)
at org.teiid.dqp.internal.process.RequestWorkItem.process(RequestWorkItem.java:280)