[JIRA] (JENKINS-57736) SiteMonitor jobs fail if not re-saved after latest update

5 views
Skip to first unread message

marc.esher@gmail.com (JIRA)

unread,
May 29, 2019, 7:46:02 AM5/29/19
to jenkinsc...@googlegroups.com
Marc Esher created an issue
 
Jenkins / Bug JENKINS-57736
SiteMonitor jobs fail if not re-saved after latest update
Issue Type: Bug Bug
Assignee: Francisco Hernandez Suarez
Components: sitemonitor-plugin
Created: 2019-05-29 11:45
Environment: Jenkins LTS 2.164.2 on Linux
Priority: Minor Minor
Reporter: Marc Esher

After installing the most recent SiteMonitor plugin, all of our jobs that use SiteMonitor began failing with a null pointer exception. I didn't see any meaningful output in jenkins.log. Here's all I see in the console output for a job build:

java.lang.NullPointerException - null
URL: http://google.com, response code: null, status: EXCEPTION

I assume this is because any existing jobs do not have the setting for the new cert-related checkbox, and under the hood the code doesn't handle this condition.

Consequently, all jobs using SiteMonitor must be resaved. This isn't ideal if you have a lot of SiteMonitor jobs across a lot of servers.

Any chance you could add a null check in the code and release a new version? Or, if you're willing to accept a n00b contribution, I'm happy to take a crack at it myself.

Thanks! We've been using the SiteMonitor plugin for years and it's served extremely well. I really appreciate all the (free) work you put in to maintaining a plugin.

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

tapio.reijonen@vaisala.com (JIRA)

unread,
Jan 17, 2020, 7:12:03 AM1/17/20
to jenkinsc...@googlegroups.com
Tapio Reijonen commented on Bug JENKINS-57736
 
Re: SiteMonitor jobs fail if not re-saved after latest update

We also upgrade this plugging from ver. 05 -> 0.6 and start to get

java.lang.NullPointerException - nullURL: http://x.x.x.x, response code: null, status: EXCEPTION

from all our jobs using this plugging.

Our Jenkins version is 2.121.3

This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

tapio.reijonen@vaisala.com (JIRA)

unread,
Mar 20, 2020, 6:16:03 AM3/20/20
to jenkinsc...@googlegroups.com

Any update.

This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages