Barry LaFond created TEIIDDES-2103:
--------------------------------------
Summary: NPE validating transformation
Key: TEIIDDES-2103
URL:
https://issues.jboss.org/browse/TEIIDDES-2103
Project: Teiid Designer
Issue Type: Bug
Components: Transformations
Affects Versions: 8.5
Reporter: Barry LaFond
Assignee: Paul Richardson
Fix For: 8.5
Think this one was obvious... the "result" value is actually not returned.
{code:title=org.teiid.runtime.client.Constant}
@Override
public int hashCode() {
final int prime = 31;
int result = super.hashCode();
if(this.value != null && !isMultiValued()) {
if (this.value instanceof BigDecimal) {
BigDecimal bd = (BigDecimal)this.value;
int xsign = bd.signum();
if (xsign == 0)
return 0;
bd = bd.stripTrailingZeros();
result = prime * result + bd.hashCode();
}
result = prime * result + this.value.hashCode();
}
return this.value.hashCode();
}
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira