[JIRA] [buildgraph-view-plugin] (JENKINS-34803) Update to version 1.3 of build-graph-view plugin crashes Jenkins hard

8 views
Skip to first unread message

John.Mellor@esentire.com (JIRA)

unread,
May 13, 2016, 9:44:01 AM5/13/16
to jenkinsc...@googlegroups.com
John Mellor created an issue
 
Jenkins / Bug JENKINS-34803
Update to version 1.3 of build-graph-view plugin crashes Jenkins hard
Issue Type: Bug Bug
Assignee: Unassigned
Attachments: buildgraph-view-plugin.partial-traceback.txt
Components: buildgraph-view-plugin
Created: 2016/May/13 1:43 PM
Environment: Jenkins 1.656
Ubuntu 12.04
openjdk-7-jre-headless=7u9-2.3.3-0ubuntu1~12.04.1
Labels: jenkins plugins exception
Priority: Blocker Blocker
Reporter: John Mellor

Upgrading from buildgraph-viewer 1.2 to 1.3 crashes Jenkins hard.
Apparent nullpointer exception in plugin loader.
Partial traceback attached, as cut from the screen.
Manually reverting the plugin by renaming the jpi files gets the Jenkins master back up.

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

sorutome@mail.com (JIRA)

unread,
May 16, 2016, 2:28:01 PM5/16/16
to jenkinsc...@googlegroups.com
Kenny Wang commented on Bug JENKINS-34803
 
Re: Update to version 1.3 of build-graph-view plugin crashes Jenkins hard

This 1.3-version also crashes JENKINS 2.1 and 2.4 !

Panajev@gmail.com (JIRA)

unread,
May 17, 2016, 1:44:03 PM5/17/16
to jenkinsc...@googlegroups.com
Goffredo Marocchi updated an issue
 

This error occurs on Jenkins 2.5 too, but with a different stack trace.

Change By: Goffredo Marocchi
Attachment: upload.png

Panajev@gmail.com (JIRA)

unread,
May 17, 2016, 1:45:02 PM5/17/16
to jenkinsc...@googlegroups.com
Goffredo Marocchi edited a comment on Bug JENKINS-34803
 
Re: Update to version 1.3 of build-graph-view plugin crashes Jenkins hard
This error occurs on Jenkins 2.5 too, but with a different stack trace.  I have tried all other plugins I have updated this week one by one and this update is the one consistently reproducing this issue on two machines.

jordy@thien.nu (JIRA)

unread,
May 18, 2016, 8:24:02 AM5/18/16
to jenkinsc...@googlegroups.com
Jordy commented on Bug JENKINS-34803

I've experienced the same issue on Jenkins ver. 1.651.2 (windows 7, x64). Also with a different stack strace:

May 18, 2016 2:09:26 PM jenkins.InitReactorRunner$1 onAttained
INFO: Augmented all extensions
May 18, 2016 2:09:26 PM 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:937)
	at jenkins.model.Jenkins.<init>(Jenkins.java:818)
	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:926)
	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.IndexOutOfBoundsException: Index: 0, Size: 0
	at java.util.ArrayList.rangeCheck(Unknown Source)
	at java.util.ArrayList.get(Unknown Source)
	at hudson.ExtensionList.get(ExtensionList.java:171)
	at hudson.PluginManager$PluginUpdateMonitor.getInstance(PluginManager.java:1349)
	at hudson.maven.PluginImpl.init(PluginImpl.java:58)
	... 13 more

After removing the .jpi in the plugin folder I was able to get Jenkins up and running again.

erik.lattimore@sonos.com (JIRA)

unread,
May 18, 2016, 11:56:03 AM5/18/16
to jenkinsc...@googlegroups.com

This is the exception I am seeing, looks like it can't find com.cloudbees.plugins.flow.FlowRun:

