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

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

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      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.

        Attachments

          Activity

          Hide
          chr0n1x 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.

          Show
          chr0n1x 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.
          Hide
          notizblock Florian P added a comment -

          I'm using 1.560 and Matrix Project Plugin 1.0.

          Show
          notizblock Florian P added a comment - I'm using 1.560 and Matrix Project Plugin 1.0.
          Hide
          scm_issue_link 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

          Show
          scm_issue_link 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
          Hide
          scm_issue_link 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

          Show
          scm_issue_link 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
          Hide
          mc1arke Michael Clarke added a comment -

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

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

            People

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

              Dates

              Created:
              Updated:
              Resolved: