[
https://issues.jboss.org/browse/TEIIDDES-1411?page=com.atlassian.jira.plu...
]
RH Bugzilla Integration commented on TEIIDDES-1411:
---------------------------------------------------
Hisanobu Okuda <hokuda(a)redhat.com> made a comment on [bug
830072|https://bugzilla.redhat.com/show_bug.cgi?id=830072]
Description of problem:
CASE clause within transformations causes SQL validation failure and an NPE.
Version-Release number of selected component (if applicable):
JBoss Developer Studio 4.1.2.GA
Teiid Designer 7.4.2
How reproducible:
Steps to Reproduce:
1. unzip CaseTest.zip into $workspace
2. run JBDS 4.1.2
3. import CaseTest project
4. you can see an NPE in $workspace/.metadata/.log
Actual results:
<snippet from .log>
!ENTRY org.teiid.designer.transformation 4 0 2012-06-08 15:36:05.443
!MESSAGE Error encountered while validating the transformation.
!STACK 0
java.lang.NullPointerException
at org.teiid.query.resolver.util.ResolverUtil.getConversion(ResolverUtil.java:280)
at org.teiid.query.resolver.util.ResolverUtil.convertExpression(ResolverUtil.java:225)
at
org.teiid.query.resolver.util.ResolverVisitor.resolveCompareCriteria(ResolverVisitor.java:664)
at org.teiid.query.resolver.util.ResolverVisitor.visit(ResolverVisitor.java:303)
at org.teiid.query.sql.lang.CompareCriteria.acceptVisitor(CompareCriteria.java:123)
at
org.teiid.query.sql.navigator.AbstractNavigator.visitVisitor(AbstractNavigator.java:52)
at
org.teiid.query.sql.navigator.PreOrPostOrderNavigator.postVisitVisitor(PreOrPostOrderNavigator.java:140)
Expected results:
Additional info:
Using CASE statements within transformations cause an NPE
---------------------------------------------------------
Key: TEIIDDES-1411
URL:
https://issues.jboss.org/browse/TEIIDDES-1411
Project: Teiid Designer
Issue Type: Bug
Components: Transformations
Affects Versions: 7.4.2
Environment: Teiid Designer Version: 7.4.2 bundled in JBoss Developer Studio
4.1.2.GA
Reporter: Hisanobu Okuda
Attachments: CaseTest.zip
CASE clause within transformations causes SQL validation failure and an NPE.
--
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