Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 25488 invoked from network); 17 Jun 2005 03:06:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 17 Jun 2005 03:06:53 -0000 Received: (qmail 53408 invoked by uid 500); 17 Jun 2005 03:06:49 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 53205 invoked by uid 500); 17 Jun 2005 03:06:48 -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 53163 invoked by uid 99); 17 Jun 2005 03:06:48 -0000 X-ASF-Spam-Status: No, hits=0.3 required=10.0 tests=DATE_IN_PAST_24_48 X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Jun 2005 20:06:47 -0700 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id CE2A0417 for ; Wed, 15 Jun 2005 21:12:49 +0200 (CEST) Message-ID: <2083073331.1118862769843.JavaMail.jira@ajax.apache.org> Date: Wed, 15 Jun 2005 21:12:49 +0200 (CEST) From: "Richard Pellerin (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Updated: (AXIS-2057) NPE using WSDL2Java In-Reply-To: <636798601.1118862767679.JavaMail.jira@ajax.apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/AXIS-2057?page=all ] Richard Pellerin updated AXIS-2057: ----------------------------------- Attachment: OAGIS.zip STAR.zip AcknowledgePartsOrder.wsdl > NPE using WSDL2Java > ------------------- > > Key: AXIS-2057 > URL: http://issues.apache.org/jira/browse/AXIS-2057 > Project: Apache Axis > Type: Bug > Components: WSDL processing > Versions: current (nightly) > Environment: Windows XP and Windows 2000 > java full version "1.5.0-b64" > Reporter: Richard Pellerin > Attachments: AcknowledgePartsOrder.wsdl, OAGIS.zip, STAR.zip > > Hi try to generate the Java classes associated with my WSDL. > The WSDL is valid (but complex). It's using extension, restriction, ... > The WSDL comes from the STAR organisation (for the automotive industry - www.starstandards.org/). > (see attachments). > Other resources from OAGIS are also references. (see attachment) > The stack trace is: > java.lang.NullPointerException > at org.apache.axis.wsdl.toJava.JavaBeanWriter.preprocess(JavaBeanWriter. > java:308) > at org.apache.axis.wsdl.toJava.JavaBeanWriter.getImplementsText(JavaBean > Writer.java:500) > at org.apache.axis.wsdl.toJava.JavaBeanWriter.writeFileHeader(JavaBeanWr > iter.java:179) > at org.apache.axis.wsdl.toJava.JavaWriter.generate(JavaWriter.java:129) > at org.apache.axis.wsdl.toJava.JavaBeanWriter.generate(JavaBeanWriter.ja > va:1270) > at org.apache.axis.wsdl.toJava.JavaTypeWriter.generate(JavaTypeWriter.ja > va:113) > at org.apache.axis.wsdl.toJava.JavaGeneratorFactory$Writers.generate(Jav > aGeneratorFactory.java:421) > at org.apache.axis.wsdl.gen.Parser.generateTypes(Parser.java:547) > at org.apache.axis.wsdl.gen.Parser.generate(Parser.java:432) > at org.apache.axis.wsdl.gen.Parser.access$000(Parser.java:45) > at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:362) > at java.lang.Thread.run(Unknown Source) > -- 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