[
https://jira.jboss.org/jira/browse/JBIDE-5315?page=com.atlassian.jira.plu...
]
Brian Fitzpatrick updated JBIDE-5315:
-------------------------------------
This has been resolved already.
Smooks Run As... Odd exception when testing Java Mapping task
-------------------------------------------------------------
Key: JBIDE-5315
URL:
https://jira.jboss.org/jira/browse/JBIDE-5315
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: smooks
Affects Versions: 3.1.0.CR1
Reporter: Brian Fitzpatrick
Assignee: Tom Fennelly
Fix For: 3.1.0.GA
Original Estimate: 0 minutes
Remaining Estimate: 0 minutes
Testing an Input task wired to a Java Mapping task I get this... (No errors/warnings in
Problems view indicating issues exist.)
Exception in thread "main" org.milyn.SmooksException: Failed to apply
processing unit [org.milyn.javabean.ext.WireOnElementChecker] to
[org:milyn:smooks:unknowndoc:/smooks-resource-list/jb:bindings/jb:wiring].
at
org.milyn.delivery.dom.SmooksDOMFilter.processVisitorException(SmooksDOMFilter.java:818)
at org.milyn.delivery.dom.SmooksDOMFilter.access$800(SmooksDOMFilter.java:134)
at
org.milyn.delivery.dom.SmooksDOMFilter$ElementProcessor.processMapping(SmooksDOMFilter.java:762)
at
org.milyn.delivery.dom.SmooksDOMFilter$ElementProcessor.process(SmooksDOMFilter.java:704)
at
org.milyn.delivery.dom.SmooksDOMFilter$ElementProcessor.access$000(SmooksDOMFilter.java:660)
at org.milyn.delivery.dom.SmooksDOMFilter.filter(SmooksDOMFilter.java:389)
at org.milyn.delivery.dom.SmooksDOMFilter.doFilter(SmooksDOMFilter.java:245)
at org.milyn.delivery.dom.SmooksDOMFilter.doFilter(SmooksDOMFilter.java:223)
at org.milyn.Smooks._filter(Smooks.java:470)
at org.milyn.Smooks.filterSource(Smooks.java:448)
at
org.milyn.cdr.XMLConfigDigester.digestExtendedResourceConfig(XMLConfigDigester.java:479)
at
org.milyn.cdr.XMLConfigDigester.digestV11XSDValidatedConfig(XMLConfigDigester.java:264)
at
org.milyn.cdr.XMLConfigDigester.digestConfigRecursively(XMLConfigDigester.java:150)
at org.milyn.cdr.XMLConfigDigester.digestConfig(XMLConfigDigester.java:116)
at
org.milyn.cdr.SmooksResourceConfigurationStore.registerResources(SmooksResourceConfigurationStore.java:211)
at org.milyn.Smooks.addConfigurations(Smooks.java:288)
at org.milyn.Smooks.addConfigurations(Smooks.java:260)
at org.milyn.Smooks.<init>(Smooks.java:125)
at org.jboss.tools.smooks.launch.SmooksLauncher.main(SmooksLauncher.java:68)
Caused by: org.milyn.cdr.SmooksConfigurationException: The bindings attribute
'createOnElement' and wiring attribute 'wireOnElement' are both not set.
One of them must at least be set. If the result of this binding should be a new populated
Object then you need to set the 'createOnElement' bindings attribute. If you want
to update an existing object in the bean context then you must set the
'wireOnElement' attribute.
at
org.milyn.javabean.ext.WireOnElementChecker.visitBefore(WireOnElementChecker.java:38)
at
org.milyn.delivery.dom.SmooksDOMFilter$ElementProcessor.processMapping(SmooksDOMFilter.java:756)
... 16 more
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira