java.lang.IllegalAccessError: tried to access method hudson.scm.ChangeLogSet$Entry.setParent(Lhudson/scm/ChangeLogSet;)V from class hudson.scm.SubversionChangeLogSet

Jenkins JIRA | Stephen RC | 6 years ago
  1. 0

    I have my projects setup to use SVN, with the "Poll SCM" option set to look for changes periodically. I can manually initiate a build, which successfully updates the local copy of the repository and builds. However, whenever Jenkins automatically identifies that there is a new version (i.e. via the 'Poll SCM' method), it throws the following error: Started by an SCM change Cleaning workspace /var/lib/jenkins/jobs/BuildTest/workspace Checking out https://source.dev.uber.com.au/svn/buildtest/trunk revision: May 20, 2011 9:09:28 AM depth:infinity ignoreExternals: true A tests A application A application/Test2Subdir.php A application/ExtendBreak.php AU .project AU build.xml A public A public/Test1Root.php At revision 11 FATAL: tried to access method hudson.scm.ChangeLogSet$Entry.setParent(Lhudson/scm/ChangeLogSet;)V from class hudson.scm.SubversionChangeLogSet java.lang.IllegalAccessError: tried to access method hudson.scm.ChangeLogSet$Entry.setParent(Lhudson/scm/ChangeLogSet;)V from class hudson.scm.SubversionChangeLogSet at hudson.scm.SubversionChangeLogSet.<init>(SubversionChangeLogSet.java:65) at hudson.scm.SubversionChangeLogParser.parse(SubversionChangeLogParser.java:71) at hudson.scm.SubversionChangeLogParser.parse(SubversionChangeLogParser.java:43) at hudson.model.AbstractBuild.calcChangeSet(AbstractBuild.java:734) at hudson.model.AbstractBuild.access$600(AbstractBuild.java:93) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:541) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:424) at hudson.model.Run.run(Run.java:1374) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:145) I am new to Jenkins, and every repository/project I try gets this problem... I'm going to need to find a different CI system if I can't get this working. Any ideas what I can do to get this working for me?

    Jenkins JIRA | 6 years ago | Stephen RC
    java.lang.IllegalAccessError: tried to access method hudson.scm.ChangeLogSet$Entry.setParent(Lhudson/scm/ChangeLogSet;)V from class hudson.scm.SubversionChangeLogSet
  2. 0

    I have my projects setup to use SVN, with the "Poll SCM" option set to look for changes periodically. I can manually initiate a build, which successfully updates the local copy of the repository and builds. However, whenever Jenkins automatically identifies that there is a new version (i.e. via the 'Poll SCM' method), it throws the following error: Started by an SCM change Cleaning workspace /var/lib/jenkins/jobs/BuildTest/workspace Checking out https://source.dev.uber.com.au/svn/buildtest/trunk revision: May 20, 2011 9:09:28 AM depth:infinity ignoreExternals: true A tests A application A application/Test2Subdir.php A application/ExtendBreak.php AU .project AU build.xml A public A public/Test1Root.php At revision 11 FATAL: tried to access method hudson.scm.ChangeLogSet$Entry.setParent(Lhudson/scm/ChangeLogSet;)V from class hudson.scm.SubversionChangeLogSet java.lang.IllegalAccessError: tried to access method hudson.scm.ChangeLogSet$Entry.setParent(Lhudson/scm/ChangeLogSet;)V from class hudson.scm.SubversionChangeLogSet at hudson.scm.SubversionChangeLogSet.<init>(SubversionChangeLogSet.java:65) at hudson.scm.SubversionChangeLogParser.parse(SubversionChangeLogParser.java:71) at hudson.scm.SubversionChangeLogParser.parse(SubversionChangeLogParser.java:43) at hudson.model.AbstractBuild.calcChangeSet(AbstractBuild.java:734) at hudson.model.AbstractBuild.access$600(AbstractBuild.java:93) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:541) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:424) at hudson.model.Run.run(Run.java:1374) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:145) I am new to Jenkins, and every repository/project I try gets this problem... I'm going to need to find a different CI system if I can't get this working. Any ideas what I can do to get this working for me?

    Jenkins JIRA | 6 years ago | Stephen RC
    java.lang.IllegalAccessError: tried to access method hudson.scm.ChangeLogSet$Entry.setParent(Lhudson/scm/ChangeLogSet;)V from class hudson.scm.SubversionChangeLogSet
  3. 0

    After task finish the SVN update, the task fails with this message error At revision 125767 FATAL: tried to access method hudson.scm.ChangeLogSet$Entry.setParent(Lhudson/scm/ChangeLogSet;)V from class hudson.scm.SubversionChangeLogSet java.lang.IllegalAccessError: tried to access method hudson.scm.ChangeLogSet$Entry.setParent(Lhudson/scm/ChangeLogSet;)V from class hudson.scm.SubversionChangeLogSet at hudson.scm.SubversionChangeLogSet.<init>(SubversionChangeLogSet.java:65) at hudson.scm.SubversionChangeLogParser.parse(SubversionChangeLogParser.java:71) at hudson.scm.SubversionChangeLogParser.parse(SubversionChangeLogParser.java:43) at hudson.model.AbstractBuild.calcChangeSet(AbstractBuild.java:692) at hudson.model.AbstractBuild.access$600(AbstractBuild.java:90) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:504) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:415) at hudson.model.Run.run(Run.java:1362) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:145) I'm using Hudson 2.0 and also 1.396 both with subversion pluggin 2.0 and always fails. If there aren't changes between builds, the task finish successfully.

    Jenkins JIRA | 6 years ago | Fernando Rosado Altamirano
    java.lang.IllegalAccessError: tried to access method hudson.scm.ChangeLogSet$Entry.setParent(Lhudson/scm/ChangeLogSet;)V from class hudson.scm.SubversionChangeLogSet
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    After task finish the SVN update, the task fails with this message error At revision 125767 FATAL: tried to access method hudson.scm.ChangeLogSet$Entry.setParent(Lhudson/scm/ChangeLogSet;)V from class hudson.scm.SubversionChangeLogSet java.lang.IllegalAccessError: tried to access method hudson.scm.ChangeLogSet$Entry.setParent(Lhudson/scm/ChangeLogSet;)V from class hudson.scm.SubversionChangeLogSet at hudson.scm.SubversionChangeLogSet.<init>(SubversionChangeLogSet.java:65) at hudson.scm.SubversionChangeLogParser.parse(SubversionChangeLogParser.java:71) at hudson.scm.SubversionChangeLogParser.parse(SubversionChangeLogParser.java:43) at hudson.model.AbstractBuild.calcChangeSet(AbstractBuild.java:692) at hudson.model.AbstractBuild.access$600(AbstractBuild.java:90) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:504) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:415) at hudson.model.Run.run(Run.java:1362) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:145) I'm using Hudson 2.0 and also 1.396 both with subversion pluggin 2.0 and always fails. If there aren't changes between builds, the task finish successfully.

    Jenkins JIRA | 6 years ago | Fernando Rosado Altamirano
    java.lang.IllegalAccessError: tried to access method hudson.scm.ChangeLogSet$Entry.setParent(Lhudson/scm/ChangeLogSet;)V from class hudson.scm.SubversionChangeLogSet
  6. 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

    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.scm.ChangeLogSet$Entry.setParent(Lhudson/scm/ChangeLogSet;)V from class hudson.scm.SubversionChangeLogSet

      at hudson.scm.SubversionChangeLogSet.<init>()
    2. Hudson
      Executor.run
      1. hudson.scm.SubversionChangeLogSet.<init>(SubversionChangeLogSet.java:65)
      2. hudson.scm.SubversionChangeLogParser.parse(SubversionChangeLogParser.java:71)
      3. hudson.scm.SubversionChangeLogParser.parse(SubversionChangeLogParser.java:43)
      4. hudson.model.AbstractBuild.calcChangeSet(AbstractBuild.java:734)
      5. hudson.model.AbstractBuild.access$600(AbstractBuild.java:93)
      6. hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:541)
      7. hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:424)
      8. hudson.model.Run.run(Run.java:1374)
      9. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      10. hudson.model.ResourceController.execute(ResourceController.java:88)
      11. hudson.model.Executor.run(Executor.java:145)
      11 frames