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/08/04 10:25:49 UTC

[jira] Created: (AXIS2-974) NullPointerException in SchemaCompiler

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: Tools, wsdl
    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


[jira] Commented: (AXIS2-974) NullPointerException in SchemaCompiler

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2-974?page=comments#action_12426607 ] 
            
Davanum Srinivas commented on AXIS2-974:
----------------------------------------

Fixed in r429690. Please try a nightly build.

thanks,
-- dims

> 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


[jira] Resolved: (AXIS2-974) NullPointerException in SchemaCompiler

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
     [ 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