[jboss-jira] [JBoss JIRA] Commented: (GPD-130) Class Cast exception in ConfigInfoElement.getConfigInfoElements()

Koen Aers (JIRA) jira-events at lists.jboss.org
Tue Aug 7 15:22:49 EDT 2007


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

Oh, in case you didn't remark it yet, I refactored the ConfigInfoElement class. It is called GenericElement now

> Class Cast exception in ConfigInfoElement.getConfigInfoElements() 
> ------------------------------------------------------------------
>
>                 Key: GPD-130
>                 URL: http://jira.jboss.com/jira/browse/GPD-130
>             Project: JBoss jBPM GPD
>          Issue Type: Bug
>          Components: jpdl
>    Affects Versions: jBPM JPDL Designer 3.1.0.beta2
>            Reporter: Imran Naqvi
>         Assigned To: Koen Aers
>             Fix For: jBPM JPDL Designer 3.1.0.CR
>
>
> ConfigInfoElement.getConfigInfoElements() always throws a class cast exception. The method is trying to cast from an object[] to a ConfigInfoElement[]. Instead we should cast each object in the array individually and copy it to the resultant array. 

-- 
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