Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 41588 invoked from network); 18 Aug 2009 19:48:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 18 Aug 2009 19:48:29 -0000 Received: (qmail 93720 invoked by uid 500); 18 Aug 2009 19:48:47 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 93635 invoked by uid 500); 18 Aug 2009 19:48:47 -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 93622 invoked by uid 99); 18 Aug 2009 19:48:47 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Aug 2009 19:48:47 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Aug 2009 19:48:36 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id E8A5429A0012 for ; Tue, 18 Aug 2009 12:48:14 -0700 (PDT) Message-ID: <966587199.1250624894952.JavaMail.jira@brutus> Date: Tue, 18 Aug 2009 12:48:14 -0700 (PDT) From: "Trenton D. Adams (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Updated: (AXIS2-4107) NPE in wsdl2java In-Reply-To: <1289857070.1225278584167.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AXIS2-4107?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Trenton D. Adams updated AXIS2-4107: ------------------------------------ Attachment: InstitutionInformationAndCodesServices.wsdl Attached is the WSDL I'm having a problem with. > NPE in wsdl2java > ---------------- > > Key: AXIS2-4107 > URL: https://issues.apache.org/jira/browse/AXIS2-4107 > Project: Axis 2.0 (Axis2) > Issue Type: Bug > Components: codegen > Affects Versions: 1.4.1 > Environment: jdk1.5.0_16, Windows XP > Reporter: Kristof Vanbecelaere > Assignee: Amila Chinthaka Suriarachchi > Attachments: InstitutionInformationAndCodesServices.wsdl > > > Got an NPE when running the command-line below. > $ /cygdrive/d/tools/axis2-1.4.1/bin/wsdl2java.sh -uri http://ws.agiv.be/crabws/nodataset.asmx?WSDL -d adb -s -u --http-proxy-port ... --http-proxy-host ... > Exception in thread "main" org.apache.axis2.wsdl.codegen.CodeGenerationException: java.lang.NullPointerException > at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:271) > at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35) > at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24) > Caused by: java.lang.NullPointerException > at org.apache.axis2.wsdl.codegen.extension.JavaPrettyPrinterExtension.prettify(JavaPrettyPrinterExtension.java:50) > at org.apache.axis2.wsdl.codegen.extension.JavaPrettyPrinterExtension.prettify(JavaPrettyPrinterExtension.java:51) > at org.apache.axis2.wsdl.codegen.extension.AbstractPrettyPrinterExtension.engage(AbstractPrettyPrinterExtension.java:37) > at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:265) > ... 2 more -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.