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 "Raj (JIRA)" <ji...@apache.org> on 2008/04/03 18:46:25 UTC

[jira] Created: (AXIS2-3700) WSDL2Java tool fails with NullPointerException

WSDL2Java tool fails with NullPointerException
----------------------------------------------

                 Key: AXIS2-3700
                 URL: https://issues.apache.org/jira/browse/AXIS2-3700
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: wsdl
    Affects Versions: 1.3
         Environment: Windows XP 
            Reporter: Raj
         Attachments: OrderEntryDocWSDL.wsdl

I have created a WSDL (DOC Liternal webservice) and try to generate java code based on the WSDL. The tool wsdl2java is failing with NullPointerException. I have validated the WSDL and it is valid.

I will be more than happy to send the Schemas and WSDL if needed. I am not sure how I can upload it. I appreciate your help in this regard.

Thanks
Raj


Exception in thread "main" org.apache.axis2.wsdl.codegen.CodeGenerationException: java.lang.RuntimeException: ja
        at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:265)
        at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35)
        at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24)
Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
        at org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:53)
        at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:218)
        ... 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:597)
        at org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:50)
        ... 3 more
Caused by: org.apache.axis2.schema.SchemaCompilationException: java.lang.NullPointerException
        at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:221)
        at org.apache.axis2.schema.ExtensionUtility.invoke(ExtensionUtility.java:80)
        ... 8 more
Caused by: java.lang.NullPointerException
        at org.apache.axis2.schema.SchemaCompiler.resolveParentSchema(SchemaCompiler.java:729)
        at org.apache.axis2.schema.SchemaCompiler.getType(SchemaCompiler.java:2301)
        at org.apache.axis2.schema.SchemaCompiler.processSimpleType(SchemaCompiler.java:2526)
        at org.apache.axis2.schema.SchemaCompiler.processSimpleSchemaType(SchemaCompiler.java:2475)
        at org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.java:871)
        at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:518)
        at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:478)
        at org.apache.axis2.schema.SchemaCompiler.process(SchemaCompiler.java:1899)
        at org.apache.axis2.schema.SchemaCompiler.processParticle(SchemaCompiler.java:1788)
        at org.apache.axis2.schema.SchemaCompiler.processComplexType(SchemaCompiler.java:977)
        at org.apache.axis2.schema.SchemaCompiler.processNamedComplexSchemaType(SchemaCompiler.java:914)
        at org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.java:865)
        at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:518)
        at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:489)
        at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:302)
        at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:288)
        at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:288)
        at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:212)
        ... 9 more

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Assigned: (AXIS2-3700) WSDL2Java tool fails with NullPointerException

Posted by "Deepal Jayasinghe (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-3700?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Deepal Jayasinghe reassigned AXIS2-3700:
----------------------------------------

    Assignee: Amila Chinthaka Suriarachchi

> WSDL2Java tool fails with NullPointerException
> ----------------------------------------------
>
>                 Key: AXIS2-3700
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3700
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: wsdl
>    Affects Versions: 1.3
>         Environment: Windows XP 
>            Reporter: Raj
>            Assignee: Amila Chinthaka Suriarachchi
>         Attachments: AddressSchema.xsd, BasicElements.xsd, CustomerSchema.xsd, InvoiceSchema.xsd, OrderEntryDocWSDL.wsdl, OrderSchema.xsd
>
>
> I have created a WSDL (DOC Liternal webservice) and try to generate java code based on the WSDL. The tool wsdl2java is failing with NullPointerException. I have validated the WSDL and it is valid.
> I will be more than happy to send the Schemas and WSDL if needed. I am not sure how I can upload it. I appreciate your help in this regard.
> Thanks
> Raj
> Exception in thread "main" org.apache.axis2.wsdl.codegen.CodeGenerationException: java.lang.RuntimeException: ja
>         at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:265)
>         at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35)
>         at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24)
> Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
>         at org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:53)
>         at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:218)
>         ... 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:597)
>         at org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:50)
>         ... 3 more
> Caused by: org.apache.axis2.schema.SchemaCompilationException: java.lang.NullPointerException
>         at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:221)
>         at org.apache.axis2.schema.ExtensionUtility.invoke(ExtensionUtility.java:80)
>         ... 8 more
> Caused by: java.lang.NullPointerException
>         at org.apache.axis2.schema.SchemaCompiler.resolveParentSchema(SchemaCompiler.java:729)
>         at org.apache.axis2.schema.SchemaCompiler.getType(SchemaCompiler.java:2301)
>         at org.apache.axis2.schema.SchemaCompiler.processSimpleType(SchemaCompiler.java:2526)
>         at org.apache.axis2.schema.SchemaCompiler.processSimpleSchemaType(SchemaCompiler.java:2475)
>         at org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.java:871)
>         at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:518)
>         at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:478)
>         at org.apache.axis2.schema.SchemaCompiler.process(SchemaCompiler.java:1899)
>         at org.apache.axis2.schema.SchemaCompiler.processParticle(SchemaCompiler.java:1788)
>         at org.apache.axis2.schema.SchemaCompiler.processComplexType(SchemaCompiler.java:977)
>         at org.apache.axis2.schema.SchemaCompiler.processNamedComplexSchemaType(SchemaCompiler.java:914)
>         at org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.java:865)
>         at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:518)
>         at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:489)
>         at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:302)
>         at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:288)
>         at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:288)
>         at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:212)
>         ... 9 more

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Updated: (AXIS2-3700) WSDL2Java tool fails with NullPointerException

