Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 94950 invoked from network); 27 Aug 2009 06:35:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 27 Aug 2009 06:35:32 -0000 Received: (qmail 57197 invoked by uid 500); 27 Aug 2009 06:35:31 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 57104 invoked by uid 500); 27 Aug 2009 06:35:31 -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 57095 invoked by uid 99); 27 Aug 2009 06:35:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Aug 2009 06:35:31 +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; Thu, 27 Aug 2009 06:35:19 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 86691234C1ED for ; Wed, 26 Aug 2009 23:34:59 -0700 (PDT) Message-ID: <1934856981.1251354899549.JavaMail.jira@brutus> Date: Wed, 26 Aug 2009 23:34:59 -0700 (PDT) From: "Amila Chinthaka Suriarachchi (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 ] Amila Chinthaka Suriarachchi updated AXIS2-4107: ------------------------------------------------ Attachment: codegen.patch is it possible you to test with this patch? > 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: codegen.patch, 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.