[
https://issues.jboss.org/browse/TEIID-2041?page=com.atlassian.jira.plugin...
]
Steven Hawkins resolved TEIID-2041.
-----------------------------------
Resolution: Done
Corrected the logic to properly add ruleraisenull when a null node is added.
Regression in RuleCleanCriteria
-------------------------------
Key: TEIID-2041
URL:
https://issues.jboss.org/browse/TEIID-2041
Project: Teiid
Issue Type: Bug
Components: Query Engine
Affects Versions: 7.7
Reporter: Steven Hawkins
Assignee: Steven Hawkins
Fix For: 7.7.1, 8.1
RuleCleanCriteria may not be adding in RuleRaiseNull when needed, which can result in
invalid nodes under an accessnode. This in turn may manifest itself as:
java.lang.ArrayIndexOutOfBoundsException: -1
at java.util.ArrayList.elementData(ArrayList.java:338)
at java.util.ArrayList.get(ArrayList.java:351)
at
org.teiid.query.optimizer.relational.rules.RuleCollapseSource.buildQuery(RuleCollapseSource.java:338)
at
org.teiid.query.optimizer.relational.rules.RuleCollapseSource.buildQuery(RuleCollapseSource.java:373)
at
org.teiid.query.optimizer.relational.rules.RuleCollapseSource.createQuery(RuleCollapseSource.java:228)
As there may not be from clause items to collapse.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira