You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Arnaud MERGEY (JIRA)" <ax...@ws.apache.org> on 2007/10/16 10:28:51 UTC

[jira] Commented: (AXIS-2601) ClassCast Exception

    [ https://issues.apache.org/jira/browse/AXIS-2601?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12535193 ] 

Arnaud MERGEY commented on AXIS-2601:
-------------------------------------

Hi, any comment on this issue ? 
It would be fine to fix it for the next Axis release, the fix is very simple (see my previous comment)

thanks

> ClassCast Exception
> -------------------
>
>                 Key: AXIS-2601
>                 URL: https://issues.apache.org/jira/browse/AXIS-2601
>             Project: 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.
-
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