Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 88324 invoked from network); 8 Aug 2006 15:52:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 8 Aug 2006 15:52:00 -0000 Received: (qmail 5899 invoked by uid 500); 8 Aug 2006 15:51:58 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 5834 invoked by uid 500); 8 Aug 2006 15:51:58 -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 5819 invoked by uid 99); 8 Aug 2006 15:51:58 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Aug 2006 08:51:58 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Aug 2006 08:51:57 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 7C01041000C for ; Tue, 8 Aug 2006 15:49:14 +0000 (GMT) Message-ID: <6650806.1155052154495.JavaMail.jira@brutus> Date: Tue, 8 Aug 2006 08:49:14 -0700 (PDT) From: "Davanum Srinivas (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Resolved: (AXIS2-974) NullPointerException in SchemaCompiler In-Reply-To: <24909489.1154679949717.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/AXIS2-974?page=all ] Davanum Srinivas resolved AXIS2-974. ------------------------------------ Resolution: Fixed marking as fixed. > NullPointerException in SchemaCompiler > -------------------------------------- > > Key: AXIS2-974 > URL: http://issues.apache.org/jira/browse/AXIS2-974 > Project: Apache Axis 2.0 (Axis2) > Issue Type: Bug > Components: wsdl, Tools > Affects Versions: 1.0 > Environment: java 1.5.0_04 on winXP > Reporter: Ole Dalgaard > Priority: Critical > Attachments: IndsendSagWS.wsdl > > > The wsdl file is made using websphere tools and works fine with axis 1.2.1 wsdl2java as well as the websphere tools. > C:\java\axis2-1.0\bin>WSDL2Java.bat -uri http://192.168.104.15/mm/IndsendSagWS/services/IndsendSagWS/wsdl/IndsendSagWS.wsdl > Using AXIS2_HOME: C:\java\axis2-1.0 > Using JAVA_HOME: C:\jdk1.5.0_04 > Exception in thread "main" org.apache.axis2.wsdl.codegen.CodeGenerationException: java.lang.RuntimeException: org.apache.axis2.schema.SchemaCompilationException: java.lang.NullPointerException > at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:185) > at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32) > at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21) > Caused by: java.lang.RuntimeException: org.apache.axis2.schema.SchemaCompilationException: java.lang.NullPointerException > at org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:117) > at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:140) > ... 2 more > Caused by: org.apache.axis2.schema.SchemaCompilationException: java.lang.NullPointerException > at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:186) > at org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:70) > ... 3 more > Caused by: java.lang.NullPointerException > at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:360) > at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:344) > at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:410) > at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:334) > at org.apache.axis2.schema.SchemaCompiler.process(SchemaCompiler.java:915) > at org.apache.axis2.schema.SchemaCompiler.processParticle(SchemaCompiler.java:878) > at org.apache.axis2.schema.SchemaCompiler.processComplexType(SchemaCompiler.java:643) > at org.apache.axis2.schema.SchemaCompiler.processNamedComplexSchemaType(SchemaCompiler.java:616) > at org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.java:577) > at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:366) > at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:344) > at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:410) > at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:334) > at org.apache.axis2.schema.SchemaCompiler.process(SchemaCompiler.java:915) > at org.apache.axis2.schema.SchemaCompiler.processParticle(SchemaCompiler.java:878) > at org.apache.axis2.schema.SchemaCompiler.processComplexType(SchemaCompiler.java:643) > at org.apache.axis2.schema.SchemaCompiler.processNamedComplexSchemaType(SchemaCompiler.java:616) > at org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.java:577) > at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:366) > at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:344) > at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:226) > at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:181) > ... 4 more > C:\java\axis2-1.0\bin> -- 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