Posted by "Raj (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-3700?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Raj updated AXIS2-3700:
-----------------------

    Attachment: InvoiceSchema.xsd

> WSDL2Java tool fails with NullPointerException
> ----------------------------------------------
>
>                 Key: AXIS2-3700
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3700
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: wsdl
>    Affects Versions: 1.3
>         Environment: Windows XP 
>            Reporter: Raj
>         Attachments: AddressSchema.xsd, BasicElements.xsd, CustomerSchema.xsd, InvoiceSchema.xsd, OrderEntryDocWSDL.wsdl, OrderSchema.xsd
>
>
> I have created a WSDL (DOC Liternal webservice) and try to generate java code based on the WSDL. The tool wsdl2java is failing with NullPointerException. I have validated the WSDL and it is valid.
> I will be more than happy to send the Schemas and WSDL if needed. I am not sure how I can upload it. I appreciate your help in this regard.
> Thanks
> Raj
> Exception in thread "main" org.apache.axis2.wsdl.codegen.CodeGenerationException: java.lang.RuntimeException: ja
>         at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:265)
>         at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35)
>         at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24)
> Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
>         at org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:53)
>         at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:218)
>         ... 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:597)
>         at org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:50)
>         ... 3 more
> Caused by: org.apache.axis2.schema.SchemaCompilationException: java.lang.NullPointerException
>         at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:221)
>         at org.apache.axis2.schema.ExtensionUtility.invoke(ExtensionUtility.java:80)
>         ... 8 more
> Caused by: java.lang.NullPointerException
>         at org.apache.axis2.schema.SchemaCompiler.resolveParentSchema(SchemaCompiler.java:729)
>         at org.apache.axis2.schema.SchemaCompiler.getType(SchemaCompiler.java:2301)
>         at org.apache.axis2.schema.SchemaCompiler.processSimpleType(SchemaCompiler.java:2526)
>         at org.apache.axis2.schema.SchemaCompiler.processSimpleSchemaType(SchemaCompiler.java:2475)
>         at org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.java:871)
>         at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:518)
>         at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:478)
>         at org.apache.axis2.schema.SchemaCompiler.process(SchemaCompiler.java:1899)
>         at org.apache.axis2.schema.SchemaCompiler.processParticle(SchemaCompiler.java:1788)
>         at org.apache.axis2.schema.SchemaCompiler.processComplexType(SchemaCompiler.java:977)
>         at org.apache.axis2.schema.SchemaCompiler.processNamedComplexSchemaType(SchemaCompiler.java:914)
>         at org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.java:865)
>         at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:518)
>         at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:489)
>         at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:302)
>         at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:288)
>         at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:288)
>         at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:212)
>         ... 9 more

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Updated: (AXIS2-3700) WSDL2Java tool fails with NullPointerException

Posted by "Raj (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-3700?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Raj updated AXIS2-3700:
-----------------------

    Attachment: OrderEntryDocWSDL.wsdl

