Return-Path: X-Original-To: apmail-axis-java-dev-archive@www.apache.org Delivered-To: apmail-axis-java-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3EC92765C for ; Thu, 1 Dec 2011 02:56:06 +0000 (UTC) Received: (qmail 27219 invoked by uid 500); 1 Dec 2011 02:56:05 -0000 Delivered-To: apmail-axis-java-dev-archive@axis.apache.org Received: (qmail 27117 invoked by uid 500); 1 Dec 2011 02:56:05 -0000 Mailing-List: contact java-dev-help@axis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@axis.apache.org Delivered-To: mailing list java-dev@axis.apache.org Received: (qmail 27109 invoked by uid 99); 1 Dec 2011 02:56:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Dec 2011 02:56:04 +0000 X-ASF-Spam-Status: No, hits=-2001.2 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Dec 2011 02:56:01 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 30E44AABC0 for ; Thu, 1 Dec 2011 02:55:40 +0000 (UTC) Date: Thu, 1 Dec 2011 02:55:40 +0000 (UTC) From: "Sagara Gunathunga (Commented) (JIRA)" To: java-dev@axis.apache.org Message-ID: <61198830.29445.1322708140201.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1542137142.12986.1322276079939.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (AXIS2-5198) org.apache.axis2.wsdl.codegen.CodeGenerationException: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException 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-5198?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13160605#comment-13160605 ] Sagara Gunathunga commented on AXIS2-5198: ------------------------------------------- Please verify your WSDL is valid, if so attach your WSDL to reproduce this error. > org.apache.axis2.wsdl.codegen.CodeGenerationException: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException > ------------------------------------------------------------------------------------------------------------------------------ > > Key: AXIS2-5198 > URL: https://issues.apache.org/jira/browse/AXIS2-5198 > Project: Axis2 > Issue Type: Bug > Components: wsdl > Reporter: Aditya > Labels: newbie > Fix For: 1.4 > > > log4j:WARN No appenders could be found for logger (org.apache.axis2.i18n.ProjectResourceBundle). > log4j:WARN Please initialize the log4j system properly. > org.apache.axis2.wsdl.codegen.CodeGenerationException: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException > 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: java.lang.reflect.InvocationTargetException > at org.apache.axis2.wsdl.codegen.extension.XMLBeansExtension.engage(XMLBeansExtension.java:93) > at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:140) > ... 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:324) > at org.apache.axis2.wsdl.codegen.extension.XMLBeansExtension.engage(XMLBeansExtension.java:83) > ... 3 more > Caused by: java.lang.RuntimeException: org.apache.xmlbeans.XmlException: error: Use of undefined namespace prefix: s > at org.apache.axis2.xmlbeans.CodeGenerationUtility.processSchemas(CodeGenerationUtility.java:192) > ... 8 more > Caused by: org.apache.xmlbeans.XmlException: error: Use of undefined namespace prefix: s > at org.apache.xmlbeans.impl.store.Locale$SaxLoader.load(Locale.java:3455) > at org.apache.xmlbeans.impl.store.Locale.parse(Locale.java:706) > at org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:690) > at org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:677) > at org.apache.xmlbeans.impl.schema.SchemaTypeLoaderBase.parse(SchemaTypeLoaderBase.java:208) > at org.apache.xmlbeans.XmlObject$Factory.parse(XmlObject.java:632) > at org.apache.axis2.xmlbeans.CodeGenerationUtility.processSchemas(CodeGenerationUtility.java:136) > ... 8 more > Exception in thread "main" > Java Result: 1 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org For additional commands, e-mail: java-dev-help@axis.apache.org