[jboss-jira] [JBoss JIRA] Closed: (JBREM-853) ServletServerInvoker should not put null URL path in metadata map

Ron Sigal (JIRA) jira-events at lists.jboss.org
Thu Nov 22 04:07:18 EST 2007


     [ http://jira.jboss.com/jira/browse/JBREM-853?page=all ]

Ron Sigal closed JBREM-853.
---------------------------

    Resolution: Done

ServletServerInvoker.processRequest() has been changed so that it checks if the URL path is null before putting it in the InvocationRequest requestPayload.

No specific unit test.

> ServletServerInvoker should not put null URL path in metadata map
> -----------------------------------------------------------------
>
>                 Key: JBREM-853
>                 URL: http://jira.jboss.com/jira/browse/JBREM-853
>             Project: JBoss Remoting
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 2.4.0.Beta1 (Pinto), 2.2.2.GA_CP01, 2.2.2.SP2
>            Reporter: Ron Sigal
>         Assigned To: Ron Sigal
>            Priority: Minor
>             Fix For: 2.4.0.Beta1 (Pinto)
>
>
> org.jboss.remoting.transport.servlet.ServletServerInvoker calls javax.servlet.http.HttpServletRequest.getPathTranslated() and puts the result in the invocation's requestPayload with key "Path".  If the path of the URL is null, then a null value goes in the map, and using Map.putAll() can result in a NullPointerException.  This phenomenon was observed in the execution of org.jboss.test.remoting.transport.servlet.ssl.SSLServletClientAddressTestClient when the contents of the requestPayload map are added to the callback Client configuration map.  The callback transport is "socket", and a call to Map.putAll() occurs in org.jboss.remoting.transport.socket.MicroSocketClientInvoker.

-- 
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 jboss-jira mailing list