[JIRA] [email-ext-plugin] (JENKINS-33035) Editable Email Notification Upgrade Breaks Jenkins Boot Up

4 views
Skip to first unread message

nathan.lindshield@lockpath.com (JIRA)

unread,
Feb 19, 2016, 9:19:03 AM2/19/16
to jenkinsc...@googlegroups.com
Nathan Lindshield created an issue
 
Jenkins / Bug JENKINS-33035
Editable Email Notification Upgrade Breaks Jenkins Boot Up
Issue Type: Bug Bug
Assignee: Alex Earl
Components: email-ext-plugin
Created: 19/Feb/16 2:18 PM
Environment: Windows 2012. Jenkins 1.648. JRE 7u80
Priority: Minor Minor
Reporter: Nathan Lindshield

When I update the email-ext-plugin to the 2.41 or 2.41.2 updates, it breaks Jenkins from even starting up with a java.lang.Error: java.lang.reflect.InvocationTargetException error that doesn't even allow the Jenkins UI to be functional. Have to remove the email-ext-plugin from the Plugins directory to get Jenkins back up again.

Feb 19, 2016 7:57:26 AM hudson.util.BootFailure publish
SEVERE: Failed to initialize Jenkins
hudson.util.HudsonFailedToLoad: org.jvnet.hudson.reactor.ReactorException: java.lang.Error: java.lang.reflect.InvocationTargetException
at hudson.WebAppMain$3.run(WebAppMain.java:237)
Caused by: org.jvnet.hudson.reactor.ReactorException: java.lang.Error: java.lang.reflect.InvocationTargetException
at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:269)
at jenkins.InitReactorRunner.run(InitReactorRunner.java:44)
at jenkins.model.Jenkins.executeReactor(Jenkins.java:935)
at jenkins.model.Jenkins.<init>(Jenkins.java:816)
at hudson.model.Hudson.<init>(Hudson.java:83)
at hudson.model.Hudson.<init>(Hudson.java:79)
at hudson.WebAppMain$3.run(WebAppMain.java:225)
Caused by: java.lang.Error: java.lang.reflect.InvocationTargetException
at hudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:110)
at hudson.init.TaskMethodFinder$TaskImpl.run(TaskMethodFinder.java:176)
at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282)
at jenkins.model.Jenkins$8.runTask(Jenkins.java:924)
at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210)
at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at hudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:106)
... 8 more
Caused by: java.lang.NullPointerException
at hudson.diagnosis.NullIdDescriptorMonitor.verifyId(NullIdDescriptorMonitor.java:89)
... 13 more

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265)
Atlassian logo

slide.o.mix@gmail.com (JIRA)

unread,
Feb 19, 2016, 9:58:02 AM2/19/16
to jenkinsc...@googlegroups.com
Alex Earl commented on Bug JENKINS-33035
 
Re: Editable Email Notification Upgrade Breaks Jenkins Boot Up

I haven't seen this in my dog fooding. Since there is no exception information about email-ext, I am not sure how to debug this. Is this the only error message in the logs?

nathan.lindshield@lockpath.com (JIRA)

unread,
Feb 19, 2016, 10:05:03 AM2/19/16
to jenkinsc...@googlegroups.com
Nathan Lindshield updated an issue
 

Erorr in description was what is left of Jenkins UI shows. Complete log trail attached.

Change By: Nathan Lindshield
Attachment: log.txt

slide.o.mix@gmail.com (JIRA)

unread,
Feb 19, 2016, 10:16:01 AM2/19/16
to jenkinsc...@googlegroups.com
 
Re: Editable Email Notification Upgrade Breaks Jenkins Boot Up

Ok, that helps a bunch. Looks like you don't have workflow plugin installed and I failed to make the workflow extension point optional. Should hopefully be an easy fix.

slide.o.mix@gmail.com (JIRA)

unread,
Feb 20, 2016, 11:32:01 AM2/20/16
to jenkinsc...@googlegroups.com
Alex Earl started work on Bug JENKINS-33035
 
Change By: Alex Earl
Status: Open In Progress

slide.o.mix@gmail.com (JIRA)

unread,
Feb 23, 2016, 8:14:01 PM2/23/16
to jenkinsc...@googlegroups.com
Alex Earl resolved as Fixed
 

Made workflow @Extension optional

Change By: Alex Earl
Status: In Progress Resolved
Resolution: Fixed

nathan.lindshield@lockpath.com (JIRA)

unread,
Feb 24, 2016, 8:20:01 AM2/24/16
to jenkinsc...@googlegroups.com
Nathan Lindshield reopened an issue
 

Still occurs with 2.41.3. Log attached.

Change By: Nathan Lindshield
Resolution: Fixed
Status: Resolved Reopened

nathan.lindshield@lockpath.com (JIRA)

unread,
Feb 24, 2016, 8:20:01 AM2/24/16
to jenkinsc...@googlegroups.com

