Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-22798

FATAL: tried to access method hudson.tasks.test.AggregatedTestResultAction.add

      The exception below occurs when building a matrix project. The build itself works, but is marked as failure because of the following exception.

      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)
      

      Version 1.561 is affected, a downgrade to 1.560 solves the issue for me.

          [JENKINS-22798] FATAL: tried to access method hudson.tasks.test.AggregatedTestResultAction.add

          Nevermind, I was able to change it some myself

          Jerry Lundström added a comment - Nevermind, I was able to change it some myself

          Kevin R. added a comment -

          Seeing the same issue here.

          CentOS 6.4
          Jenkins 1.561

          This seems to be happening specifically on slaves. My slaves are being spun up in AWS EC2, not sure if that would do anything or help.

          Kevin R. added a comment - Seeing the same issue here. CentOS 6.4 Jenkins 1.561 This seems to be happening specifically on slaves. My slaves are being spun up in AWS EC2, not sure if that would do anything or help.

          Florian P added a comment -

          The problem still exists on 1.562.

          Florian P added a comment - The problem still exists on 1.562.

          Just confirming I also see the issue on 1.561/1.562

          Thomas Robitaille added a comment - Just confirming I also see the issue on 1.561/1.562

          Kevin R. added a comment -

          Has anyone seen this issue on any other version? I'm downgrading through releases, trying to find some point of regression.

          Kevin R. added a comment - Has anyone seen this issue on any other version? I'm downgrading through releases, trying to find some point of regression.

          Kevin R. added a comment -

          On 1.560 now, seems to be working. I've done two things: downgrade from 1.56(1/2) and downgraded the matrix plugin to 1.0-beta.

          Kevin R. added a comment - On 1.560 now, seems to be working. I've done two things: downgrade from 1.56(1/2) and downgraded the matrix plugin to 1.0-beta.

          Florian P added a comment -

          I'm using 1.560 and Matrix Project Plugin 1.0.

          Florian P added a comment - I'm using 1.560 and Matrix Project Plugin 1.0.

          Code changed in jenkins
          User: Michael Clarke
          Path:
          src/main/java/hudson/tasks/test/MatrixTestResult.java
          http://jenkins-ci.org/commit/matrix-project-plugin/1994f5e5cd4fce1ff6e4e6510dca2d54527ee416
          Log:
          [FIXED JENKINS-22798] Fix method visiblilty issues

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Michael Clarke Path: src/main/java/hudson/tasks/test/MatrixTestResult.java http://jenkins-ci.org/commit/matrix-project-plugin/1994f5e5cd4fce1ff6e4e6510dca2d54527ee416 Log: [FIXED JENKINS-22798] Fix method visiblilty issues

          Code changed in jenkins
          User: Jesse Glick
          Path:
          src/main/java/hudson/tasks/test/MatrixTestResult.java
          http://jenkins-ci.org/commit/matrix-project-plugin/9d167143b0d42f7b0a631e0f423cb827d3ead2f7
          Log:
          Merge pull request #2 from mc1arke/JENKINS-22798

          [FIXED JENKINS-22798] Fix method visiblilty issue

          Compare: https://github.com/jenkinsci/matrix-project-plugin/compare/111ea036b04d...9d167143b0d4

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: src/main/java/hudson/tasks/test/MatrixTestResult.java http://jenkins-ci.org/commit/matrix-project-plugin/9d167143b0d42f7b0a631e0f423cb827d3ead2f7 Log: Merge pull request #2 from mc1arke/ JENKINS-22798 [FIXED JENKINS-22798] Fix method visiblilty issue Compare: https://github.com/jenkinsci/matrix-project-plugin/compare/111ea036b04d...9d167143b0d4

          This has been release in version 1.2 of the matrix-project plugin

          Michael Clarke added a comment - This has been release in version 1.2 of the matrix-project plugin

            mc1arke Michael Clarke
            notizblock Florian P
            Votes:
            9 Vote for this issue
            Watchers:
            18 Start watching this issue

              Created:
              Updated:
              Resolved: