You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Sergey E. Koposov (JIRA)" <ji...@apache.org> on 2006/04/30 06:17:43 UTC
[jira] Created: (AXIS2-642) wsdl2java,
org.apache.axis2.schema.SchemaCompilationException:
java.lang.NullPointerException
wsdl2java, org.apache.axis2.schema.SchemaCompilationException: java.lang.NullPointerException
---------------------------------------------------------------------------------------------
Key: AXIS2-642
URL: http://issues.apache.org/jira/browse/AXIS2-642
Project: Apache Axis 2.0 (Axis2)
Type: Bug
Components: wsdl
Versions: 0.95
Environment: java -version
java version "1.5.0_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode, sharing)
Linux , 2.6.14, i686
Reporter: Sergey E. Koposov
The WSDL2java does not work (it worked for axis 1.2)
I'm getting the set of exceptions when I try to do WSDL2java of the WSDL from here ( http://www.ivoa.net/xml/SNI/SkyNode-v1.0.wsdl )
java org.apache.axis2.wsdl.WSDL2Java -uri file:///tmp/test/SkyNode-v1.0.wsdl
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:146)
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:162)
at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:101)
... 2 more
Caused by: org.apache.axis2.schema.SchemaCompilationException: java.lang.NullPointerException
at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:184)
at org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:115)
... 3 more
Caused by: java.lang.NullPointerException
at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:354)
at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:338)
at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:403)
at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:328)
at org.apache.axis2.schema.SchemaCompiler.process(SchemaCompiler.java:899)
at org.apache.axis2.schema.SchemaCompiler.processParticle(SchemaCompiler.java:862)
at org.apache.axis2.schema.SchemaCompiler.processComplexType(SchemaCompiler.java:631)
at org.apache.axis2.schema.SchemaCompiler.processAnonymousComplexSchemaType(SchemaCompiler.java:586)
at org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.java:571)
at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:360)
at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:338)
at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:220)
at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:179)
... 4 more
I also tried with the latest SVN checkout, and the result was the same.
--
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
[jira] Commented: (AXIS2-642) wsdl2java,
org.apache.axis2.schema.SchemaCompilationException:
java.lang.NullPointerException
Posted by "Sergey E. Koposov (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/AXIS2-642?page=comments#action_12377164 ]
Sergey E. Koposov commented on AXIS2-642:
-----------------------------------------
I suspected that something was a bit wrong with the wsdl ( it didn't work with axis 1.3), and that's why I decided to try axis2. But in any case, throwing the NullPointerException in the case of incorrect WSDL just mean a bug in axis2 ...
> wsdl2java, org.apache.axis2.schema.SchemaCompilationException: java.lang.NullPointerException
> ---------------------------------------------------------------------------------------------
>
> Key: AXIS2-642
> URL: http://issues.apache.org/jira/browse/AXIS2-642
> Project: Apache Axis 2.0 (Axis2)
> Type: Bug
> Components: wsdl
> Versions: 0.95
> Environment: java -version
> java version "1.5.0_06"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
> Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode, sharing)
> Linux , 2.6.14, i686
> Reporter: Sergey E. Koposov
>
> The WSDL2java does not work (it worked for axis 1.2)
> I'm getting the set of exceptions when I try to do WSDL2java of the WSDL from here ( http://www.ivoa.net/xml/SNI/SkyNode-v1.0.wsdl )
> java org.apache.axis2.wsdl.WSDL2Java -uri file:///tmp/test/SkyNode-v1.0.wsdl
> 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:146)
> 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:162)
> at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:101)
> ... 2 more
> Caused by: org.apache.axis2.schema.SchemaCompilationException: java.lang.NullPointerException
> at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:184)
> at org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:115)
> ... 3 more
> Caused by: java.lang.NullPointerException
> at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:354)
> at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:338)
> at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:403)
> at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:328)
> at org.apache.axis2.schema.SchemaCompiler.process(SchemaCompiler.java:899)
> at org.apache.axis2.schema.SchemaCompiler.processParticle(SchemaCompiler.java:862)
> at org.apache.axis2.schema.SchemaCompiler.processComplexType(SchemaCompiler.java:631)
> at org.apache.axis2.schema.SchemaCompiler.processAnonymousComplexSchemaType(SchemaCompiler.java:586)
> at org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.java:571)
> at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:360)
> at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:338)
> at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:220)
> at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:179)
> ... 4 more
> I also tried with the latest SVN checkout, and the result was the same.
--
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
[jira] Resolved: (AXIS2-642) wsdl2java,
org.apache.axis2.schema.SchemaCompilationException:
java.lang.NullPointerException
Posted by "Ajith Harshana Ranabahu (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/AXIS2-642?page=all ]
Ajith Harshana Ranabahu resolved AXIS2-642:
-------------------------------------------
Resolution: Fixed
Added proper error message to the schema compiler to spit out when the schema elements are not properly referenced
> wsdl2java, org.apache.axis2.schema.SchemaCompilationException: java.lang.NullPointerException
> ---------------------------------------------------------------------------------------------
>
> Key: AXIS2-642
> URL: http://issues.apache.org/jira/browse/AXIS2-642
> Project: Apache Axis 2.0 (Axis2)
> Type: Bug
> Components: wsdl
> Versions: 0.95
> Environment: java -version
> java version "1.5.0_06"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
> Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode, sharing)
> Linux , 2.6.14, i686
> Reporter: Sergey E. Koposov
> Assignee: Ajith Harshana Ranabahu
>
> The WSDL2java does not work (it worked for axis 1.2)
> I'm getting the set of exceptions when I try to do WSDL2java of the WSDL from here ( http://www.ivoa.net/xml/SNI/SkyNode-v1.0.wsdl )
> java org.apache.axis2.wsdl.WSDL2Java -uri file:///tmp/test/SkyNode-v1.0.wsdl
> 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:146)
> 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:162)
> at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:101)
> ... 2 more
> Caused by: org.apache.axis2.schema.SchemaCompilationException: java.lang.NullPointerException
> at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:184)
> at org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:115)
> ... 3 more
> Caused by: java.lang.NullPointerException
> at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:354)
> at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:338)
> at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:403)
> at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:328)
> at org.apache.axis2.schema.SchemaCompiler.process(SchemaCompiler.java:899)
> at org.apache.axis2.schema.SchemaCompiler.processParticle(SchemaCompiler.java:862)
> at org.apache.axis2.schema.SchemaCompiler.processComplexType(SchemaCompiler.java:631)
> at org.apache.axis2.schema.SchemaCompiler.processAnonymousComplexSchemaType(SchemaCompiler.java:586)
> at org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.java:571)
> at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:360)
> at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:338)
> at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:220)
> at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:179)
> ... 4 more
> I also tried with the latest SVN checkout, and the result was the same.
--
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
[jira] Commented: (AXIS2-642) wsdl2java,
org.apache.axis2.schema.SchemaCompilationException:
java.lang.NullPointerException
Posted by "Sanjiva Weerawarana (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/AXIS2-642?page=comments#action_12377336 ]
Sanjiva Weerawarana commented on AXIS2-642:
-------------------------------------------
If its possible to put a quick/simple test to avoid the NPE let's do it .. if not I'm +1 for making it post 1.0.
> wsdl2java, org.apache.axis2.schema.SchemaCompilationException: java.lang.NullPointerException
> ---------------------------------------------------------------------------------------------
>
> Key: AXIS2-642
> URL: http://issues.apache.org/jira/browse/AXIS2-642
> Project: Apache Axis 2.0 (Axis2)
> Type: Bug
> Components: wsdl
> Versions: 0.95
> Environment: java -version
> java version "1.5.0_06"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
> Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode, sharing)
> Linux , 2.6.14, i686
> Reporter: Sergey E. Koposov
>
> The WSDL2java does not work (it worked for axis 1.2)
> I'm getting the set of exceptions when I try to do WSDL2java of the WSDL from here ( http://www.ivoa.net/xml/SNI/SkyNode-v1.0.wsdl )
> java org.apache.axis2.wsdl.WSDL2Java -uri file:///tmp/test/SkyNode-v1.0.wsdl
> 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:146)
> 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:162)
> at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:101)
> ... 2 more
> Caused by: org.apache.axis2.schema.SchemaCompilationException: java.lang.NullPointerException
> at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:184)
> at org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:115)
> ... 3 more
> Caused by: java.lang.NullPointerException
> at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:354)
> at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:338)
> at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:403)
> at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:328)
> at org.apache.axis2.schema.SchemaCompiler.process(SchemaCompiler.java:899)
> at org.apache.axis2.schema.SchemaCompiler.processParticle(SchemaCompiler.java:862)
> at org.apache.axis2.schema.SchemaCompiler.processComplexType(SchemaCompiler.java:631)
> at org.apache.axis2.schema.SchemaCompiler.processAnonymousComplexSchemaType(SchemaCompiler.java:586)
> at org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.java:571)
> at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:360)
> at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:338)
> at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:220)
> at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:179)
> ... 4 more
> I also tried with the latest SVN checkout, and the result was the same.
--
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
[jira] Commented: (AXIS2-642) wsdl2java,
org.apache.axis2.schema.SchemaCompilationException:
java.lang.NullPointerException
Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/AXIS2-642?page=comments#action_12377141 ]
Davanum Srinivas commented on AXIS2-642:
----------------------------------------
There are problems in your wsdl. see output from .NET's wsdl.exe. XMLSpy shows the same problem as well. Please download some tools (even XMLSpy has a 30 trial AFAIK) and validate your wsdl. Axis 1.2 works does not imply the wsdl is correct :)
C:\AXIS-642>wsdl http://www.ivoa.net/xml/SNI/SkyNode-v1.0.wsdl
Microsoft (R) Web Services Description Language Utility
[Microsoftr .NET Framework, Version 2.0.50630.0]
Copyright (c) Microsoft Corporation. All rights reserved.
Error: Unable to import binding 'SkyNodeSoap' from namespace 'SkyNode.ivoa.net'.
- Unable to import operation 'PerformQuery'.
- The element 'http://www.ivoa.net/xml/ADQL/v1.0:Select' is missing.
If you would like more help, please type "wsdl /?".
> wsdl2java, org.apache.axis2.schema.SchemaCompilationException: java.lang.NullPointerException
> ---------------------------------------------------------------------------------------------
>
> Key: AXIS2-642
> URL: http://issues.apache.org/jira/browse/AXIS2-642
> Project: Apache Axis 2.0 (Axis2)
> Type: Bug
> Components: wsdl
> Versions: 0.95
> Environment: java -version
> java version "1.5.0_06"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
> Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode, sharing)
> Linux , 2.6.14, i686
> Reporter: Sergey E. Koposov
>
> The WSDL2java does not work (it worked for axis 1.2)
> I'm getting the set of exceptions when I try to do WSDL2java of the WSDL from here ( http://www.ivoa.net/xml/SNI/SkyNode-v1.0.wsdl )
> java org.apache.axis2.wsdl.WSDL2Java -uri file:///tmp/test/SkyNode-v1.0.wsdl
> 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:146)
> 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:162)
> at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:101)
> ... 2 more
> Caused by: org.apache.axis2.schema.SchemaCompilationException: java.lang.NullPointerException
> at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:184)
> at org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:115)
> ... 3 more
> Caused by: java.lang.NullPointerException
> at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:354)
> at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:338)
> at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:403)
> at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:328)
> at org.apache.axis2.schema.SchemaCompiler.process(SchemaCompiler.java:899)
> at org.apache.axis2.schema.SchemaCompiler.processParticle(SchemaCompiler.java:862)
> at org.apache.axis2.schema.SchemaCompiler.processComplexType(SchemaCompiler.java:631)
> at org.apache.axis2.schema.SchemaCompiler.processAnonymousComplexSchemaType(SchemaCompiler.java:586)
> at org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.java:571)
> at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:360)
> at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:338)
> at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:220)
> at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:179)
> ... 4 more
> I also tried with the latest SVN checkout, and the result was the same.
--
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
[jira] Commented: (AXIS2-642) wsdl2java,
org.apache.axis2.schema.SchemaCompilationException:
java.lang.NullPointerException
Posted by "Ajith Harshana Ranabahu (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/AXIS2-642?page=comments#action_12377332 ]
Ajith Harshana Ranabahu commented on AXIS2-642:
-----------------------------------------------
Should we take on this as a post 1.0 requirement ?
> wsdl2java, org.apache.axis2.schema.SchemaCompilationException: java.lang.NullPointerException
> ---------------------------------------------------------------------------------------------
>
> Key: AXIS2-642
> URL: http://issues.apache.org/jira/browse/AXIS2-642
> Project: Apache Axis 2.0 (Axis2)
> Type: Bug
> Components: wsdl
> Versions: 0.95
> Environment: java -version
> java version "1.5.0_06"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
> Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode, sharing)
> Linux , 2.6.14, i686
> Reporter: Sergey E. Koposov
>
> The WSDL2java does not work (it worked for axis 1.2)
> I'm getting the set of exceptions when I try to do WSDL2java of the WSDL from here ( http://www.ivoa.net/xml/SNI/SkyNode-v1.0.wsdl )
> java org.apache.axis2.wsdl.WSDL2Java -uri file:///tmp/test/SkyNode-v1.0.wsdl
> 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:146)
> 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:162)
> at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:101)
> ... 2 more
> Caused by: org.apache.axis2.schema.SchemaCompilationException: java.lang.NullPointerException
> at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:184)
> at org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:115)
> ... 3 more
> Caused by: java.lang.NullPointerException
> at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:354)
> at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:338)
> at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:403)
> at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:328)
> at org.apache.axis2.schema.SchemaCompiler.process(SchemaCompiler.java:899)
> at org.apache.axis2.schema.SchemaCompiler.processParticle(SchemaCompiler.java:862)
> at org.apache.axis2.schema.SchemaCompiler.processComplexType(SchemaCompiler.java:631)
> at org.apache.axis2.schema.SchemaCompiler.processAnonymousComplexSchemaType(SchemaCompiler.java:586)
> at org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.java:571)
> at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:360)
> at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:338)
> at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:220)
> at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:179)
> ... 4 more
> I also tried with the latest SVN checkout, and the result was the same.
--
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
[jira] Assigned: (AXIS2-642) wsdl2java,
org.apache.axis2.schema.SchemaCompilationException:
java.lang.NullPointerException
Posted by "Deepal Jayasinghe (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/AXIS2-642?page=all ]
Deepal Jayasinghe reassigned AXIS2-642:
---------------------------------------
Assign To: Ajith Harshana Ranabahu
> wsdl2java, org.apache.axis2.schema.SchemaCompilationException: java.lang.NullPointerException
> ---------------------------------------------------------------------------------------------
>
> Key: AXIS2-642
> URL: http://issues.apache.org/jira/browse/AXIS2-642
> Project: Apache Axis 2.0 (Axis2)
> Type: Bug
> Components: wsdl
> Versions: 0.95
> Environment: java -version
> java version "1.5.0_06"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
> Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode, sharing)
> Linux , 2.6.14, i686
> Reporter: Sergey E. Koposov
> Assignee: Ajith Harshana Ranabahu
>
> The WSDL2java does not work (it worked for axis 1.2)
> I'm getting the set of exceptions when I try to do WSDL2java of the WSDL from here ( http://www.ivoa.net/xml/SNI/SkyNode-v1.0.wsdl )
> java org.apache.axis2.wsdl.WSDL2Java -uri file:///tmp/test/SkyNode-v1.0.wsdl
> 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:146)
> 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:162)
> at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:101)
> ... 2 more
> Caused by: org.apache.axis2.schema.SchemaCompilationException: java.lang.NullPointerException
> at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:184)
> at org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:115)
> ... 3 more
> Caused by: java.lang.NullPointerException
> at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:354)
> at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:338)
> at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:403)
> at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:328)
> at org.apache.axis2.schema.SchemaCompiler.process(SchemaCompiler.java:899)
> at org.apache.axis2.schema.SchemaCompiler.processParticle(SchemaCompiler.java:862)
> at org.apache.axis2.schema.SchemaCompiler.processComplexType(SchemaCompiler.java:631)
> at org.apache.axis2.schema.SchemaCompiler.processAnonymousComplexSchemaType(SchemaCompiler.java:586)
> at org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.java:571)
> at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:360)
> at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:338)
> at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:220)
> at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:179)
> ... 4 more
> I also tried with the latest SVN checkout, and the result was the same.
--
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