[jboss-jira] [JBoss JIRA] Commented: (GPD-128) ClassCastException in XmlAdapterFactory.getConfigurationElementByXmlElementName(String)

Koen Aers (JIRA) jira-events at lists.jboss.org
Sat Aug 11 05:15:01 EDT 2007


    [ http://jira.jboss.com/jira/browse/GPD-128?page=comments#action_12371789 ] 
            
Koen Aers commented on GPD-128:
-------------------------------

Yes that is correct. 

Don't worry, I regularly make similar mistakes ;-)

Cheers,
Koen

> 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

        



More information about the jboss-jira mailing list