[JIRA] (JENKINS-38389) jenkins restart fails after installing ec2 plugin

0 views
Skip to first unread message

funeeldy@yahoo.com (JIRA)

unread,
Sep 20, 2016, 4:50:01 PM9/20/16
to jenkinsc...@googlegroups.com
marlene cote created an issue
 
Jenkins / Bug JENKINS-38389
jenkins restart fails after installing ec2 plugin
Issue Type: Bug Bug
Assignee: Francis Upton
Components: ec2-plugin
Created: 2016/Sep/20 8:49 PM
Environment: centos 7 server latest jenkins
Priority: Critical Critical
Reporter: marlene cote

hudson.util.HudsonFailedToLoad: java.lang.NullPointerException
at hudson.WebAppMain$3.run(WebAppMain.java:244)
Caused by: java.lang.NullPointerException
at hudson.plugins.ec2.EC2Cloud.createCredentialsProvider(EC2Cloud.java:599)
at hudson.plugins.ec2.EC2Cloud.createCredentialsProvider(EC2Cloud.java:584)
at hudson.plugins.ec2.EC2Cloud.connect(EC2Cloud.java:620)
at hudson.plugins.ec2.EC2Computer._describeInstanceOnce(EC2Computer.java:166)
at hudson.plugins.ec2.EC2Computer._describeInstance(EC2Computer.java:149)
at hudson.plugins.ec2.EC2Computer.describeInstance(EC2Computer.java:107)
at hudson.plugins.ec2.EC2Computer.getUptime(EC2Computer.java:133)
at hudson.plugins.ec2.EC2RetentionStrategy.internalCheck(EC2RetentionStrategy.java:104)
at hudson.plugins.ec2.EC2RetentionStrategy.check(EC2RetentionStrategy.java:85)
at hudson.plugins.ec2.EC2RetentionStrategy.check(EC2RetentionStrategy.java:43)
at hudson.slaves.SlaveComputer$4.run(SlaveComputer.java:725)
at hudson.model.Queue._withLock(Queue.java:1303)
at hudson.model.Queue.withLock(Queue.java:1180)
at hudson.slaves.SlaveComputer.setNode(SlaveComputer.java:722)
at hudson.model.AbstractCIBase.updateComputer(AbstractCIBase.java:118)
at hudson.model.AbstractCIBase.access$000(AbstractCIBase.java:44)
at hudson.model.AbstractCIBase$2.run(AbstractCIBase.java:186)
at hudson.model.Queue._withLock(Queue.java:1303)
at hudson.model.Queue.withLock(Queue.java:1180)
at hudson.model.AbstractCIBase.updateComputerList(AbstractCIBase.java:169)
at jenkins.model.Jenkins.updateComputerList(Jenkins.java:1470)
at jenkins.model.Jenkins.<init>(Jenkins.java:948)
at hudson.model.Hudson.<init>(Hudson.java:85)
at hudson.model.Hudson.<init>(Hudson.java:81)
at hudson.WebAppMain$3.run(WebAppMain.java:227)

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)
Atlassian logo

funeeldy@yahoo.com (JIRA)

unread,
Sep 20, 2016, 4:59:01 PM9/20/16
to jenkinsc...@googlegroups.com
marlene cote updated an issue
Change By: marlene cote
Attachment: jenkins-ec2plugin.docx

funeeldy@yahoo.com (JIRA)

unread,
Sep 20, 2016, 5:16:02 PM9/20/16
to jenkinsc...@googlegroups.com
marlene cote commented on Bug JENKINS-38389
 
Re: jenkins restart fails after installing ec2 plugin

You can close this. I was able to delete the plugin directory and reinstall it and it worked.

funeeldy@yahoo.com (JIRA)

unread,
Sep 20, 2016, 5:17:03 PM9/20/16
to jenkinsc...@googlegroups.com
marlene cote closed an issue as Fixed
 

retried it multiple times and then manually deleted the plugin from the filesystem and then it installed and jenkins restarted

Change By: marlene cote
Status: Open Closed
Resolution: Fixed

batmat@batmat.net (JIRA)

unread,
Feb 14, 2017, 5:19:01 PM2/14/17
to jenkinsc...@googlegroups.com
Baptiste Mathus reopened an issue
 

I am seeing an identical stack trace under some situation, reopening and assigning to self for followup.

Change By: Baptiste Mathus
Resolution: Fixed
Status: Closed Reopened
Assignee: Francis Upton Baptiste Mathus

batmat@batmat.net (JIRA)