SEVERE: Failed to create Guice container from all the plugins
com.google.inject.internal.guava.collect.$ComputationException: java.lang.NoClassDefFoundError: com/cloudbees/plugins/flow/FlowRun
	at com.google.inject.internal.guava.collect.$ComputingConcurrentHashMap$ComputingMapAdapter.get(ComputingConcurrentHashMap.java:397)
	at com.google.inject.internal.FailableCache.get(FailableCache.java:49)
	at com.google.inject.internal.MembersInjectorStore.get(MembersInjectorStore.java:66)
	at com.google.inject.internal.ConstructorInjectorStore.createConstructor(ConstructorInjectorStore.java:74)
	at com.google.inject.internal.ConstructorInjectorStore.access$000(ConstructorInjectorStore.java:29)
	at com.google.inject.internal.ConstructorInjectorStore$1.create(ConstructorInjectorStore.java:37)
	at com.google.inject.internal.ConstructorInjectorStore$1.create(ConstructorInjectorStore.java:33)
	at com.google.inject.internal.FailableCache$1.apply(FailableCache.java:38)
	at com.google.inject.internal.guava.collect.$ComputingConcurrentHashMap$ComputingValueReference.compute(ComputingConcurrentHashMap.java:355)
	at com.google.inject.internal.guava.collect.$ComputingConcurrentHashMap$ComputingSegment.compute(ComputingConcurrentHashMap.java:184)
	at com.google.inject.internal.guava.collect.$ComputingConcurrentHashMap$ComputingSegment.getOrCompute(ComputingConcurrentHashMap.java:153)
	at com.google.inject.internal.guava.collect.$ComputingConcurrentHashMap.getOrCompute(ComputingConcurrentHashMap.java:69)
	at com.google.inject.internal.guava.collect.$ComputingConcurrentHashMap$ComputingMapAdapter.get(ComputingConcurrentHashMap.java:393)
	at com.google.inject.internal.FailableCache.get(FailableCache.java:49)
	at com.google.inject.internal.ConstructorInjectorStore.get(ConstructorInjectorStore.java:50)
	at com.google.inject.internal.ConstructorBindingImpl.initialize(ConstructorBindingImpl.java:137)
	at com.google.inject.internal.InjectorImpl.initializeBinding(InjectorImpl.java:537)
	at com.google.inject.internal.AbstractBindingProcessor$Processor$1.run(AbstractBindingProcessor.java:160)
	at com.google.inject.internal.ProcessedBindingData.initializeBindings(ProcessedBindingData.java:44)
	at com.google.inject.internal.InternalInjectorCreator.initializeStatically(InternalInjectorCreator.java:123)
	at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:107)
	at com.google.inject.Guice.createInjector(Guice.java:96)
	at com.google.inject.Guice.createInjector(Guice.java:73)
	at hudson.ExtensionFinder$GuiceFinder.<init>(ExtensionFinder.java:280)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at java.lang.Class.newInstance(Class.java:442)
	at net.java.sezpoz.IndexItem.instance(IndexItem.java:181)
	at hudson.ExtensionFinder$Sezpoz._find(ExtensionFinder.java:640)
	at hudson.ExtensionFinder$Sezpoz.find(ExtensionFinder.java:615)
	at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:389)
	at hudson.ExtensionList.load(ExtensionList.java:349)
	at hudson.ExtensionList.ensureLoaded(ExtensionList.java:287)
	at hudson.ExtensionList.iterator(ExtensionList.java:156)
	at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:382)
	at hudson.ExtensionList.load(ExtensionList.java:349)
	at hudson.ExtensionList.ensureLoaded(ExtensionList.java:287)
	at hudson.ExtensionList.getComponents(ExtensionList.java:167)
	at hudson.DescriptorExtensionList.load(DescriptorExtensionList.java:185)
	at hudson.ExtensionList.ensureLoaded(ExtensionList.java:287)
	at hudson.ExtensionList.iterator(ExtensionList.java:156)
	at org.jenkinsci.plugins.xunit.AliasInitializer.addAliases(AliasInitializer.java:47)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at hudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:106)
	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:926)
	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(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NoClassDefFoundError: com/cloudbees/plugins/flow/FlowRun
	at java.lang.Class.getDeclaredMethods0(Native Method)
	at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
	at java.lang.Class.getDeclaredMethods(Class.java:1975)
	at com.google.inject.spi.InjectionPoint.getInjectionPoints(InjectionPoint.java:674)
	at com.google.inject.spi.InjectionPoint.forInstanceMethodsAndFields(InjectionPoint.java:366)
	at com.google.inject.internal.MembersInjectorStore.createWithListeners(MembersInjectorStore.java:91)
	at com.google.inject.internal.MembersInjectorStore.access$000(MembersInjectorStore.java:35)
	at com.google.inject.internal.MembersInjectorStore$1.create(MembersInjectorStore.java:43)
	at com.google.inject.internal.MembersInjectorStore$1.create(MembersInjectorStore.java:40)
	at com.google.inject.internal.FailableCache$1.apply(FailableCache.java:38)
	at com.google.inject.internal.guava.collect.$ComputingConcurrentHashMap$ComputingValueReference.compute(ComputingConcurrentHashMap.java:355)
	at com.google.inject.internal.guava.collect.$ComputingConcurrentHashMap$ComputingSegment.compute(ComputingConcurrentHashMap.java:184)
	at com.google.inject.internal.guava.collect.$ComputingConcurrentHashMap$ComputingSegment.getOrCompute(ComputingConcurrentHashMap.java:153)
	at com.google.inject.internal.guava.collect.$ComputingConcurrentHashMap.getOrCompute(ComputingConcurrentHashMap.java:69)
	at com.google.inject.internal.guava.collect.$ComputingConcurrentHashMap$ComputingMapAdapter.get(ComputingConcurrentHashMap.java:393)
	... 56 more
Caused by: java.lang.ClassNotFoundException: com.cloudbees.plugins.flow.FlowRun
	at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1376)
	at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1326)
	at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1079)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
	... 71 more

