NullPointerException in 
RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:158)
-------------------------------------------------------------------------------------------

                 Key: AXIS2-3113
                 URL: https://issues.apache.org/jira/browse/AXIS2-3113
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: adb
            Reporter: Thomas Leonard
             Fix For: 1.3


In 1.3-RC2, RPCMessageReceiver has:

        Method method = null;
        try {
             ...
        } catch (Exception e) {
            String msg = "Exception occurred while trying to invoke service 
method " +
                    method.getName();
            log.error(msg, e);
            throw AxisFault.makeFault(e);
        }

If an exception is thrown before method is set, it throws a 
NullPointerException, e.g.:

Caused by: java.lang.NullPointerException
        at 
org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:158)
        at 
org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)
        at 
org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:95)
        at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:145)
        at 
org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:276)
        at 
org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:119)
        ... 16 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to