axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Davis (JIRA)" <j...@apache.org>
Subject [jira] Created: (AXIS2-2656) Deployment Engine throws a ClassCastException when reading operation module refs
Date Fri, 11 May 2007 18:15:15 GMT
Deployment Engine throws a ClassCastException when reading operation module refs
--------------------------------------------------------------------------------

                 Key: AXIS2-2656
                 URL: https://issues.apache.org/jira/browse/AXIS2-2656
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: deployment
    Affects Versions: 1.2
         Environment: Win 2000, jdk1.4, Tomcat 5.5.23
            Reporter: Michael Davis


org.apache.axis2.deployment.DeploymentEngine has this code:

496: ArrayList modules = opDesc.getModuleRefs();
497: for (int i = 0; i < modules.size(); i++) {
498: String moduleName = (String) modules.get(i);

But the modules list contains QNames, not Strings. This causes the ClassCastException.

The QNames are added to the list in org.apache.axis2.deployment.DescriptionBuilder near line
477:
operation.addModule(new QName(refName));


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message