[jbossws-issues] [JBoss JIRA] Created: (JBWS-1380) NPE in java2wsdl with no package for SEI

Thomas Diesler (JIRA) jira-events at jboss.com
Thu Nov 16 04:08:42 EST 2006


NPE in java2wsdl with no package for SEI 
-----------------------------------------

                 Key: JBWS-1380
                 URL: http://jira.jboss.com/jira/browse/JBWS-1380
             Project: JBoss Web Services
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: wstools
            Reporter: Thomas Diesler


Exception in thread "main" java.lang.NullPointerException
at org.jboss.ws.tools.JavaToWSDL.generate(JavaToWSDL.java:303)
at org.jboss.ws.tools.helpers.ToolsHelper.handleJavaToWSDLGeneration(ToolsHelper.java:122)
at org.jboss.ws.tools.WSTools.process(WSTools.java:132)
at org.jboss.ws.tools.WSTools.generate(WSTools.java:120)
at org.jboss.ws.tools.WSTools.main(WSTools.java:61) 

I found the reason behind the Exception.
I was not defining the interface in any package. Looks like it is required. So I added

package org.myapp;

and it started working. 

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

        



More information about the jbossws-issues mailing list