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 "Ole Dalgaard (JIRA)" <ji...@apache.org> on 2006/07/18 09:59:14 UTC

[jira] Updated: (AXIS2-593) NullPointerException in SchemaCompiler

     [ http://issues.apache.org/jira/browse/AXIS2-593?page=all ]

Ole Dalgaard updated AXIS2-593:
-------------------------------

    Attachment: IndsendSagWS.wsdl

The WSDL file

> NullPointerException in SchemaCompiler
> --------------------------------------
>
>                 Key: AXIS2-593
>                 URL: http://issues.apache.org/jira/browse/AXIS2-593
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: wsdl, Tools
>    Affects Versions: 0.95
>         Environment: win xp and java 1.4.2_08
>            Reporter: Ole Dalgaard
>         Assigned To: Ajith Harshana Ranabahu
>            Priority: Critical
>         Attachments: IndsendSagWS.wsdl
>
>
> C:\java\axis2-0.95\bin>WSDL2Java.bat -s -uri file:/projects/foo/cfg/wsdls/fooWS.wsdl -o c:\projects\foo\src-generated-client
> Using AXIS2_HOME:   C:\java\axis2-0.95
> Using JAVA_HOME:    C:\j2sdk1.4.2_08
> 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.processNamedComplexSchemaType(SchemaCompiler.java:604)
>         at org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.java:569)
>         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.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.processNamedComplexSchemaType(SchemaCompiler.java:604)
>         at org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.java:569)
>         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 am unable to attach the wsdl to this issue. I am able to mail it. 

-- 
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