> WSDL2Java tool fails with NullPointerException
> ----------------------------------------------
>
>                 Key: AXIS2-3700
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3700
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: wsdl
>    Affects Versions: 1.3
>         Environment: Windows XP 
>            Reporter: Raj
>         Attachments: OrderEntryDocWSDL.wsdl
>
>
> I have created a WSDL (DOC Liternal webservice) and try to generate java code based on the WSDL. The tool wsdl2java is failing with NullPointerException. I have validated the WSDL and it is valid.
> I will be more than happy to send the Schemas and WSDL if needed. I am not sure how I can upload it. I appreciate your help in this regard.
> Thanks
> Raj
> Exception in thread "main" org.apache.axis2.wsdl.codegen.CodeGenerationException: java.lang.RuntimeException: ja
>         at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:265)
>         at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35)
>         at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24)
> Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
>         at org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:53)
>         at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:218)
>         ... 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:597)
>         at org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:50)
>         ... 3 more
> Caused by: org.apache.axis2.schema.SchemaCompilationException: java.lang.NullPointerException
>         at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:221)
>         at org.apache.axis2.schema.ExtensionUtility.invoke(ExtensionUtility.java:80)
>         ... 8 more
> Caused by: java.lang.NullPointerException
>         at org.apache.axis2.schema.SchemaCompiler.resolveParentSchema(SchemaCompiler.java:729)
>         at org.apache.axis2.schema.SchemaCompiler.getType(SchemaCompiler.java:2301)
>         at org.apache.axis2.schema.SchemaCompiler.processSimpleType(SchemaCompiler.java:2526)
>         at org.apache.axis2.schema.SchemaCompiler.processSimpleSchemaType(SchemaCompiler.java:2475)
>         at org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.java:871)
>         at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:518)
>         at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:478)
>         at org.apache.axis2.schema.SchemaCompiler.process(SchemaCompiler.java:1899)
>         at org.apache.axis2.schema.SchemaCompiler.processParticle(SchemaCompiler.java:1788)
>         at org.apache.axis2.schema.SchemaCompiler.processComplexType(SchemaCompiler.java:977)
>         at org.apache.axis2.schema.SchemaCompiler.processNamedComplexSchemaType(SchemaCompiler.java:914)
>         at org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.java:865)
>         at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:518)
>         at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:489)
>         at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:302)
>         at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:288)
>         at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:288)
>         at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:212)
>         ... 9 more

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Updated: (AXIS2-3700) WSDL2Java tool fails with NullPointerException

Posted by "Raj (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-3700?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Raj updated AXIS2-3700:
-----------------------

    Attachment: OrderSchema.xsd

> WSDL2Java tool fails with NullPointerException
> ----------------------------------------------
>
>                 Key: AXIS2-3700
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3700
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: wsdl
>    Affects Versions: 1.3
>         Environment: Windows XP 
>            Reporter: Raj
>         Attachments: AddressSchema.xsd, BasicElements.xsd, CustomerSchema.xsd, InvoiceSchema.xsd, OrderEntryDocWSDL.wsdl, OrderSchema.xsd
>
>
> I have created a WSDL (DOC Liternal webservice) and try to generate java code based on the WSDL. The tool wsdl2java is failing with NullPointerException. I have validated the WSDL and it is valid.
> I will be more than happy to send the Schemas and WSDL if needed. I am not sure how I can upload it. I appreciate your help in this regard.
> Thanks
> Raj
> Exception in thread "main" org.apache.axis2.wsdl.codegen.CodeGenerationException: java.lang.RuntimeException: ja
>         at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:265)
>         at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35)
>         at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24)
> Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
>         at org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:53)
>         at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:218)
>         ... 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:597)
>         at org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:50)
>         ... 3 more
> Caused by: org.apache.axis2.schema.SchemaCompilationException: java.lang.NullPointerException
>         at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:221)
>         at org.apache.axis2.schema.ExtensionUtility.invoke(ExtensionUtility.java:80)
>         ... 8 more
> Caused by: java.lang.NullPointerException
>         at org.apache.axis2.schema.SchemaCompiler.resolveParentSchema(SchemaCompiler.java:729)
>         at org.apache.axis2.schema.SchemaCompiler.getType(SchemaCompiler.java:2301)
>         at org.apache.axis2.schema.SchemaCompiler.processSimpleType(SchemaCompiler.java:2526)
>         at org.apache.axis2.schema.SchemaCompiler.processSimpleSchemaType(SchemaCompiler.java:2475)
>         at org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.java:871)
>         at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:518)
>         at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:478)
>         at org.apache.axis2.schema.SchemaCompiler.process(SchemaCompiler.java:1899)
>         at org.apache.axis2.schema.SchemaCompiler.processParticle(SchemaCompiler.java:1788)
>         at org.apache.axis2.schema.SchemaCompiler.processComplexType(SchemaCompiler.java:977)
>         at org.apache.axis2.schema.SchemaCompiler.processNamedComplexSchemaType(SchemaCompiler.java:914)
>         at org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.java:865)
>         at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:518)
>         at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:489)
>         at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:302)
>         at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:288)
>         at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:288)
>         at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:212)
>         ... 9 more

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Updated: (AXIS2-3700) WSDL2Java tool fails with NullPointerException

