[jboss-remoting-issues] [JBoss JIRA] Created: (JBREM-1081) Fix NPE in ServerInvokerCallbackHandler

Ron Sigal (JIRA) jira-events at lists.jboss.org
Fri Jan 9 11:41:14 EST 2009


Fix NPE in ServerInvokerCallbackHandler 
----------------------------------------

                 Key: JBREM-1081
                 URL: https://jira.jboss.org/jira/browse/JBREM-1081
             Project: JBoss Remoting
          Issue Type: Bug
      Security Level: Public (Everyone can see)
    Affects Versions: 2.5.0.SP2 (Flounder) , 2.2.2.SP11
            Reporter: Ron Sigal
            Assignee: Ron Sigal
            Priority: Minor
             Fix For: 2.2.2.SP12, 2.5.0.SP3 (Flounder)


When org.jboss.remoting.callback.ServerInvokerCallback is shut down by a call to ServerInvokerCallbackHandler.destroy(), the variables callBackClient and callbackStore are set to null.  If ServerInvokerCallbackHandler.handleCallback() is called subsequently (which can happen if destroy() is called by ServerInvokerCallbackHandler.handleConnectionException() and the application has not yet been informed about a connection failure), then, since callbackClient == null, it looks like pull callbacks are configured, but, since callbackStore == null, a NullPointerException is thrown in ServerInvokerCallbackHandler.persistCallback().

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

        



More information about the jboss-remoting-issues mailing list