java.lang.IllegalAccessError: tried to access method hudson.tasks.test.AggregatedTestResultAction.add(Lhudson/tasks/test/AbstractTestResultAction;)V from class hudson.tasks.test.TestResultAggregator

Jenkins JIRA | Florian P | 3 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    The exception below occurs when building a matrix project. The build itself works, but is marked as failure because of the following exception. {code} 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:1709) 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) {code} Version 1.561 is affected, a downgrade to 1.560 solves the issue for me.

    Jenkins JIRA | 3 years ago | Florian P
    java.lang.IllegalAccessError: tried to access method hudson.tasks.test.AggregatedTestResultAction.add(Lhudson/tasks/test/AbstractTestResultAction;)V from class hudson.tasks.test.TestResultAggregator
  2. 0

    The exception below occurs when building a matrix project. The build itself works, but is marked as failure because of the following exception. {code} 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:1709) 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) {code} Version 1.561 is affected, a downgrade to 1.560 solves the issue for me.

    Jenkins JIRA | 3 years ago | Florian P
    java.lang.IllegalAccessError: tried to access method hudson.tasks.test.AggregatedTestResultAction.add(Lhudson/tasks/test/AbstractTestResultAction;)V from class hudson.tasks.test.TestResultAggregator
  3. 0

    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)

    Jenkins JIRA | 3 years ago | 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
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    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)

    Jenkins JIRA | 3 years ago | 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

    Root Cause Analysis

    1. 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()
    2. Hudson
      OneOffExecutor.run
      1. hudson.tasks.test.TestResultAggregator.endRun(TestResultAggregator.java:57)
      2. hudson.matrix.DefaultMatrixExecutionStrategyImpl.notifyEndBuild(DefaultMatrixExecutionStrategyImpl.java:219)
      3. hudson.matrix.DefaultMatrixExecutionStrategyImpl.run(DefaultMatrixExecutionStrategyImpl.java:162)
      4. hudson.matrix.MatrixBuild$MatrixBuildExecution.doRun(MatrixBuild.java:357)
      5. hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:518)
      6. hudson.model.Run.execute(Run.java:1709)
      7. hudson.matrix.MatrixBuild.run(MatrixBuild.java:306)
      8. hudson.model.ResourceController.execute(ResourceController.java:88)
      9. hudson.model.Executor.run(Executor.java:231)
      10. hudson.model.OneOffExecutor.run(OneOffExecutor.java:43)
      10 frames