Return-Path: Delivered-To: apmail-ws-axis-c-dev-archive@www.apache.org Received: (qmail 73436 invoked from network); 18 Jul 2007 12:40:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Jul 2007 12:40:38 -0000 Received: (qmail 39221 invoked by uid 500); 18 Jul 2007 12:40:29 -0000 Delivered-To: apmail-ws-axis-c-dev-archive@ws.apache.org Received: (qmail 39052 invoked by uid 500); 18 Jul 2007 12:40:28 -0000 Mailing-List: contact axis-c-dev-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: "Apache AXIS C Developers List" Reply-To: "Apache AXIS C Developers List" Delivered-To: mailing list axis-c-dev@ws.apache.org Received: (qmail 39041 invoked by uid 99); 18 Jul 2007 12:40:28 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Jul 2007 05:40:28 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED 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; Wed, 18 Jul 2007 05:40:25 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 35F1171417D for ; Wed, 18 Jul 2007 05:40:05 -0700 (PDT) Message-ID: <819759.1184762404773.JavaMail.jira@brutus> Date: Wed, 18 Jul 2007 05:40:04 -0700 (PDT) From: "Jamie Lyon (JIRA)" To: axis-c-dev@ws.apache.org Subject: [jira] Created: (AXIS2C-643) WSDL2C does not support elements, causes java.lang.reflect.InvocationTargetException MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org WSDL2C does not support elements, causes java.lang.reflect.InvocationTargetException ------------------------------------------------------------------------------------------ Key: AXIS2C-643 URL: https://issues.apache.org/jira/browse/AXIS2C-643 Project: Axis2-C Issue Type: Bug Components: wsdl2c tool Environment: Nightly build (17th July '07), Windows XP Reporter: Jamie Lyon When there is an any element: within a type, the following exception is thrown: C:\axis2-bin\bin>wsdl2c -d adb -u -uri example.wsdl Using AXIS2_HOME: c:\axis2-bin Using JAVA_HOME: C:\Program Files\Java\jdk1.6.0_01 Exception in thread "main" org.apache.axis2.wsdl.codegen.CodeGenerationException: java.lang.RuntimeException: java.lang. reflect.InvocationTargetException at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:265) at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35) at org.apache.axis2.wsdl.WSDL2C.main(WSDL2C.java:31) Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException at org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:53) at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:218) ... 2 more Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:50) ... 3 more Caused by: org.apache.axis2.schema.SchemaCompilationException: java.lang.NullPointerException at org.apache.axis2.schema.writer.CStructWriter.write(CStructWriter.java:243) at org.apache.axis2.schema.SchemaCompiler.writeSimpleType(SchemaCompiler.java:965) at org.apache.axis2.schema.SchemaCompiler.processSimpleSchemaType(SchemaCompiler.java:2492) at org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.java:871) at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:518) at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:489) at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:302) at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:212) at org.apache.axis2.schema.ExtensionUtility.invoke(ExtensionUtility.java:80) ... 8 more Caused by: java.lang.NullPointerException at org.apache.axis2.schema.writer.CStructWriter.process(CStructWriter.java:298) at org.apache.axis2.schema.writer.CStructWriter.write(CStructWriter.java:238) ... 16 more This happens both with and without "-d adb -u". -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org For additional commands, e-mail: axis-c-dev-help@ws.apache.org