Posted by "Raj (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-3700?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Raj updated AXIS2-3700:
-----------------------

    Attachment: CustomerSchema.xsd

> WSDL2Java tool fails with NullPointerException
> ----------------------------------------------
>
>                 Key: AXIS2-3700
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3700
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: wsdl
>    Affects Versions: 1.3
>         Environment: Windows XP 
>            Reporter: Raj
>         Attachments: AddressSchema.xsd, BasicElements.xsd, CustomerSchema.xsd, InvoiceSchema.xsd, OrderEntryDocWSDL.wsdl, OrderSchema.xsd
>
>
> I have created a WSDL (DOC Liternal webservice) and try to generate java code based on the WSDL. The tool wsdl2java is failing with NullPointerException. I have validated the WSDL and it is valid.
> I will be more than happy to send the Schemas and WSDL if needed. I am not sure how I can upload it. I appreciate your help in this regard.
> Thanks
> Raj
> Exception in thread "main" org.apache.axis2.wsdl.codegen.CodeGenerationException: java.lang.RuntimeException: ja
>         at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:265)
>         at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35)
>         at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24)
> Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
>         at org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:53)
>         at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:218)
>         ... 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:597)
>         at org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:50)
>         ... 3 more
> Caused by: org.apache.axis2.schema.SchemaCompilationException: java.lang.NullPointerException
>         at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:221)
>         at org.apache.axis2.schema.ExtensionUtility.invoke(ExtensionUtility.java:80)
>         ... 8 more
> Caused by: java.lang.NullPointerException
>         at org.apache.axis2.schema.SchemaCompiler.resolveParentSchema(SchemaCompiler.java:729)
>         at org.apache.axis2.schema.SchemaCompiler.getType(SchemaCompiler.java:2301)
>         at org.apache.axis2.schema.SchemaCompiler.processSimpleType(SchemaCompiler.java:2526)
>         at org.apache.axis2.schema.SchemaCompiler.processSimpleSchemaType(SchemaCompiler.java:2475)
>         at org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.java:871)
>         at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:518)
>         at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:478)
>         at org.apache.axis2.schema.SchemaCompiler.process(SchemaCompiler.java:1899)
>         at org.apache.axis2.schema.SchemaCompiler.processParticle(SchemaCompiler.java:1788)
>         at org.apache.axis2.schema.SchemaCompiler.processComplexType(SchemaCompiler.java:977)
>         at org.apache.axis2.schema.SchemaCompiler.processNamedComplexSchemaType(SchemaCompiler.java:914)
>         at org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.java:865)
>         at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:518)
>         at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:489)
>         at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:302)
>         at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:288)
>         at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:288)
>         at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:212)
>         ... 9 more

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Updated: (AXIS2-3700) WSDL2Java tool fails with NullPointerException

Posted by "Raj (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-3700?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Raj updated AXIS2-3700:
-----------------------

    Attachment: BasicElements.xsd

