Jenkins won't start up: IndexOutOfBoundsException: Index: 0, Size: 0

1,645 views
Skip to first unread message

Edmond Chhung

unread,
Mar 5, 2015, 8:26:41 PM3/5/15
to jenkins...@googlegroups.com
Hi Guys,


I just updated some plugins (I dont know what they were) from the jenkins gui and I restarted. Then either the error came up or something similar. I had a look at a few blog posts and they said to delete the jpi files and folders from plugins so jenkins would re grab it. I did this and it still comes up with this error. 

I have no idea how to fix this and I need this up and running soon. Any help would be greatly appreciated..... I am totally stuck

Thanks


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:914)
        at jenkins.model.Jenkins.<init>(Jenkins.java:813)
        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:109)
        at hudson.init.TaskMethodFinder$TaskImpl.run(TaskMethodFinder.java:169)
        at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282)
        at jenkins.model.Jenkins$7.runTask(Jenkins.java:903)
        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:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at hudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:105)
        ... 8 more
Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
        at java.util.ArrayList.rangeCheck(ArrayList.java:635)
        at java.util.ArrayList.get(ArrayList.java:411)
        at hudson.ExtensionList.get(ExtensionList.java:158)
        at hudson.PluginManager$PluginUpdateMonitor.getInstance(PluginManager.java:1257)
        at hudson.maven.PluginImpl.init(PluginImpl.java:58)
        ... 13 more

Baptiste Mathus

unread,
Mar 6, 2015, 3:32:26 AM3/6/15
to jenkins...@googlegroups.com
Please provide the JDK version you're using, Jenkins version, ...

That exception reminds me of something: would you by chance be using JDK 8 and an old version of Jenkins like <1.565 or something?

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/0321d83a-febf-479a-8c47-7f1603c5305b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
Baptiste <Batmat> MATHUS - http://batmat.net
Sauvez un arbre,
Mangez un castor !
nbsp;!
Message has been deleted

Edmond Chhung

unread,
Mar 7, 2015, 1:45:37 PM3/7/15
to jenkins...@googlegroups.com, m...@batmat.net

Thanks for the help I am using jdk 7 with version 1.596.1

Ed

Hugo M

unread,
Mar 20, 2015, 11:14:53 AM3/20/15
to jenkins...@googlegroups.com, m...@batmat.net
I have the same problem as the described here.

$ java -version
java version "1.6.0_34"
OpenJDK Runtime Environment (IcedTea6 1.13.6) (6b34-1.13.6-1ubuntu0.12.04.1)
OpenJDK 64-Bit Server VM (build 23.25-b01, mixed mode)

Jenkins version: 1.424.6+dfsg-1

OS:

$ lsb_release -a
No LSB modules are available.
Distributor ID:    Ubuntu
Description:    Ubuntu 12.04.5 LTS
Release:    12.04
Codename:    precise
Reply all
Reply to author
Forward
0 new messages