bkrische@ra.rockwell.com (JIRA)

unread,
May 18, 2016, 12:05:02 PM5/18/16
to jenkinsc...@googlegroups.com

It looks like if you install the Build Flow plugin, the error goes away. That plugin is listed as an optional dependency to Build Graph View. So either it needs to be a mandatory dependency or something in the code needs to handle that plugin not being installed.

erik.lattimore@sonos.com (JIRA)

unread,
May 18, 2016, 3:14:02 PM5/18/16
to jenkinsc...@googlegroups.com

alex.hha@gmail.com (JIRA)

unread,
May 19, 2016, 4:49:03 AM5/19/16
to jenkinsc...@googlegroups.com

I can confirm that with buildgraph view plugin v1.3 jenkins became unresponsive. It seems work fine with buildgraph view plugin v1.2

jgrant216@gmail.com (JIRA)

unread,
May 19, 2016, 12:06:03 PM5/19/16
to jenkinsc...@googlegroups.com
Jeff G commented on Bug JENKINS-34803

Same issue with my environment.

Ubuntu
Jenkins LTS 1.651.1 and 1.651.2

jgrant216@gmail.com (JIRA)

unread,
May 19, 2016, 12:27:01 PM5/19/16
to jenkinsc...@googlegroups.com
Jeff G edited a comment on Bug JENKINS-34803
Same issue with my environment.

Ubuntu
Jenkins LTS 1.651.1 and 1.651.2

Buildgraph View Plugin 1.3

For now I've disabled the plugin.

rodrigc@FreeBSD.org (JIRA)

unread,
May 19, 2016, 12:48:02 PM5/19/16
to jenkinsc...@googlegroups.com

rodrigc@FreeBSD.org (JIRA)

unread,
May 19, 2016, 12:50:04 PM5/19/16
to jenkinsc...@googlegroups.com

scm_issue_link@java.net (JIRA)

unread,
May 19, 2016, 2:42:03 PM5/19/16
to jenkinsc...@googlegroups.com
SCM/JIRA link daemon commented on Bug JENKINS-34803
 
Re: Update to version 1.3 of build-graph-view plugin crashes Jenkins hard

Code changed in jenkins
User: Suresh Kumar P
Path:
pom.xml
http://jenkins-ci.org/commit/buildgraph-view/482fffadfa7364e846c8d1fdc7bfba562ffafa78
Log:
JENKINS-34803 Fixes Jenkins crash after updating from old versions to 1.3

pskumar448@gmail.com (JIRA)

unread,
May 19, 2016, 2:58:03 PM5/19/16
to jenkinsc...@googlegroups.com

Updated the POM and made dependent plugins as mandate, so that it won't crash.
Released this fix in version 1.3.1, will be available from tomorrow in update center.

Thanks Craig Rodrigues
For bringing this crash issue to my notice by sending email.
I have to take the JIRA issues as default assignee so that I will get to know any blocker issues which needs immediate fix.

pskumar448@gmail.com (JIRA)

unread,
May 19, 2016, 3:01:06 PM5/19/16
to jenkinsc...@googlegroups.com
Suresh Kumar started work on Bug JENKINS-34803
 
Change By: Suresh Kumar
Status: Open In Progress

pskumar448@gmail.com (JIRA)

unread,
May 19, 2016, 3:02:03 PM5/19/16
to jenkinsc...@googlegroups.com
Suresh Kumar resolved as Fixed
 
Change By: Suresh Kumar
Status: In Progress Resolved
Resolution: Fixed

John.Mellor@esentire.com (JIRA)

unread,
Oct 24, 2016, 11:58:02 AM10/24/16
to jenkinsc...@googlegroups.com
John Mellor closed an issue as Fixed
 

Shown to be working in plugin version 1.4

Change By: John Mellor
Status: Resolved Closed
This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages