[
https://jira.jboss.org/jira/browse/JBREM-1046?page=com.atlassian.jira.plu...
]
Ron Sigal reopened JBREM-1046:
------------------------------
1) The fix described above doesn't completely solve the problem (see discussion on
Remoting users forum.
2) It's probably not a good idea to change default Remoting behavior in an SP
release.
The appropriate solution is to keep the default behavior in place, but make alternative
behavior available through configuration.
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)
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