axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arnaud MERGEY (JIRA)" <axis-...@ws.apache.org>
Subject [jira] Created: (AXIS-2601) ClassCast Exception
Date Wed, 20 Dec 2006 15:42:21 GMT
ClassCast Exception 
--------------------

                 Key: AXIS-2601
                 URL: http://issues.apache.org/jira/browse/AXIS-2601
             Project: Apache Axis
          Issue Type: Bug
          Components: WSDL processing
    Affects Versions: 1.4
            Reporter: Arnaud MERGEY
            Priority: Critical


when I call org.apache.axis.wsdl.gen.Parser.run with url, I have a 
Caused by: java.lang.ClassCastException java.util.ArrayList
	at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:724)
	at org.apache.axis.wsdl.symbolTable.SymbolTable.add(SymbolTable.java:543)
	at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:518)
	at org.apache.axis.wsdl.gen.Parser.run(Parser.java:399)

checking the source code I can see this Vector v = (Vector) imports.get(importKeys[i]);

so I think imports.get return an ArrayList instead of Vector, I think you should replace Vector
by List

I can't attach my wsdl because there are lots of import.

thanks for help

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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