beehive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "daryoush mehrtash (JIRA)" <beehive-...@incubator.apache.org>
Subject [jira] Created: (BEEHIVE-805) NullPointerException Fault is generated when calling a non-existant jws
Date Fri, 10 Jun 2005 21:09:09 GMT
NullPointerException Fault is generated when calling a non-existant jws
-----------------------------------------------------------------------

         Key: BEEHIVE-805
         URL: http://issues.apache.org/jira/browse/BEEHIVE-805
     Project: Beehive
        Type: Bug
    Versions: TBD    
    Reporter: daryoush mehrtash
 Assigned to: daryoush mehrtash 
     Fix For: TBD




To reproduce the problem isntall a jws webapplication, eg.  wsm-samples-addressbookEnhanced.
   try to get the wsdl of a nonexisting JWS in the installed application:

http://localhost:8080/EnhancedAddressBookWS/xxxxxx.jws?wsdl

You get a message like:

AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
 faultSubcode: 
 faultString: java.lang.NullPointerException
 faultActor: 
 faultNode: 
 faultDetail: 
	{http://xml.apache.org/axis/}hostname:DMEHRTAS02

The problem is that the AnnotatedWebServiceDeploymentHandler.getWebServiceClass  doesn't generate
the a descriptive fault.  Here is what it does now (around like242)

       if(null == clazz)
            if(logger.isDebugEnabled())
                logger.debug("failed to load web service class: " + className);

        return clazz;

This should be enhanced to actaully send a Fault back to the client.

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


Mime
View raw message