[teiid-issues] [JBoss JIRA] (TEIID-2041) Regression in RuleCleanCriteria

Steven Hawkins (JIRA) jira-events at lists.jboss.org
Sun May 13 23:46:17 EDT 2012


     [ https://issues.jboss.org/browse/TEIID-2041?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

        


More information about the teiid-issues mailing list