[
http://jira.jboss.com/jira/browse/GPD-130?page=comments#action_12371371 ]
Koen Aers commented on GPD-130:
-------------------------------
Hm, I think the roblem is that I am using new Object[configInfoElements.size()] as the
parameter for toArray. This should be new ConfigInfoElement[configInfoElements.size()]
I will change the paramter and commit. It would be great if you could test if it works
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