Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 472181

Summary: Paho Java jobs failing after HIPP Hudson upgrade
Product: Community Reporter: Ian Craggs <icraggs>
Component: CI-JenkinsAssignee: CI Admin Inbox <ci.admin-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: mikael.barbero, webmaster
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Ian Craggs CLA 2015-07-08 10:21:13 EDT
I pressed the button a few weeks back to upgrade the Hudson version on the Paho HIPP.  I forgot about it for a while until today, when I went to the Hudson dashboard and found a Hudson installation panel, where I had to press the "Finish" button.  The dashboard eventually appeared.  

Now two Java Maven builds I've tried have failed with the same error:

https://hudson.eclipse.org/paho/job/paho-java-dev-nightly/lastBuild/console

I haven't changed the build definition, so I don't think this is my problem.  This core error is:

[ERROR] o.h.m.e.EventSpyProcessor - Processing failure; aborting Maven
java.lang.reflect.UndeclaredThrowableException: null
	at com.sun.proxy.$Proxy20.getSettingsDocument(Unknown Source) ~[na:na]
	at org.hudsonci.maven.eventspy_30.handler.SettingsBuildingRequestHandler.handle(SettingsBuildingRequestHandler.java:54) ~[maven3-eventspy-3.0.jar:na]
	at org.hudsonci.maven.eventspy_30.handler.SettingsBuildingRequestHandler.handle(SettingsBuildingRequestHandler.java:43) ~[maven3-eventspy-3.0.jar:na]
	at org.hudsonci.utils.event.EventProcessorSupport.process(EventProcessorSupport.java:117) ~[maven3-eventspy-runtime.jar:na]
	at org.hudsonci.maven.eventspy_30.EventSpyProcessor.process(EventSpyProcessor.java:54) [maven3-eventspy-3.0.jar:na]
	at org.hudsonci.maven.eventspy_30.RemotingEventSpy.onEvent(RemotingEventSpy.java:159) [maven3-eventspy-3.0.jar:na]
	at org.hudsonci.maven.eventspy_30.DelegatingEventSpy.onEvent(DelegatingEventSpy.java:193) [maven3-eventspy-3.0.jar:na]
	at org.apache.maven.eventspy.internal.EventSpyDispatcher.onEvent(EventSpyDispatcher.java:107) [maven-core-3.0.5.jar:3.0.5]
	at org.apache.maven.cli.MavenCli.settings(MavenCli.java:718) [maven-embedder-3.0.5.jar:3.0.5]
	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:193) [maven-embedder-3.0.5.jar:3.0.5]
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) [maven-embedder-3.0.5.jar:3.0.5]
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_45]
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) ~[na:1.6.0_45]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_45]
	at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_45]
	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) [plexus-classworlds-2.4.jar:na]
	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) [plexus-classworlds-2.4.jar:na]
	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) [plexus-classworlds-2.4.jar:na]
	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) [plexus-classworlds-2.4.jar:na]
Caused by: java.io.IOException: Remote call on org.hudsonci.maven.eventspy.common.RemotingClient failed
	at hudson.remoting.Channel.call(Channel.java:652) ~[hudson-remoting-3.0.3.jar:na]
	at hudson.remoting.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:151) ~[hudson-remoting-3.0.3.jar:na]
	at com.sun.proxy.$Proxy19.invoke(Unknown Source) ~[na:na]
	at org.hudsonci.maven.plugin.builder.internal.invoker.RemoteInvokeHandler.invoke(RemoteInvokeHandler.java:129) ~[na:na]
	at org.hudsonci.maven.plugin.builder.internal.invoker.CallbackCloseAwareHandler.invoke(CallbackCloseAwareHandler.java:63) ~[na:na]
	at org.hudsonci.maven.plugin.builder.internal.invoker.ObjectLocalHandler.invoke(ObjectLocalHandler.java:51) ~[na:na]
	... 19 common frames omitted
java.lang.NoSuchFieldError: SYSTEM

Thanks
Comment 1 Mikaƫl Barbero CLA 2015-07-08 10:40:32 EDT
That's because a number of plugins need to be upgraded along with Hudson itself. The panel you clicked on Finsih offers you the ability to do the upgrade, only if your an adminsitrator of Hudson. As you don't have these perms, I just did it and everything should be fine now.
Comment 2 Ian Craggs CLA 2015-07-08 10:57:39 EDT
I did try pressing the "continue" button to upgrade the plugins, as it suggested, but that didn't work, as you described.

Thanks for fixing!