> WSDL2Java tool fails with NullPointerException
> ----------------------------------------------
>
>                 Key: AXIS2-3700
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3700
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: wsdl
>    Affects Versions: 1.3
>         Environment: Windows XP 
>            Reporter: Raj
>         Attachments: AddressSchema.xsd, BasicElements.xsd, CustomerSchema.xsd, InvoiceSchema.xsd, OrderEntryDocWSDL.wsdl, OrderSchema.xsd
>
>
> I have created a WSDL (DOC Liternal webservice) and try to generate java code based on the WSDL. The tool wsdl2java is failing with NullPointerException. I have validated the WSDL and it is valid.
> I will be more than happy to send the Schemas and WSDL if needed. I am not sure how I can upload it. I appreciate your help in this regard.
> Thanks
> Raj
> Exception in thread "main" org.apache.axis2.wsdl.codegen.CodeGenerationException: java.lang.RuntimeException: ja
>         at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:265)
>         at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35)
>         at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24)
> Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
>         at org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:53)
>         at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:218)
>         ... 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:597)
>         at org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:50)
>         ... 3 more
> Caused by: org.apache.axis2.schema.SchemaCompilationException: java.lang.NullPointerException
>         at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:221)
>         at org.apache.axis2.schema.ExtensionUtility.invoke(ExtensionUtility.java:80)
>         ... 8 more
> Caused by: java.lang.NullPointerException
>         at org.apache.axis2.schema.SchemaCompiler.resolveParentSchema(SchemaCompiler.java:729)
>         at org.apache.axis2.schema.SchemaCompiler.getType(SchemaCompiler.java:2301)
>         at org.apache.axis2.schema.SchemaCompiler.processSimpleType(SchemaCompiler.java:2526)
>         at org.apache.axis2.schema.SchemaCompiler.processSimpleSchemaType(SchemaCompiler.java:2475)
>         at org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.java:871)
>         at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:518)
>         at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:478)
>         at org.apache.axis2.schema.SchemaCompiler.process(SchemaCompiler.java:1899)
>         at org.apache.axis2.schema.SchemaCompiler.processParticle(SchemaCompiler.java:1788)
>         at org.apache.axis2.schema.SchemaCompiler.processComplexType(SchemaCompiler.java:977)
>         at org.apache.axis2.schema.SchemaCompiler.processNamedComplexSchemaType(SchemaCompiler.java:914)
>         at org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.java:865)
>         at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:518)
>         at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:489)
>         at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:302)
>         at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:288)
>         at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:288)
>         at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:212)
>         ... 9 more

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Updated: (AXIS2-3700) WSDL2Java tool fails with NullPointerException

Posted by "Raj (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-3700?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Raj updated AXIS2-3700:
-----------------------

    Attachment: AddressSchema.xsd

> WSDL2Java tool fails with NullPointerException
> ----------------------------------------------
>
>                 Key: AXIS2-3700
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3700
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: wsdl
>    Affects Versions: 1.3
>         Environment: Windows XP 
>            Reporter: Raj
>         Attachments: AddressSchema.xsd, BasicElements.xsd, CustomerSchema.xsd, InvoiceSchema.xsd, OrderEntryDocWSDL.wsdl, OrderSchema.xsd
>
>
> I have created a WSDL (DOC Liternal webservice) and try to generate java code based on the WSDL. The tool wsdl2java is failing with NullPointerException. I have validated the WSDL and it is valid.
> I will be more than happy to send the Schemas and WSDL if needed. I am not sure how I can upload it. I appreciate your help in this regard.
> Thanks
> Raj
> Exception in thread "main" org.apache.axis2.wsdl.codegen.CodeGenerationException: java.lang.RuntimeException: ja
>         at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:265)
>         at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35)
>         at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24)
> Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
>         at org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:53)
>         at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:218)
>         ... 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:597)
>         at org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:50)
>         ... 3 more
> Caused by: org.apache.axis2.schema.SchemaCompilationException: java.lang.NullPointerException
>         at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:221)
>         at org.apache.axis2.schema.ExtensionUtility.invoke(ExtensionUtility.java:80)
>         ... 8 more
> Caused by: java.lang.NullPointerException
>         at org.apache.axis2.schema.SchemaCompiler.resolveParentSchema(SchemaCompiler.java:729)
>         at org.apache.axis2.schema.SchemaCompiler.getType(SchemaCompiler.java:2301)
>         at org.apache.axis2.schema.SchemaCompiler.processSimpleType(SchemaCompiler.java:2526)
>         at org.apache.axis2.schema.SchemaCompiler.processSimpleSchemaType(SchemaCompiler.java:2475)
>         at org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.java:871)
>         at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:518)
>         at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:478)
>         at org.apache.axis2.schema.SchemaCompiler.process(SchemaCompiler.java:1899)
>         at org.apache.axis2.schema.SchemaCompiler.processParticle(SchemaCompiler.java:1788)
>         at org.apache.axis2.schema.SchemaCompiler.processComplexType(SchemaCompiler.java:977)
>         at org.apache.axis2.schema.SchemaCompiler.processNamedComplexSchemaType(SchemaCompiler.java:914)
>         at org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.java:865)
>         at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:518)
>         at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:489)
>         at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:302)
>         at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:288)
>         at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:288)
>         at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:212)
>         ... 9 more

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Resolved: (AXIS2-3700) WSDL2Java tool fails with NullPointerException

