[ https://issues.apache.org/jira/browse/HADOOP-9844?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14329604#comment-14329604 ]
Steve Loughran commented on HADOOP-9844: ---------------------------------------- Jason, NPE is the reference example of why to use {{toString()}} over {{getMessage()}}; it relies on {{Throwable.toString()}} to include the base classname alongside any message (here, null) My patch as written in 2013 will catch it. > NPE when trying to create an error message response of RPC > ---------------------------------------------------------- > > Key: HADOOP-9844 > URL: https://issues.apache.org/jira/browse/HADOOP-9844 > Project: Hadoop Common > Issue Type: Bug > Affects Versions: 3.0.0, 2.1.1-beta, 2.6.0 > Reporter: Steve Loughran > Assignee: Steve Loughran > Attachments: HADOOP-9844-001.patch > > > I'm seeing an NPE which is raised when the server is trying to create an > error response to send back to the caller and there is no error text. > The root cause is probably somewhere in SASL, but sending something back to > the caller would seem preferable to NPE-ing server-side. -- This message was sent by Atlassian JIRA (v6.3.4#6332)