You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Owen O'Malley (JIRA)" <ji...@apache.org> on 2006/10/10 20:10:19 UTC
[jira] Created: (HADOOP-592) NullPointerException in toString for
RPC connection objects
NullPointerException in toString for RPC connection objects
-----------------------------------------------------------
Key: HADOOP-592
URL: http://issues.apache.org/jira/browse/HADOOP-592
Project: Hadoop
Issue Type: Bug
Affects Versions: 0.7.0
Reporter: Owen O'Malley
Assigned To: Owen O'Malley
Priority: Minor
Fix For: 0.7.1
If the socket is closed when the log message is generated, the toString method gets a NullPointerException.
The exception is caught and logged, but happens often enough that administrators will worry about it. It also loses useful debugging information.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (HADOOP-592) NullPointerException in toString for
RPC connection objects
Posted by "Owen O'Malley (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HADOOP-592?page=all ]
Owen O'Malley updated HADOOP-592:
---------------------------------
Status: Patch Available (was: Open)
> NullPointerException in toString for RPC connection objects
> -----------------------------------------------------------
>
> Key: HADOOP-592
> URL: http://issues.apache.org/jira/browse/HADOOP-592
> Project: Hadoop
> Issue Type: Bug
> Affects Versions: 0.7.0
> Reporter: Owen O'Malley
> Assigned To: Owen O'Malley
> Priority: Minor
> Fix For: 0.7.1
>
> Attachments: connection-null-ptr.patch
>
>
> If the socket is closed when the log message is generated, the toString method gets a NullPointerException.
> The exception is caught and logged, but happens often enough that administrators will worry about it. It also loses useful debugging information.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (HADOOP-592) NullPointerException in toString for
RPC connection objects
Posted by "Doug Cutting (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HADOOP-592?page=all ]
Doug Cutting updated HADOOP-592:
--------------------------------
Status: Resolved (was: Patch Available)
Resolution: Fixed
I just committed this. Thanks, Owen!
> NullPointerException in toString for RPC connection objects
> -----------------------------------------------------------
>
> Key: HADOOP-592
> URL: http://issues.apache.org/jira/browse/HADOOP-592
> Project: Hadoop
> Issue Type: Bug
> Affects Versions: 0.7.0
> Reporter: Owen O'Malley
> Assigned To: Owen O'Malley
> Priority: Minor
> Fix For: 0.7.1
>
> Attachments: connection-null-ptr.patch
>
>
> If the socket is closed when the log message is generated, the toString method gets a NullPointerException.
> The exception is caught and logged, but happens often enough that administrators will worry about it. It also loses useful debugging information.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (HADOOP-592) NullPointerException in toString for
RPC connection objects
Posted by "Owen O'Malley (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HADOOP-592?page=all ]
Owen O'Malley updated HADOOP-592:
---------------------------------
Attachment: connection-null-ptr.patch
This patch grabs the inet address when the connection is formed so that we don't get a null pointer exception when trying to print it out after the connection is closed.
> NullPointerException in toString for RPC connection objects
> -----------------------------------------------------------
>
> Key: HADOOP-592
> URL: http://issues.apache.org/jira/browse/HADOOP-592
> Project: Hadoop
> Issue Type: Bug
> Affects Versions: 0.7.0
> Reporter: Owen O'Malley
> Assigned To: Owen O'Malley
> Priority: Minor
> Fix For: 0.7.1
>
> Attachments: connection-null-ptr.patch
>
>
> If the socket is closed when the log message is generated, the toString method gets a NullPointerException.
> The exception is caught and logged, but happens often enough that administrators will worry about it. It also loses useful debugging information.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira