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 "Thilina Gunarathne (JIRA)" <ji...@apache.org> on 2005/07/22 11:30:47 UTC

[jira] Created: (AXIS2-91) Code Generator Throws a null pointer Exception

Code Generator Throws a null pointer Exception
----------------------------------------------

         Key: AXIS2-91
         URL: http://issues.apache.org/jira/browse/AXIS2-91
     Project: Apache Axis 2.0 (Axis2)
        Type: Bug
  Components: wsdl  
 Environment: Tried with Both Gentoo-Linux & Windows
    Reporter: Thilina Gunarathne
 Assigned to: Chathura Herath 
    Priority: Critical


Code Generator Throws a Null pointer Exception when trying to codegen for WS-Coordination WSDL ..(http://schemas.xmlsoap.org/ws/2002/08/wscoor/wscoor.wsdl)
Tried using both Ant script and the shell script..

-- 
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-91) Code Generator Throws a null pointer Exception

Posted by "Thilina Gunarathne (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2-91?page=comments#action_12316633 ] 

Thilina Gunarathne commented on AXIS2-91:
-----------------------------------------

I tried this with the required WSDL's on my local file system. 
I found  a path resolving error as well. I tried by putting all the required WSDL's & XSD's in to the same folder. I got a path resolving error in that case. Axis 2 Codegen wanted all the importing XSD's in the projects home folder...

For example when i had wscoor.wsdl in /home/wsdl folder. I ran the WSDL2Java inside the Eclipse. My Eclipse project root was /home/work/Axis2.... To get the WSDL2Java running i had to copy my importing XSD's to the /home/work/Axis2 folder....


> Code Generator Throws a null pointer Exception
> ----------------------------------------------
>
>          Key: AXIS2-91
>          URL: http://issues.apache.org/jira/browse/AXIS2-91
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Bug
>   Components: wsdl
>  Environment: Tried with Both Gentoo-Linux & Windows
>     Reporter: Thilina Gunarathne
>     Assignee: Chathura Herath
>     Priority: Critical

>
> Code Generator Throws a Null pointer Exception when trying to codegen for WS-Coordination WSDL ..(http://schemas.xmlsoap.org/ws/2002/08/wscoor/wscoor.wsdl)
> Tried using both Ant script and the shell script..

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Resolved: (AXIS2-91) Code Generator Throws a null pointer Exception

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

    Resolution: Fixed

The fix however needs to be completely tested for a variety of WSDL files.

> Code Generator Throws a null pointer Exception
> ----------------------------------------------
>
>          Key: AXIS2-91
>          URL: http://issues.apache.org/jira/browse/AXIS2-91
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Bug
>   Components: wsdl
>  Environment: Tried with Both Gentoo-Linux & Windows
>     Reporter: Thilina Gunarathne
>     Assignee: Ajith Harshana Ranabahu
>     Priority: Critical

>
> Code Generator Throws a Null pointer Exception when trying to codegen for WS-Coordination WSDL ..(http://schemas.xmlsoap.org/ws/2002/08/wscoor/wscoor.wsdl)
> Tried using both Ant script and the shell script..

-- 
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-91) Code Generator Throws a null pointer Exception

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

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

The relative location problem and the import problem are solved. However if the imported schema has references to other schemas, those particular schemas need to have their locationa as valid URI's. (XMLBeans throws an exception if the location is not a URI!).
So unless the wscoor.xsd is modified to have the location of the utility.xsd as a valide URI, it still fails!

> Code Generator Throws a null pointer Exception
> ----------------------------------------------
>
>          Key: AXIS2-91
>          URL: http://issues.apache.org/jira/browse/AXIS2-91
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Bug
>   Components: wsdl
>  Environment: Tried with Both Gentoo-Linux & Windows
>     Reporter: Thilina Gunarathne
>     Assignee: Ajith Harshana Ranabahu
>     Priority: Critical

>
> Code Generator Throws a Null pointer Exception when trying to codegen for WS-Coordination WSDL ..(http://schemas.xmlsoap.org/ws/2002/08/wscoor/wscoor.wsdl)
> Tried using both Ant script and the shell script..

-- 
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-91) Code Generator Throws a null pointer Exception

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

Srinath Perera reassigned AXIS2-91:
-----------------------------------

    Assign To: Ajith Harshana Ranabahu  (was: Chathura Herath)

> Code Generator Throws a null pointer Exception
> ----------------------------------------------
>
>          Key: AXIS2-91
>          URL: http://issues.apache.org/jira/browse/AXIS2-91
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Bug
>   Components: wsdl
>  Environment: Tried with Both Gentoo-Linux & Windows
>     Reporter: Thilina Gunarathne
>     Assignee: Ajith Harshana Ranabahu
>     Priority: Critical

>
> Code Generator Throws a Null pointer Exception when trying to codegen for WS-Coordination WSDL ..(http://schemas.xmlsoap.org/ws/2002/08/wscoor/wscoor.wsdl)
> Tried using both Ant script and the shell script..

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