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 "Mette Hedin (JIRA)" <ax...@ws.apache.org> on 2004/12/14 23:09:56 UTC

[jira] Created: (AXIS-1723) Running Java2WSDL on the command line causes NullPointerException

Running Java2WSDL on the command line causes NullPointerException
-----------------------------------------------------------------

         Key: AXIS-1723
         URL: http://nagoya.apache.org/jira/browse/AXIS-1723
     Project: Axis
        Type: Bug
    Versions: 1.2RC2    
 Environment: XP Professional
    Reporter: Mette Hedin


I am running Java2WSDL on the command line with the classpath:

C:/axis-1_2RC2/lib/axis.jar;C:/axis-1_2RC2/lib/log4j-1.2.8.jar;C:/axis-1_2RC2/lib/commons-logging.jar;C:/axis-1_2RC2/lib/common
s-discovery.jar;C:/axis-1_2RC2/lib/jaxrpc.jar;C:/axis-1_2RC2/lib/wsdl4j.jar;C:/a
xis-1_2RC2/lib/saaj.jar

and the arguments:

-X <single path to my classes> -l dummy-location sandbox.ws.RegistryEndPoint

I am of course not using <single path to my classes> as the path, but I have removed my actual path, which is a valid path to a particular directory that is the root location of the RegistryEndPoint class.

It is resulting in the following null pointer exception:

java.lang.NullPointerException
        at org.apache.axis.utils.ClassUtils.createClassLoader(ClassUtils.java:260)
        at org.apache.axis.wsdl.Java2WSDL.parseOption(Java2WSDL.java:487)
        at org.apache.axis.wsdl.Java2WSDL.run(Java2WSDL.java:563)
        at org.apache.axis.wsdl.Java2WSDL.main(Java2WSDL.java:629)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira