You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2018/04/27 15:05:00 UTC
[jira] [Commented] (KNOX-1283) DefaultURLManager markFailed method
throws NPE if urls is empty
[ https://issues.apache.org/jira/browse/KNOX-1283?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16456577#comment-16456577 ]
ASF subversion and git services commented on KNOX-1283:
-------------------------------------------------------
Commit c061d20a8135ff80d8c99cb5403a5f295b1c2a63 in knox's branch refs/heads/master from [~pzampino]
[ https://git-wip-us.apache.org/repos/asf?p=knox.git;h=c061d20 ]
KNOX-1283 - DefaultURLManager markFailed method throws NPE if urls is empty
> DefaultURLManager markFailed method throws NPE if urls is empty
> ---------------------------------------------------------------
>
> Key: KNOX-1283
> URL: https://issues.apache.org/jira/browse/KNOX-1283
> Project: Apache Knox
> Issue Type: Bug
> Components: Server
> Affects Versions: 1.0.0
> Reporter: Phil Zampino
> Assignee: Phil Zampino
> Priority: Major
> Fix For: 1.1.0
>
>
> It seems that in some cases, DefaultURLManager#markFailed(String) is invoked when its urls member is empty. The conditions aren't evident, but this method should handle this scenario better than throwing a NullPointerException.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)