Posted by "Deepal Jayasinghe (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-3700?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Deepal Jayasinghe resolved AXIS2-3700.
--------------------------------------

    Resolution: Fixed

seems like issue is fixed

> WSDL2Java tool fails with NullPointerException
> ----------------------------------------------
>
>                 Key: AXIS2-3700
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3700
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: wsdl
>    Affects Versions: 1.3
>         Environment: Windows XP 
>            Reporter: Raj
>            Assignee: Amila Chinthaka Suriarachchi
>         Attachments: AddressSchema.xsd, BasicElements.xsd, CustomerSchema.xsd, InvoiceSchema.xsd, OrderEntryDocWSDL.wsdl, OrderSchema.xsd
>
>
> I have created a WSDL (DOC Liternal webservice) and try to generate java code based on the WSDL. The tool wsdl2java is failing with NullPointerException. I have validated the WSDL and it is valid.
> I will be more than happy to send the Schemas and WSDL if needed. I am not sure how I can upload it. I appreciate your help in this regard.
> Thanks
> Raj
> Exception in thread "main" org.apache.axis2.wsdl.codegen.CodeGenerationException: java.lang.RuntimeException: ja
>         at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:265)
>         at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35)
>         at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24)
> Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
>         at org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:53)
>         at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:218)
>         ... 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:597)
>         at org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:50)
>         ... 3 more
> Caused by: org.apache.axis2.schema.SchemaCompilationException: java.lang.NullPointerException
>         at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:221)
>         at org.apache.axis2.schema.ExtensionUtility.invoke(ExtensionUtility.java:80)
>         ... 8 more
> Caused by: java.lang.NullPointerException
>         at org.apache.axis2.schema.SchemaCompiler.resolveParentSchema(SchemaCompiler.java:729)
>         at org.apache.axis2.schema.SchemaCompiler.getType(SchemaCompiler.java:2301)
>         at org.apache.axis2.schema.SchemaCompiler.processSimpleType(SchemaCompiler.java:2526)
>         at org.apache.axis2.schema.SchemaCompiler.processSimpleSchemaType(SchemaCompiler.java:2475)
>         at org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.java:871)
>         at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:518)
>         at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:478)
>         at org.apache.axis2.schema.SchemaCompiler.process(SchemaCompiler.java:1899)
>         at org.apache.axis2.schema.SchemaCompiler.processParticle(SchemaCompiler.java:1788)
>         at org.apache.axis2.schema.SchemaCompiler.processComplexType(SchemaCompiler.java:977)
>         at org.apache.axis2.schema.SchemaCompiler.processNamedComplexSchemaType(SchemaCompiler.java:914)
>         at org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.java:865)
>         at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:518)
>         at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:489)
>         at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:302)
>         at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:288)
>         at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:288)
>         at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:212)
>         ... 9 more

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-3700) WSDL2Java tool fails with NullPointerException

Posted by "Raj (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-3700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12585494#action_12585494 ] 

Raj commented on AXIS2-3700:
----------------------------

Hi Deepal,

I have downloaded the latest copy (from nightly
builds) of the axis2 and the problem was resolved. 

Sorry if it caused any inconvenience.

Thanks
Rajendra

--- "Deepal Jayasinghe (JIRA)" <ji...@apache.org>

