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/04/20 10:45:07 UTC

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

NullPointerException in SchemaCompiler
--------------------------------------

         Key: AXIS2-593
         URL: http://issues.apache.org/jira/browse/AXIS2-593
     Project: Apache Axis 2.0 (Axis2)
        Type: Bug

  Components: wsdl, Tools  
    Versions: 0.95    
 Environment: win xp and java 1.4.2_08
    Reporter: Ole Dalgaard
    Priority: Critical


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


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

Posted by "Ole Dalgaard (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2-593?page=comments#action_12375333 ] 

Ole Dalgaard commented on AXIS2-593:
------------------------------------

The wsdl file is made using websphere tools and works fine with axis 1.2.1 wsdl2java as well as the websphere tools.

> NullPointerException in SchemaCompiler
> --------------------------------------
>
>          Key: AXIS2-593
>          URL: http://issues.apache.org/jira/browse/AXIS2-593
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Bug

>   Components: wsdl, Tools
>     Versions: 0.95
>  Environment: win xp and java 1.4.2_08
>     Reporter: Ole Dalgaard
>     Priority: Critical

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


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

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


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

Posted by "Ajith Harshana Ranabahu (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2-593?page=comments#action_12375339 ] 

Ajith Harshana Ranabahu commented on AXIS2-593:
-----------------------------------------------

It will be very helpful if you can attach a similar WSDL so that we can recreate the issue.

> NullPointerException in SchemaCompiler
> --------------------------------------
>
>          Key: AXIS2-593
>          URL: http://issues.apache.org/jira/browse/AXIS2-593
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Bug

>   Components: wsdl, Tools
>     Versions: 0.95
>  Environment: win xp and java 1.4.2_08
>     Reporter: Ole Dalgaard
>     Priority: Critical

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


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

Posted by "Ole Dalgaard (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2-593?page=comments#action_12421806 ] 
            
Ole Dalgaard commented on AXIS2-593:
------------------------------------

I have attached the wsdl file.

Here is the stacktrace using AXIS2 1.0:

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>


> 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


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

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-593?page=all ]
     
Davanum Srinivas resolved AXIS2-593:
------------------------------------

    Resolution: Incomplete

Ajith,

Please reopen the bug if you get the wsdl to recreate the problem.

thanks,
dims

> NullPointerException in SchemaCompiler
> --------------------------------------
>
>          Key: AXIS2-593
>          URL: http://issues.apache.org/jira/browse/AXIS2-593
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Bug

>   Components: wsdl, Tools
>     Versions: 0.95
>  Environment: win xp and java 1.4.2_08
>     Reporter: Ole Dalgaard
>     Assignee: Ajith Harshana Ranabahu
>     Priority: Critical

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


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

Posted by "Deepal Jayasinghe (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-593?page=all ]

Deepal Jayasinghe reassigned AXIS2-593:
---------------------------------------

    Assign To: Ajith Harshana Ranabahu

> NullPointerException in SchemaCompiler
> --------------------------------------
>
>          Key: AXIS2-593
>          URL: http://issues.apache.org/jira/browse/AXIS2-593
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Bug

>   Components: wsdl, Tools
>     Versions: 0.95
>  Environment: win xp and java 1.4.2_08
>     Reporter: Ole Dalgaard
>     Assignee: Ajith Harshana Ranabahu
>     Priority: Critical

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