[JIRA] (JENKINS-57986) NPE doTestConnection

8 views
Skip to first unread message

gigaga31@gmail.com (JIRA)

unread,
Jun 12, 2019, 9:00:02 AM6/12/19
to jenkinsc...@googlegroups.com
Dam Guerin created an issue
 
Jenkins / Bug JENKINS-57986
NPE doTestConnection
Issue Type: Bug Bug
Assignee: Martin Reinhardt
Components: rocket-chat-notifier-plugin
Created: 2019-06-12 12:59
Priority: Minor Minor
Reporter: Dam Guerin

Currently, for any error in doTestConnection, the code in catch, RocketChatNotifier.java, l599.

However, in this catch, the following condition is incorrect.

if (e.getCause() != null &&
e.getCause().getClass() == SSLHandshakeException.class || e.getCause().getClass() == ValidatorException.class)

Indeed, the third part of this, is not protect by the first part. In other terms, we can have an NPE when e.getCause() returns null because the condition "e.getCause().getClass() == ValidatorException.class" is eval.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

hypery2k@web.de (JIRA)

unread,
Jul 2, 2019, 12:44:02 PM7/2/19
to jenkinsc...@googlegroups.com
Martin Reinhardt started work on Bug JENKINS-57986
 
Change By: Martin Reinhardt
Status: Open In Progress

hypery2k@web.de (JIRA)

unread,
Jul 2, 2019, 12:47:02 PM7/2/19
to jenkinsc...@googlegroups.com

hypery2k@web.de (JIRA)

unread,
Jul 2, 2019, 12:47:02 PM7/2/19
to jenkinsc...@googlegroups.com
Change By: Martin Reinhardt
Status: In Progress Fixed but Unreleased
Resolution: Fixed

hypery2k@web.de (JIRA)

unread,
Sep 9, 2019, 1:02:02 PM9/9/19
to jenkinsc...@googlegroups.com
 

fixed in 1.4.4

Change By: Martin Reinhardt
Status: Fixed but Unreleased Resolved
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

hypery2k@web.de (JIRA)

unread,
Sep 9, 2019, 1:02:04 PM9/9/19
to jenkinsc...@googlegroups.com
Martin Reinhardt closed an issue as Fixed
Change By: Martin Reinhardt
Status: Resolved Closed
Assignee: Martin Reinhardt
Reply all
Reply to author
Forward
0 new messages