[
https://issues.apache.org/jira/browse/HADOOP-9363?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15210530#comment-15210530
]
Steve Loughran commented on HADOOP-9363:
----------------------------------------
Looking at this. So the root cause is the back end isn't sending back a valid
response; the client is NPEing.
I'm looking at the code in the JDK to see how the NPE could be triggered, but
it's not immediately obvious. I don't see any diffs between Java 7u45 and Java
8, so have to assume that if there is a problem, it's still there.
What about catching any RuntimeException raised as this point, rethrow it as an
IOE, and including the URL at fault in the message?
> AuthenticatedURL will NPE if server closes connection
> -----------------------------------------------------
>
> Key: HADOOP-9363
> URL: https://issues.apache.org/jira/browse/HADOOP-9363
> Project: Hadoop Common
> Issue Type: Bug
> Components: security
> Affects Versions: 0.23.0, 2.0.0-alpha, 3.0.0
> Reporter: Daryn Sharp
> Assignee: Daryn Sharp
> Priority: Critical
>
> A NPE occurs if the server unexpectedly closes the connection for an
> {{AuthenticatedURL}} w/o sending a response.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)