slide.o.mix@gmail.com (JIRA)

unread,
Feb 24, 2016, 8:23:01 AM2/24/16
to jenkinsc...@googlegroups.com
 
Re: Editable Email Notification Upgrade Breaks Jenkins Boot Up

Those ones don't look like they are caused by email-ext. Did you update Jenkins itself recently?

nathan.lindshield@lockpath.com (JIRA)

unread,
Feb 24, 2016, 8:26:01 AM2/24/16
to jenkinsc...@googlegroups.com

I upgraded 3 other plugins first before trying email-ext. Will look at reverting them and then trying 2.41.3 again in a bit when no projects are running.

slide.o.mix@gmail.com (JIRA)

unread,
Feb 24, 2016, 8:27:01 AM2/24/16
to jenkinsc...@googlegroups.com

It looks like you might be missing the cloudbees-folder plugin and the junit plugin.

slide.o.mix@gmail.com (JIRA)

unread,
Feb 24, 2016, 8:35:01 AM2/24/16
to jenkinsc...@googlegroups.com
Alex Earl edited a comment on Bug JENKINS-33035
It looks like you might be missing the cloudbees-folder plugin , the matrix plugin  and the junit plugin.

nathan.lindshield@lockpath.com (JIRA)

unread,
Feb 24, 2016, 9:09:02 AM2/24/16
to jenkinsc...@googlegroups.com

Still occurs after reverting the other 3 plugins and trying again with 2.41.3. Another log attached.

nathan.lindshield@lockpath.com (JIRA)

unread,
Feb 24, 2016, 9:09:03 AM2/24/16
to jenkinsc...@googlegroups.com

slide.o.mix@gmail.com (JIRA)

unread,
Feb 24, 2016, 9:12:01 AM2/24/16
to jenkinsc...@googlegroups.com
Alex Earl commented on Bug JENKINS-33035
 
Re: Editable Email Notification Upgrade Breaks Jenkins Boot Up

Still looks like you are missing the junit plugin which is a required dependency for email-ext

nathan.lindshield@lockpath.com (JIRA)

unread,
Feb 24, 2016, 9:22:01 AM2/24/16
to jenkinsc...@googlegroups.com

So junit plugin is installed, v1.10, but not the 1.2 version that is listed on the Email-ext plugin page. However the junit link does not show a 1.2 version available. Where/how is 1.2 installed? See attached screenshot.

nathan.lindshield@lockpath.com (JIRA)

unread,
Feb 24, 2016, 9:22:01 AM2/24/16
to jenkinsc...@googlegroups.com

slide.o.mix@gmail.com (JIRA)

unread,
Feb 24, 2016, 9:25:01 AM2/24/16
to jenkinsc...@googlegroups.com

slide.o.mix@gmail.com (JIRA)

unread,
Feb 24, 2016, 9:25:01 AM2/24/16
to jenkinsc...@googlegroups.com

slide.o.mix@gmail.com (JIRA)

unread,
Feb 24, 2016, 9:26:02 AM2/24/16
to jenkinsc...@googlegroups.com

Your screenshot shows the plugin as disabled.

nathan.lindshield@lockpath.com (JIRA)

unread,
Feb 24, 2016, 9:29:01 AM2/24/16
to jenkinsc...@googlegroups.com

I thought the same thing that it was disabled, but it's not clickable. If you try, then you get the below banner that it can't be disabled because of the dependencies.

slide.o.mix@gmail.com (JIRA)

unread,
Feb 24, 2016, 9:37:01 AM2/24/16
to jenkinsc...@googlegroups.com

Check JENKINS_HOME to see if there is a .disabled file for the junit plugin.

nathan.lindshield@lockpath.com (JIRA)

unread,
Feb 24, 2016, 9:40:01 AM2/24/16
to jenkinsc...@googlegroups.com

Alright, so somehow I managed to get the junit plugin disabled even though it is dependency for a large number of plugins. Tried uploading the junit 1.2 version and still showed as disabled. Had to go into the plugins directory and remove the disabled flag. Then the 1.2 version showed as an update. Updated it, restarted, then updated email-ext. No issues. Thanks for the fix and help.

slide.o.mix@gmail.com (JIRA)

unread,
Feb 24, 2016, 9:42:03 AM2/24/16
to jenkinsc...@googlegroups.com
Alex Earl resolved as Fixed
Change By: Alex Earl
Status: Reopened Resolved
Resolution: Fixed

nathan.lindshield@lockpath.com (JIRA)

unread,
Feb 24, 2016, 9:45:01 AM2/24/16
to jenkinsc...@googlegroups.com
Nathan Lindshield closed an issue as Fixed
 

Fixed in 2.41.3!

Change By: Nathan Lindshield
Status: Resolved Closed
Reply all
Reply to author
Forward
0 new messages