You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Being the generated name: SmooksVisitor_-194858501_3, its returned hash value is sometimes negative (others not), throwing the following exception:
org.milyn.cdr.SmooksConfigurationException: Error constructing class from Groovy script
This seems to be related with the environment running over Linux.
The code causing the problem is: private synchronized String createClassName() { StringBuilder className = new StringBuilder();
className.append("SmooksVisitor_"); // This line gives random positive or negative values. At least over Linux. className.append(System.identityHashCode(this)); className.append("_"); className.append(classGenCount++);
return className.toString(); }
The text was updated successfully, but these errors were encountered:
Reported Class name: GroovyContentHandlerFactory.java
The failure scenario is as follows:
Being the generated name:
SmooksVisitor_-194858501_3
, its returned hash value is sometimes negative (others not), throwing the following exception:org.milyn.cdr.SmooksConfigurationException: Error constructing class from Groovy script
This seems to be related with the environment running over Linux.
The code causing the problem is:
private synchronized String createClassName() {
StringBuilder className = new StringBuilder();
className.append("SmooksVisitor_");
// This line gives random positive or negative values. At least over Linux.
className.append(System.identityHashCode(this));
className.append("_");
className.append(classGenCount++);
return className.toString();
}
The text was updated successfully, but these errors were encountered: