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 | Alexei Vainshtein | 1 year ago
  1. 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
  2. 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
  3. 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 | 10 months 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
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 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 | 10 months 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
  6. 0

    Jenkins build failing at deployment step

    Stack Overflow | 3 months ago | sakshi
    java.lang.IllegalAccessError: tried to access method hudson.plugins.jira.JiraSite.createSession()Lhudson/plugins/jira/JiraSession; from class org.jfrog.hudson.util.IssuesTrackerHelper

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    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:157)
      3. org.jfrog.hudson.maven3.extractor.MavenExtractorEnvironment.buildEnvVars(MavenExtractorEnvironment.java:132)
      3 frames
    3. Hudson
      AbstractBuild.getEnvironment
      1. hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:914)
      1 frame
    4. Hudson Maven Embedder
      MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun
      1. hudson.maven.AbstractMavenBuild.getEnvironment(AbstractMavenBuild.java:59)
      2. hudson.maven.MavenModuleSetBuild.getEnvironment(MavenModuleSetBuild.java:165)
      3. hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:620)
      3 frames
    5. Hudson
      Run.execute
      1. hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:533)
      2. hudson.model.Run.execute(Run.java:1745)
      2 frames
    6. Hudson Maven Embedder
      MavenModuleSetBuild.run
      1. hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:529)
      1 frame
    7. Hudson
      Executor.run
      1. hudson.model.ResourceController.execute(ResourceController.java:89)
      2. hudson.model.Executor.run(Executor.java:240)
      2 frames