Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Hudson » Trying to upgrade from Hudson 3.2.2 to 3.3.0
Trying to upgrade from Hudson 3.2.2 to 3.3.0 [message #1702037] Fri, 17 July 2015 19:39 Go to next message
Gary Sturgeon is currently offline Gary SturgeonFriend
Messages: 2
Registered: July 2015
Junior Member
I did the automatic upgrade and updated the plugins it suggested.

Hudson comes up fine, but my maven builds all fail. I checked that I wasn't pointing to java 1.6 anywhere so I'm at a loss.

I saw this forum post with a google search, but that is back in 2012. http://www.eclipse.org/forums/index.php?t=rview&goto=895999

[CES-trunk-CI] $ C:\Builds\maven\slavebundle\bundled-maven\bin\mvn.bat clean install -V -B -Dmaven.repository.remote.dir=/prod/CommonBundleDepot/products/Enterprise/CES/trunk-ci/maven-repo -Dp2.repository.remote.dir=/prod/CommonBundleDepot/products/Enterprise/CES/trunk-ci -Dmaven.repo=C:\Builds\workspace\CES-trunk-CI/.maven/repo -Dbuild.type=CICQC -Dproduction=1 -Dmaven.ext.class.path=C:\Builds\maven\slavebundle\resources;C:\Builds\maven\slavebundle\lib\maven3-eventspy-3.1.jar;C:\_slave.jar -Dhudson.eventspy.port=51012 -Dmaven.repo.local=C:\Builds\workspace\CES-trunk-CI\.maven\repo -f com.compuware.ces.parent/pom.xml -U
15:12:05 [ERROR] Failure: java.lang.ArrayIndexOutOfBoundsException: 0
15:12:05 FATAL: java.lang.ArrayIndexOutOfBoundsException: 0
15:12:05 org.hudsonci.utils.tasks.OperationFailure: java.lang.ArrayIndexOutOfBoundsException: 0
15:12:05 at org.hudsonci.utils.tasks.PerformOperation.execute(PerformOperation.java:64)
15:12:05 at org.hudsonci.maven.plugin.builder.MavenBuilder.perform(MavenBuilder.java:169)
15:12:05 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:34)
15:12:05 at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:736)
15:12:05 at hudson.model.Build$RunnerImpl.build(Build.java:181)
15:12:05 at hudson.model.Build$RunnerImpl.doRun(Build.java:136)
15:12:05 at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:524)
15:12:05 at hudson.model.Run.run(Run.java:1493)
15:12:05 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:44)
15:12:05 at hudson.model.ResourceController.execute(ResourceController.java:82)
15:12:05 at hudson.model.Executor.run(Executor.java:137)
15:12:05 Caused by: java.lang.ArrayIndexOutOfBoundsException: 0
15:12:05 at hudson.remoting.RemoteInvocationHandler$RPCRequest.choose(RemoteInvocationHandler.java:288)
15:12:05 at hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:266)
15:12:05 at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:251)
15:12:05 at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:211)
15:12:05 at hudson.remoting.UserRequest.perform(UserRequest.java:107)
15:12:05 at hudson.remoting.UserRequest.perform(UserRequest.java:41)
15:12:05 at hudson.remoting.Request$2.run(Request.java:276)
15:12:05 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
15:12:05 at java.util.concurrent.FutureTask.run(FutureTask.java:262)
15:12:05 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
15:12:05 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
15:12:05 at hudson.remoting.Engine$1$1.run(Engine.java:53)
15:12:05 at java.lang.Thread.run(Thread.java:745)
Re: Trying to upgrade from Hudson 3.2.2 to 3.3.0 [message #1702354 is a reply to message #1702037] Tue, 21 July 2015 17:03 Go to previous messageGo to next message
Gary Sturgeon is currently offline Gary SturgeonFriend
Messages: 2
Registered: July 2015
Junior Member
Not sure why, but I resolved the issue.

My slave nodes are started by JNLP. I had to use the new slave.jar on the slave nodes. Then the maven build was able to run.
Re: Trying to upgrade from Hudson 3.2.2 to 3.3.0 [message #1702372 is a reply to message #1702354] Tue, 21 July 2015 21:19 Go to previous message
Winston Prakash is currently offline Winston PrakashFriend
Messages: 534
Registered: August 2011
Location: Fremont, CA USA
Senior Member
Hmm.. that is weird. The slave.jar is not updated in 3.3.0, it was updated in 3.2.1. Only requirement in 3.3.0 is both master and slave must use JDK 7.

However, there was an upgrade to maven plugin. But that should not cause any problem.

Anyway, glad to know everything works for you now.


Winston Prakash
Eclipse Hudson team
Previous Topic:Announcement: Hudson 3.3.0 is now available
Next Topic:Advice requested: Best route for upgrade from version 2.2.1?
Goto Forum:
  


Current Time: Fri May 03 09:34:00 GMT 2024

Powered by FUDForum. Page generated in 0.03004 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top