[jboss-jira] [JBoss JIRA] Created: (JBREM-688) A sun.net.www.protocol.http.HttpURLConnection.getHeaderFields() may return a header map containing null keys, thus leading to NPEs

Ovidiu Feodorov (JIRA) jira-events at jboss.com
Wed Jan 24 13:57:42 EST 2007


A sun.net.www.protocol.http.HttpURLConnection.getHeaderFields() may return a header map containing null keys, thus leading to NPEs
----------------------------------------------------------------------------------------------------------------------------------

                 Key: JBREM-688
                 URL: http://jira.jboss.com/jira/browse/JBREM-688
             Project: JBoss Remoting
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: transport
    Affects Versions: 2.2.0.Alpha6
            Reporter: Ovidiu Feodorov
         Assigned To: Ovidiu Feodorov
             Fix For: 2.2.0.Alpha7


I noticed this while pinging over a HTTP connection.

Fix in HTTPClientInvoker.useHttpURLConnection(), by adding header fields one by one and throwing away those with null keys.



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