Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 32899 invoked from network); 19 Jan 2007 01:26:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Jan 2007 01:26:57 -0000 Received: (qmail 20362 invoked by uid 500); 19 Jan 2007 01:26:57 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 20318 invoked by uid 500); 19 Jan 2007 01:26:57 -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 20301 invoked by uid 99); 19 Jan 2007 01:26:57 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Jan 2007 17:26:57 -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; Thu, 18 Jan 2007 17:26:50 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 6A1607142BF for ; Thu, 18 Jan 2007 17:26:30 -0800 (PST) Message-ID: <28714231.1169169990431.JavaMail.jira@brutus> Date: Thu, 18 Jan 2007 17:26:30 -0800 (PST) From: "Dan Chisarick (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Commented: (AXIS-1755) Extending an enumeration causes NPE in WSDL2Java In-Reply-To: <1081235188.1105365552939.JavaMail.jira@ajax.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AXIS-1755?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12465932 ] Dan Chisarick commented on AXIS-1755: ------------------------------------- Seems I ran into the same issue using Axis 1.3 final (Oct 5, 2005) and Axis 1.4 final (April 22, 2006). It took a while just to figure out what the problem was, and I've spent some time trying to make a fix but have so far been unsuccessful. I've attached a minimal WSDL file that demonstrates the problem. Here's what I type to kick off WSDL processing. set AXIS_PATH=./lib/log4j-1.2.8.jar;./lib/commons-logging-1.0.4.jar;./lib/commons-discovery-0.2.jar;/lib;./lib/activation.jar;./lib/wsdl4j-1.5.1.jar;./lib/axis.jar;./lib/axis-ant.jar;./lib/jaxrpc.jar;./lib/saaj.jar java -cp %AXIS_PATH% org.apache.axis.wsdl.WSDL2Java -o C:\temp\AxisOut -D -v -d "Application" -O 999999 c:/temp/DummyII.wsdl Last, there are a few comments in the WSDL to reproduce the problem a second way. It may be somewhat helpful in identifying the scope of the problem, but maybe not. > Extending an enumeration causes NPE in WSDL2Java > ------------------------------------------------ > > Key: AXIS-1755 > URL: https://issues.apache.org/jira/browse/AXIS-1755 > Project: Apache Axis > Issue Type: Bug > Components: WSDL processing > Affects Versions: 1.2RC2 > Environment: Windows XP > IBM JDK 1.3.1 > Axis 1.2.RC2 > Reporter: Benny Kristensen > Attachments: DummyII.wsdl > > > When you 'extend' a enumeration type in xsd, WSDL2Java crashes with a NullPointerException (or in some cases with a DuplicateFileException) > example: > > ........... > > > > > > > > > > > > > > ..... -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://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