Smooks PropertyChecker can't find generated class
-------------------------------------------------
Key: JBESB-3666
URL:
https://issues.jboss.org/browse/JBESB-3666
Project: JBoss ESB
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Transformation Service
Affects Versions: 4.10 CP1
Reporter: Tom Cunningham
Assignee: Tom Fennelly
Fix For: 4.10 CP1
Seeing a regression from SOA-P 5.1.0.GA (or ESB 4.9) (and the previous version of Smooks
used in JBoss ESB) - when trying out the test case from SOA-3205, PropertySetter is unable
to find the generated bean class the first time I run the example, but any subsequent time
I try to run it, it works.
private Class<?> getBeanClass(Element bindingElement) {
String beanClassName = getBeanTypeName(bindingElement);
Class<?> beanClass;
try {
----> beanClass = ClassUtil.forName(beanClassName, getClass());
} catch (ClassNotFoundException e) {
throw new SmooksConfigurationException("Bean class '" +
beanClassName + "' not avilable on classpath.");
}
return beanClass;
}
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira