Possible NPE in HttpHost
------------------------
Key: HTTPCLIENT-632
URL: https://issues.apache.org/jira/browse/HTTPCLIENT-632
Project: HttpComponents HttpClient
Issue Type: Bug
Components: HttpClient
Affects Versions: 3.1 Beta 1
Reporter: Sebb
Priority: Minor
HttpHost line 167 says:
if (this.port != this.protocol.getDefaultPort()) {
However, a few lines above, protocol is checked for null.
Line 167 should probably read:
if (this.protocol != null && this.port !=
this.protocol.getDefaultPort()) {
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]