https://issues.apache.org/jira/browse/AXIS2-3700?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
org.apache.axis2.wsdl.codegen.CodeGenerationException:
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:265)
org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35)
org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24)
org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:53)
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:218)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:50)
org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:221)
org.apache.axis2.schema.ExtensionUtility.invoke(ExtensionUtility.java:80)
org.apache.axis2.schema.SchemaCompiler.resolveParentSchema(SchemaCompiler.java:729)
org.apache.axis2.schema.SchemaCompiler.getType(SchemaCompiler.java:2301)
org.apache.axis2.schema.SchemaCompiler.processSimpleType(SchemaCompiler.java:2526)
org.apache.axis2.schema.SchemaCompiler.processSimpleSchemaType(SchemaCompiler.java:2475)
org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.java:871)
org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:518)
org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:478)
org.apache.axis2.schema.SchemaCompiler.process(SchemaCompiler.java:1899)
org.apache.axis2.schema.SchemaCompiler.processParticle(SchemaCompiler.java:1788)
org.apache.axis2.schema.SchemaCompiler.processComplexType(SchemaCompiler.java:977)
org.apache.axis2.schema.SchemaCompiler.processNamedComplexSchemaType(SchemaCompiler.java:914)
org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.java:865)
org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:518)
org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:489)
org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:302)
org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:288)
org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:288)
org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:212)



      ____________________________________________________________________________________
You rock. That's why Blockbuster's offering you one month of Blockbuster Total Access, No Cost.  
http://tc.deals.yahoo.com/tc/blockbuster/text5.com


> WSDL2Java tool fails with NullPointerException
> ----------------------------------------------
>
>                 Key: AXIS2-3700
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3700
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: wsdl
>    Affects Versions: 1.3
>         Environment: Windows XP 
>            Reporter: Raj
>            Assignee: Amila Chinthaka Suriarachchi
>         Attachments: AddressSchema.xsd, BasicElements.xsd, CustomerSchema.xsd, InvoiceSchema.xsd, OrderEntryDocWSDL.wsdl, OrderSchema.xsd
>
>
> I have created a WSDL (DOC Liternal webservice) and try to generate java code based on the WSDL. The tool wsdl2java is failing with NullPointerException. I have validated the WSDL and it is valid.
> I will be more than happy to send the Schemas and WSDL if needed. I am not sure how I can upload it. I appreciate your help in this regard.
> Thanks
> Raj
> Exception in thread "main" org.apache.axis2.wsdl.codegen.CodeGenerationException: java.lang.RuntimeException: ja
>         at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:265)
>         at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35)
>         at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24)
> Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
>         at org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:53)
>         at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:218)
>         ... 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:597)
>         at org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:50)
>         ... 3 more
> Caused by: org.apache.axis2.schema.SchemaCompilationException: java.lang.NullPointerException
>         at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:221)
>         at org.apache.axis2.schema.ExtensionUtility.invoke(ExtensionUtility.java:80)
>         ... 8 more
> Caused by: java.lang.NullPointerException
>         at org.apache.axis2.schema.SchemaCompiler.resolveParentSchema(SchemaCompiler.java:729)
>         at org.apache.axis2.schema.SchemaCompiler.getType(SchemaCompiler.java:2301)
>         at org.apache.axis2.schema.SchemaCompiler.processSimpleType(SchemaCompiler.java:2526)
>         at org.apache.axis2.schema.SchemaCompiler.processSimpleSchemaType(SchemaCompiler.java:2475)
>         at org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.java:871)
>         at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:518)
>         at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:478)
>         at org.apache.axis2.schema.SchemaCompiler.process(SchemaCompiler.java:1899)
>         at org.apache.axis2.schema.SchemaCompiler.processParticle(SchemaCompiler.java:1788)
>         at org.apache.axis2.schema.SchemaCompiler.processComplexType(SchemaCompiler.java:977)
>         at org.apache.axis2.schema.SchemaCompiler.processNamedComplexSchemaType(SchemaCompiler.java:914)
>         at org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.java:865)
>         at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:518)
>         at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:489)
>         at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:302)
>         at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:288)
>         at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:288)
>         at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:212)
>         ... 9 more

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org