unread,
Feb 14, 2017, 5:28:01 PM2/14/17
to jenkinsc...@googlegroups.com

batmat@batmat.net (JIRA)

unread,
Feb 14, 2017, 5:29:01 PM2/14/17
to jenkinsc...@googlegroups.com
Baptiste Mathus commented on Bug JENKINS-38389
 
Re: jenkins restart fails after installing ec2 plugin

FTR, recent stack trace with ec2-plugin 1.36:

hudson.util.HudsonFailedToLoad: java.lang.NullPointerException
	at hudson.WebAppMain$3.run(WebAppMain.java:248)
Caused by: java.lang.NullPointerException
	at hudson.plugins.ec2.EC2Cloud.createCredentialsProvider(EC2Cloud.java:599)
	at hudson.plugins.ec2.EC2Cloud.createCredentialsProvider(EC2Cloud.java:584)
	at hudson.plugins.ec2.EC2Cloud.connect(EC2Cloud.java:620)
	at hudson.plugins.ec2.EC2Computer._describeInstanceOnce(EC2Computer.java:166)
	at hudson.plugins.ec2.EC2Computer._describeInstance(EC2Computer.java:149)
	at hudson.plugins.ec2.EC2Computer.describeInstance(EC2Computer.java:107)
	at hudson.plugins.ec2.EC2Computer.getUptime(EC2Computer.java:133)
	at hudson.plugins.ec2.EC2RetentionStrategy.internalCheck(EC2RetentionStrategy.java:104)
	at hudson.plugins.ec2.EC2RetentionStrategy.check(EC2RetentionStrategy.java:85)
	at hudson.plugins.ec2.EC2RetentionStrategy.check(EC2RetentionStrategy.java:43)
	at hudson.slaves.SlaveComputer$4.run(SlaveComputer.java:725)
	at hudson.model.Queue._withLock(Queue.java:1309)
	at hudson.model.Queue.withLock(Queue.java:1186)
	at hudson.slaves.SlaveComputer.setNode(SlaveComputer.java:722)
	at hudson.model.AbstractCIBase.updateComputer(AbstractCIBase.java:118)
	at hudson.model.AbstractCIBase.access$000(AbstractCIBase.java:44)
	at hudson.model.AbstractCIBase$2.run(AbstractCIBase.java:186)
	at hudson.model.Queue._withLock(Queue.java:1309)
	at hudson.model.Queue.withLock(Queue.java:1186)
	at hudson.model.AbstractCIBase.updateComputerList(AbstractCIBase.java:169)
	at jenkins.model.Jenkins.updateComputerList(Jenkins.java:1567)
	at jenkins.model.Jenkins.<init>(Jenkins.java:968)
	at hudson.model.Hudson.<init>(Hudson.java:85)
	at hudson.model.Hudson.<init>(Hudson.java:81)
	at hudson.WebAppMain$3.run(WebAppMain.java:231)

batmat@batmat.net (JIRA)

unread,
Feb 14, 2017, 5:30:01 PM2/14/17
to jenkinsc...@googlegroups.com
Baptiste Mathus edited a comment on Bug JENKINS-38389
FTR, recent stack trace with ec2-plugin 1. 36 35 :

{noformat}
{noformat}

batmat@batmat.net (JIRA)

unread,
Feb 14, 2017, 5:36:02 PM2/14/17
to jenkinsc...@googlegroups.com

Added core component for now after Jesse Glick advice that we should at least fix core to forbid a failure in setNode to prevent Jenkins to start.

batmat@batmat.net (JIRA)

unread,
Feb 14, 2017, 6:02:01 PM2/14/17
to jenkinsc...@googlegroups.com
Baptiste Mathus assigned an issue to Francis Upton
 
Change By: Baptiste Mathus
Assignee: Baptiste Mathus Francis Upton

jglick@cloudbees.com (JIRA)

unread,
Feb 15, 2017, 11:07:02 AM2/15/17
to jenkinsc...@googlegroups.com
Jesse Glick updated an issue

Core part filed separately.

Change By: Jesse Glick
Component/s: core

raihaan.shouhell@autodesk.com (JIRA)

unread,
Jul 29, 2019, 5:24:02 AM7/29/19
to jenkinsc...@googlegroups.com
Raihaan Shouhell closed an issue as Cannot Reproduce
 

Can't reproduce in the newer jenkins/plugin

Change By: Raihaan Shouhell
Status: Reopened Closed
Resolution: Cannot Reproduce
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)
Reply all
Reply to author
Forward
0 new messages