[
http://jira.jboss.com/jira/browse/GPD-128?page=comments#action_12371763 ]
John Ruud commented on GPD-128:
-------------------------------
Koen,
I used to add a child element to a SemanticElement by passing in the element-name of the
child. Looking at this again I suspect I should just use
parentNode.getFactory().createById(), passing in the element id instead, right? (not sure
why I didn't do this in the first place)
Thanks, John
ClassCastException in
XmlAdapterFactory.getConfigurationElementByXmlElementName(String)
---------------------------------------------------------------------------------------
Key: GPD-128
URL:
http://jira.jboss.com/jira/browse/GPD-128
Project: JBoss jBPM GPD
Issue Type: Bug
Affects Versions: jBPM JPDL Designer 3.1.0.CR
Reporter: John Ruud
Assigned To: Koen Aers
I just noticed this problem in the current HEAD (so not in the official 3.1.0.CR release,
I think). In XmlAdapterFactory (1.2), a TreeSet (as opposed to a IConfigurationElement) is
now returned under certain conditions, and this causes a ClassCastException to be thrown
(and this is breaking some of my exsiting code)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira