[jbosstools-issues] [JBoss JIRA] Created: (JBDS-1440) Smooks Java-To-XML FreeMarker Fails in ESB
Will Dinyes (JIRA)
jira-events at lists.jboss.org
Fri Dec 3 09:05:47 EST 2010
Smooks Java-To-XML FreeMarker Fails in ESB
------------------------------------------
Key: JBDS-1440
URL: https://jira.jboss.org/browse/JBDS-1440
Project: Developer Studio (JBoss Developer Studio)
Issue Type: Bug
Components: SOA Platform
Affects Versions: 4.0.0.Beta1
Environment: java-1.6.0-sun-devel, JBDS 4.0.0.Beta1
Reporter: Will Dinyes
I created a smooks-java-to-xml.xml (attached) config via the Smooks tooling in JBDS to translate a simple bean (.java file attached) back to XML via Apply Template with an XSD (attached).
When deploying this to SOA-P and then running a test, I get the following exception (in part, full exception stack attached):
freemarker.core.InvalidReferenceException: Expression .vars["com"] is undefined on line 3, column 21 in free-marker-template.
freemarker.core.TemplateObject.assertNonNull(TemplateObject.java:124)
freemarker.core.DynamicKeyName._getAsTemplateModel(DynamicKeyName.java:75)
freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
freemarker.core.Expression.getStringValue(Expression.java:93)
freemarker.core.DollarVariable.accept(DollarVariable.java:76)
freemarker.core.Environment.visit(Environment.java:208)
freemarker.core.MixedContent.accept(MixedContent.java:92)
freemarker.core.Environment.visit(Environment.java:208)
freemarker.core.Environment.process(Environment.java:188)
freemarker.template.Template.process(Template.java:232)
This seems to be a missing descriptor or library that isn't deployed to the server? Not sure what's causing this. Maybe Smooks Java-to-XML isn't something we can do through the tooling at this time?
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list