[jboss-remoting-issues] [JBoss JIRA] Closed: (JBREM-1046) HTTPClientInvoker throws NullPointerException when HttpURLConnection.getInputStream() returns null

Ron Sigal (JIRA) jira-events at lists.jboss.org
Wed Oct 29 23:39:20 EDT 2008


     [ https://jira.jboss.org/jira/browse/JBREM-1046?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ron Sigal closed JBREM-1046.
----------------------------

    Resolution: Done


Test passing in hudson.

> HTTPClientInvoker throws NullPointerException when HttpURLConnection.getInputStream() returns null
> --------------------------------------------------------------------------------------------------
>
>                 Key: JBREM-1046
>                 URL: https://jira.jboss.org/jira/browse/JBREM-1046
>             Project: JBoss Remoting
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 2.5.0.GA (Flounder)
>            Reporter: Ron Sigal
>            Assignee: Ron Sigal
>             Fix For: 2.5.0.SP1 (Flounder)
>
>         Attachments: jboss-remoting.jar
>
>
> When an HTTP server returns an error code and no content, it is possible for java.net.HttpUrlConnection.getInputStream() to retun null, which causes a NullPointerException in org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection().

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