Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 58767 invoked from network); 20 Dec 2006 15:42:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Dec 2006 15:42:46 -0000 Received: (qmail 33453 invoked by uid 500); 20 Dec 2006 15:42:49 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 33400 invoked by uid 500); 20 Dec 2006 15:42:49 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 33389 invoked by uid 99); 20 Dec 2006 15:42:49 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Dec 2006 07:42:49 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Dec 2006 07:42:41 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 0B80E714058 for ; Wed, 20 Dec 2006 07:42:21 -0800 (PST) Message-ID: <10166539.1166629341025.JavaMail.jira@brutus> Date: Wed, 20 Dec 2006 07:42:21 -0800 (PST) From: "Arnaud MERGEY (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Created: (AXIS-2601) ClassCast Exception MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org 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