java.lang.IllegalAccessError

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • After a Jenkins upgrade from 1.544 to 1.562 all multi-platform jobs started to abort themselves for no apparent reason. We have jobs configured to build on three platforms, Win, Mac and Linux. As soon as one of the platforms are ready all the others aborts themselves. This is an extract of the behaviour from the log: May 8, 2014 2:16:42 PM hudson.model.Run execute INFO: AnApplication/Conf=Dbg,label=mac #1651 main build action completed: SUCCESS May 8, 2014 2:21:17 PM hudson.model.Run execute INFO: AnApplication/Conf=Rel,label=mac #1651 main build action completed: SUCCESS May 8, 2014 2:21:36 PM hudson.model.Run execute INFO: AnApplication/Conf=Dbg,label=win #1651 aborted java.lang.InterruptedException at java.lang.Object.wait(Native Method) at hudson.remoting.Request.call(Request.java:146) at hudson.remoting.Channel.call(Channel.java:739) at hudson.remoting.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:168) at $Proxy62.join(Unknown Source) at hudson.Launcher$RemoteLauncher$ProcImpl.join(Launcher.java:951) at hudson.Launcher$ProcStarter.join(Launcher.java:362) at hudson.plugins.xshell.XShellBuilder.perform(XShellBuilder.java:118) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:745) at hudson.model.Build$BuildExecution.build(Build.java:198) at hudson.model.Build$BuildExecution.doRun(Build.java:159) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:518) at hudson.model.Run.execute(Run.java:1704) at hudson.matrix.MatrixRun.run(MatrixRun.java:146) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:231) May 8, 2014 2:21:36 PM hudson.model.Run execute INFO: AnApplication/Conf=Dbg,label=linux #1651 aborted java.lang.InterruptedException at java.lang.Object.wait(Native Method) at hudson.remoting.Request.call(Request.java:146) at hudson.remoting.Channel.call(Channel.java:739) at hudson.remoting.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:168) at $Proxy62.join(Unknown Source) at hudson.Launcher$RemoteLauncher$ProcImpl.join(Launcher.java:951) at hudson.Launcher$ProcStarter.join(Launcher.java:362) at hudson.plugins.xshell.XShellBuilder.perform(XShellBuilder.java:118) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:745) at hudson.model.Build$BuildExecution.build(Build.java:198) at hudson.model.Build$BuildExecution.doRun(Build.java:159) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:518) at hudson.model.Run.execute(Run.java:1704) Additional information: FATAL: tried to access method hudson.tasks.test.AggregatedTestResultAction.add(Lhudson/tasks/test/AbstractTestResultAction;)V from class hudson.tasks.test.TestResultAggregator java.lang.IllegalAccessError: tried to access method hudson.tasks.test.AggregatedTestResultAction.add(Lhudson/tasks/test/AbstractTestResultAction;)V from class hudson.tasks.test.TestResultAggregator at hudson.tasks.test.TestResultAggregator.endRun(TestResultAggregator.java:57) at hudson.matrix.DefaultMatrixExecutionStrategyImpl.notifyEndBuild(DefaultMatrixExecutionStrategyImpl.java:219) at hudson.matrix.DefaultMatrixExecutionStrategyImpl.run(DefaultMatrixExecutionStrategyImpl.java:162) at hudson.matrix.MatrixBuild$MatrixBuildExecution.doRun(MatrixBuild.java:357) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:518) at hudson.model.Run.execute(Run.java:1704) at hudson.matrix.MatrixBuild.run(MatrixBuild.java:306) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:231) at hudson.model.OneOffExecutor.run(OneOffExecutor.java:43)
    via by Kent Granström,
  • After a Jenkins upgrade from 1.544 to 1.562 all multi-platform jobs started to abort themselves for no apparent reason. We have jobs configured to build on three platforms, Win, Mac and Linux. As soon as one of the platforms are ready all the others aborts themselves. This is an extract of the behaviour from the log: May 8, 2014 2:16:42 PM hudson.model.Run execute INFO: AnApplication/Conf=Dbg,label=mac #1651 main build action completed: SUCCESS May 8, 2014 2:21:17 PM hudson.model.Run execute INFO: AnApplication/Conf=Rel,label=mac #1651 main build action completed: SUCCESS May 8, 2014 2:21:36 PM hudson.model.Run execute INFO: AnApplication/Conf=Dbg,label=win #1651 aborted java.lang.InterruptedException at java.lang.Object.wait(Native Method) at hudson.remoting.Request.call(Request.java:146) at hudson.remoting.Channel.call(Channel.java:739) at hudson.remoting.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:168) at $Proxy62.join(Unknown Source) at hudson.Launcher$RemoteLauncher$ProcImpl.join(Launcher.java:951) at hudson.Launcher$ProcStarter.join(Launcher.java:362) at hudson.plugins.xshell.XShellBuilder.perform(XShellBuilder.java:118) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:745) at hudson.model.Build$BuildExecution.build(Build.java:198) at hudson.model.Build$BuildExecution.doRun(Build.java:159) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:518) at hudson.model.Run.execute(Run.java:1704) at hudson.matrix.MatrixRun.run(MatrixRun.java:146) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:231) May 8, 2014 2:21:36 PM hudson.model.Run execute INFO: AnApplication/Conf=Dbg,label=linux #1651 aborted java.lang.InterruptedException at java.lang.Object.wait(Native Method) at hudson.remoting.Request.call(Request.java:146) at hudson.remoting.Channel.call(Channel.java:739) at hudson.remoting.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:168) at $Proxy62.join(Unknown Source) at hudson.Launcher$RemoteLauncher$ProcImpl.join(Launcher.java:951) at hudson.Launcher$ProcStarter.join(Launcher.java:362) at hudson.plugins.xshell.XShellBuilder.perform(XShellBuilder.java:118) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:745) at hudson.model.Build$BuildExecution.build(Build.java:198) at hudson.model.Build$BuildExecution.doRun(Build.java:159) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:518) at hudson.model.Run.execute(Run.java:1704) Additional information: FATAL: tried to access method hudson.tasks.test.AggregatedTestResultAction.add(Lhudson/tasks/test/AbstractTestResultAction;)V from class hudson.tasks.test.TestResultAggregator java.lang.IllegalAccessError: tried to access method hudson.tasks.test.AggregatedTestResultAction.add(Lhudson/tasks/test/AbstractTestResultAction;)V from class hudson.tasks.test.TestResultAggregator at hudson.tasks.test.TestResultAggregator.endRun(TestResultAggregator.java:57) at hudson.matrix.DefaultMatrixExecutionStrategyImpl.notifyEndBuild(DefaultMatrixExecutionStrategyImpl.java:219) at hudson.matrix.DefaultMatrixExecutionStrategyImpl.run(DefaultMatrixExecutionStrategyImpl.java:162) at hudson.matrix.MatrixBuild$MatrixBuildExecution.doRun(MatrixBuild.java:357) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:518) at hudson.model.Run.execute(Run.java:1704) at hudson.matrix.MatrixBuild.run(MatrixBuild.java:306) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:231) at hudson.model.OneOffExecutor.run(OneOffExecutor.java:43)
    via by Kent Granström,
    • java.lang.IllegalAccessError: tried to access method hudson.tasks.test.AggregatedTestResultAction.add(Lhudson/tasks/test/AbstractTestResultAction;)V from class hudson.tasks.test.TestResultAggregator at hudson.tasks.test.TestResultAggregator.endRun(TestResultAggregator.java:57) at hudson.matrix.DefaultMatrixExecutionStrategyImpl.notifyEndBuild(DefaultMatrixExecutionStrategyImpl.java:219) at hudson.matrix.DefaultMatrixExecutionStrategyImpl.run(DefaultMatrixExecutionStrategyImpl.java:162) at hudson.matrix.MatrixBuild$MatrixBuildExecution.doRun(MatrixBuild.java:357) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:518) at hudson.model.Run.execute(Run.java:1704) at hudson.matrix.MatrixBuild.run(MatrixBuild.java:306) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:231) at hudson.model.OneOffExecutor.run(OneOffExecutor.java:43)
    No Bugmate found.