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

Project loading fails with 3.0.1

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Going back to 3.0.0 solve the problem

      java.lang.LinkageError: hudson/tasks/test/TestResultProjectAction
       at org.jenkinsci.plugins.xunit.XUnitPublisher.getProjectAction(XUnitPublisher.java:195)
       at hudson.tasks.BuildStepCompatibilityLayer.getProjectActions(BuildStepCompatibilityLayer.java:103)
       at hudson.maven.MavenModuleSet.createTransientActions(MavenModuleSet.java:485)
       at hudson.model.AbstractProject.updateTransientActions(AbstractProject.java:726)
       at hudson.maven.MavenModuleSet.updateTransientActions(MavenModuleSet.java:472)
       at hudson.model.AbstractProject.onLoad(AbstractProject.java:322)
       at hudson.maven.MavenModuleSet.onLoad(MavenModuleSet.java:810)
       at hudson.model.Items.load(Items.java:376)
       at jenkins.model.Jenkins$13.run(Jenkins.java:3276)
       at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169)
       at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:296)
       at jenkins.model.Jenkins$5.runTask(Jenkins.java:1130)
       at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:214)
       at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
       at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:68)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
       at java.lang.Thread.run(Thread.java:748)

       

      java.lang.LinkageError: loader (instance of  hudson/ClassicPluginStrategy$AntClassLoader2): attempted  duplicate class definition for name: "hudson/tasks/test/TestResultProjectAction" at java.lang.ClassLoader.defineClass1(Native Method)
       at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
       at jenkins.util.AntClassLoader.defineClassFromData(AntClassLoader.java:1155)
       at hudson.ClassicPluginStrategy$AntClassLoader2.defineClassFromData(ClassicPluginStrategy.java:717)
       at jenkins.util.AntClassLoader.getClassFromStream(AntClassLoader.java:1326)
       at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1377)
       at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1342)
       at jenkins.ClassLoaderReflectionToolkit._findClass(ClassLoaderReflectionToolkit.java:107)
       at hudson.ClassicPluginStrategy$DependencyClassLoader.findClass(ClassicPluginStrategy.java:636)
       at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
       at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
       at jenkins.util.AntClassLoader.findBaseClass(AntClassLoader.java:1406)
       at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1085)
       at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
       at org.jenkinsci.plugins.xunit.XUnitPublisher.getProjectAction(XUnitPublisher.java:195)
       at hudson.tasks.BuildStepCompatibilityLayer.getProjectActions(BuildStepCompatibilityLayer.java:103)
       at hudson.matrix.MatrixProject.createTransientActions(MatrixProject.java:460)
       at hudson.model.AbstractProject.updateTransientActions(AbstractProject.java:726)
       at hudson.matrix.MatrixProject.updateTransientActions(MatrixProject.java:471)
       at hudson.model.AbstractProject.onLoad(AbstractProject.java:322)
       at hudson.matrix.MatrixProject.onLoad(MatrixProject.java:512)
       at hudson.model.Items.load(Items.java:376)
       at jenkins.model.Jenkins$13.run(Jenkins.java:3276)
       at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169)
       at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:296)
       at jenkins.model.Jenkins$5.runTask(Jenkins.java:1130)
       at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:214)
       at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
       at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:68)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
       at java.lang.Thread.run(Thread.java:748)
      

       

        Attachments

          Activity

          Hide
          nfalco Nikolas Falco added a comment -

          java.lang.LinkageError comes when the same class is loaded by different classloader. Plugin system is in charge of Jenkins core so please ciuld you post environment information, jenkins version and so on?

          Show
          nfalco Nikolas Falco added a comment - java.lang.LinkageError comes when the same class is loaded by different classloader. Plugin system is in charge of Jenkins core so please ciuld you post environment information, jenkins version and so on?
          Hide
          falcon benoit guerin added a comment -

          Jenkins 2.282 on up-to-date Debian stable

          Filtering with unit on installed plugins, I got :

          JUnit plugin 1.49
          TestNG Results Plugin 1.15

          Let me know if you need more

          Show
          falcon benoit guerin added a comment - Jenkins 2.282 on up-to-date Debian stable Filtering with unit on installed plugins, I got : JUnit plugin 1.49 TestNG Results Plugin 1.15 Let me know if you need more
          Hide
          falcon benoit guerin added a comment -

          xunit plugin 3.0.1 does not work with Jenkins 2.282

          xunit plugin 3.0.0 does not work with Jenkins 2.283

          xunit plugin 3.0.0 works with Jenkins 2.282

          xunit plugin 3.0.1 works with Jenkins 2.283

          I updated my Jenkins, so I am closing this issue, sorry for the noise

          Show
          falcon benoit guerin added a comment - xunit plugin 3.0.1 does not work with Jenkins 2.282 xunit plugin 3.0.0 does not work with Jenkins 2.283 xunit plugin 3.0.0 works with Jenkins 2.282 xunit plugin 3.0.1 works with Jenkins 2.283 I updated my Jenkins, so I am closing this issue, sorry for the noise

            People

            Assignee:
            nfalco Nikolas Falco
            Reporter:
            falcon benoit guerin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: