Jenkins 1.496 CLI: java.lang.IllegalAccessError: org/kohsuke/args4j/CmdLineParser$1

26 views
Skip to first unread message

John Vacz

unread,
Jan 3, 2013, 11:24:40 AM1/3/13
to Jenkins Users
Hello,

I am getting exception from jenkins CLI since upgraded to version 1.496:

+ java -jar jenkins-cli.jar -s http://myjenkins:8080/jenkins -i /home/jenkins-slave/.ssh/id_rsa login
Exception in thread "main" java.lang.reflect.UndeclaredThrowableException
	at $Proxy2.main(Unknown Source)
	at hudson.cli.CLI.execute(CLI.java:323)
	at hudson.cli.CLI._main(CLI.java:469)
	at hudson.cli.CLI.main(CLI.java:374)
Caused by: java.io.IOException: Remote call on Chunked connection to http://myjenkins:8080/jenkins/cli failed
	at hudson.remoting.Channel.call(Channel.java:681)
	at hudson.remoting.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:158)
	... 4 more
Caused by: java.lang.IllegalAccessError: org/kohsuke/args4j/CmdLineParser$1
	at org.kohsuke.args4j.CmdLineParser.<init>(CmdLineParser.java:94)
	at hudson.cli.CLICommand.main(CLICommand.java:211)
	at hudson.cli.CliManagerImpl.main(CliManagerImpl.java:92)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:275)
	at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:256)
	at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:215)
	at hudson.remoting.UserRequest.perform(UserRequest.java:118)
	at hudson.remoting.UserRequest.perform(UserRequest.java:48)
	at hudson.remoting.Request$2.run(Request.java:326)
	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
	at hudson.cli.CliManagerImpl$1.call(CliManagerImpl.java:63)
	at hudson.remoting.InterceptingExecutorService$2.call(InterceptingExecutorService.java:95)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
	at java.lang.Thread.run(Thread.java:662)

Downgrade to 1.495 fixed the problem. Is there anyone having the same problem?

-vf

John Vacz

unread,
Jan 3, 2013, 11:28:23 AM1/3/13
to Jenkins Users
Some more info:
This is a job executed in a debian slave, our jenkins master is also running on debian. It worked perfectly well in the last months (probably over 1 year).
Reply all
Reply to author
Forward
0 new messages