java.lang.IllegalAccessError: tried to access method hudson.plugins.jira.JiraSite.createSession()Lhudson/plugins/jira/JiraSession; from class org.jfrog.hudson.util.IssuesTrackerHelper

JFrog JIRA | Eli Givoni | 1 year 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

    After upgrading Jira plugin from version 1.3.9 to 2.0.3 I get this error when triggering maven build with the Jira integration enabled {noformat} FATAL: tried to access method hudson.plugins.jira.JiraSite.createSession()Lhudson/plugins/jira/JiraSession; from class org.jfrog.hudson.util.IssuesTrackerHelper java.lang.IllegalAccessError: tried to access method hudson.plugins.jira.JiraSite.createSession()Lhudson/plugins/jira/JiraSession; from class org.jfrog.hudson.util.IssuesTrackerHelper at org.jfrog.hudson.util.IssuesTrackerHelper.<init>(IssuesTrackerHelper.java:47) at org.jfrog.hudson.util.ExtractorUtils.addBuilderInfoArguments(ExtractorUtils.java:152) at org.jfrog.hudson.maven3.extractor.MavenExtractorEnvironment.buildEnvVars(MavenExtractorEnvironment.java:132) at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:947) at hudson.maven.AbstractMavenBuild.getEnvironment(AbstractMavenBuild.java:56) at hudson.maven.MavenModuleSetBuild.getEnvironment(MavenModuleSetBuild.java:166) at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:622) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534) at hudson.model.Run.execute(Run.java:1738) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:531) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:410) {noformat}

    JFrog JIRA | 1 year ago | Eli Givoni
    java.lang.IllegalAccessError: tried to access method hudson.plugins.jira.JiraSite.createSession()Lhudson/plugins/jira/JiraSession; from class org.jfrog.hudson.util.IssuesTrackerHelper
  2. 0

    After upgrading Jira plugin from version 1.3.9 to 2.0.3 I get this error when triggering maven build with the Jira integration enabled {noformat} FATAL: tried to access method hudson.plugins.jira.JiraSite.createSession()Lhudson/plugins/jira/JiraSession; from class org.jfrog.hudson.util.IssuesTrackerHelper java.lang.IllegalAccessError: tried to access method hudson.plugins.jira.JiraSite.createSession()Lhudson/plugins/jira/JiraSession; from class org.jfrog.hudson.util.IssuesTrackerHelper at org.jfrog.hudson.util.IssuesTrackerHelper.<init>(IssuesTrackerHelper.java:47) at org.jfrog.hudson.util.ExtractorUtils.addBuilderInfoArguments(ExtractorUtils.java:152) at org.jfrog.hudson.maven3.extractor.MavenExtractorEnvironment.buildEnvVars(MavenExtractorEnvironment.java:132) at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:947) at hudson.maven.AbstractMavenBuild.getEnvironment(AbstractMavenBuild.java:56) at hudson.maven.MavenModuleSetBuild.getEnvironment(MavenModuleSetBuild.java:166) at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:622) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534) at hudson.model.Run.execute(Run.java:1738) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:531) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:410) {noformat}

    JFrog JIRA | 1 year ago | Eli Givoni
    java.lang.IllegalAccessError: tried to access method hudson.plugins.jira.JiraSite.createSession()Lhudson/plugins/jira/JiraSession; from class org.jfrog.hudson.util.IssuesTrackerHelper
  3. 0

    When using JIRA plugin 2.0.2, the build fails with the following: {code} FATAL: tried to access method hudson.plugins.jira.JiraSite.createSession()Lhudson/plugins/jira/JiraSession; from class org.jfrog.hudson.util.IssuesTrackerHelper java.lang.IllegalAccessError: tried to access method hudson.plugins.jira.JiraSite.createSession()Lhudson/plugins/jira/JiraSession; from class org.jfrog.hudson.util.IssuesTrackerHelper at org.jfrog.hudson.util.IssuesTrackerHelper.<init>(IssuesTrackerHelper.java:47) at org.jfrog.hudson.util.ExtractorUtils.addBuilderInfoArguments(ExtractorUtils.java:157) at org.jfrog.hudson.maven3.extractor.MavenExtractorEnvironment.buildEnvVars(MavenExtractorEnvironment.java:132) at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:914) at hudson.maven.AbstractMavenBuild.getEnvironment(AbstractMavenBuild.java:59) at hudson.maven.MavenModuleSetBuild.getEnvironment(MavenModuleSetBuild.java:165) at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:620) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:533) at hudson.model.Run.execute(Run.java:1745) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:529) at hudson.model.ResourceController.execute(ResourceController.java:89) at hudson.model.Executor.run(Executor.java:240) {code} Steps to reproduce: 1. Install JIRA. 2. In the manage screen configure the JIRA client. 3. Run Maven build with Enable JIRA integration. 4. The build would fail with the above error.

    JFrog JIRA | 1 year ago | Alexei Vainshtein
    java.lang.IllegalAccessError: tried to access method hudson.plugins.jira.JiraSite.createSession()Lhudson/plugins/jira/JiraSession; from class org.jfrog.hudson.util.IssuesTrackerHelper
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    When using JIRA plugin 2.0.2, the build fails with the following: {code} FATAL: tried to access method hudson.plugins.jira.JiraSite.createSession()Lhudson/plugins/jira/JiraSession; from class org.jfrog.hudson.util.IssuesTrackerHelper java.lang.IllegalAccessError: tried to access method hudson.plugins.jira.JiraSite.createSession()Lhudson/plugins/jira/JiraSession; from class org.jfrog.hudson.util.IssuesTrackerHelper at org.jfrog.hudson.util.IssuesTrackerHelper.<init>(IssuesTrackerHelper.java:47) at org.jfrog.hudson.util.ExtractorUtils.addBuilderInfoArguments(ExtractorUtils.java:157) at org.jfrog.hudson.maven3.extractor.MavenExtractorEnvironment.buildEnvVars(MavenExtractorEnvironment.java:132) at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:914) at hudson.maven.AbstractMavenBuild.getEnvironment(AbstractMavenBuild.java:59) at hudson.maven.MavenModuleSetBuild.getEnvironment(MavenModuleSetBuild.java:165) at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:620) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:533) at hudson.model.Run.execute(Run.java:1745) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:529) at hudson.model.ResourceController.execute(ResourceController.java:89) at hudson.model.Executor.run(Executor.java:240) {code} Steps to reproduce: 1. Install JIRA. 2. In the manage screen configure the JIRA client. 3. Run Maven build with Enable JIRA integration. 4. The build would fail with the above error.

    JFrog JIRA | 1 year ago | Alexei Vainshtein
    java.lang.IllegalAccessError: tried to access method hudson.plugins.jira.JiraSite.createSession()Lhudson/plugins/jira/JiraSession; from class org.jfrog.hudson.util.IssuesTrackerHelper

    Root Cause Analysis

    1. java.lang.IllegalAccessError

      tried to access method hudson.plugins.jira.JiraSite.createSession()Lhudson/plugins/jira/JiraSession; from class org.jfrog.hudson.util.IssuesTrackerHelper

      at org.jfrog.hudson.util.IssuesTrackerHelper.<init>()
    2. org.jfrog.hudson
      MavenExtractorEnvironment.buildEnvVars
      1. org.jfrog.hudson.util.IssuesTrackerHelper.<init>(IssuesTrackerHelper.java:47)
      2. org.jfrog.hudson.util.ExtractorUtils.addBuilderInfoArguments(ExtractorUtils.java:152)
      3. org.jfrog.hudson.maven3.extractor.MavenExtractorEnvironment.buildEnvVars(MavenExtractorEnvironment.java:132)
      3 frames
    3. Hudson
      AbstractBuild.getEnvironment
      1. hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:947)
      1 frame
    4. Hudson Maven Embedder
      MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun
      1. hudson.maven.AbstractMavenBuild.getEnvironment(AbstractMavenBuild.java:56)
      2. hudson.maven.MavenModuleSetBuild.getEnvironment(MavenModuleSetBuild.java:166)
      3. hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:622)
      3 frames
    5. Hudson
      Run.execute
      1. hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534)
      2. hudson.model.Run.execute(Run.java:1738)
      2 frames
    6. Hudson Maven Embedder
      MavenModuleSetBuild.run
      1. hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:531)
      1 frame
    7. Hudson
      Executor.run
      1. hudson.model.ResourceController.execute(ResourceController.java:98)
      2. hudson.model.Executor.run(Executor.java:410)
      2 frames