java.lang.InstantiationException

java.lang.LinkageError: loader (instance of java/net/URLClassLoader): attempted duplicate class definition for name: "hudson/plugins/sonar/SonarPublisher"{color}

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web663

  • via Jenkins JIRA by o_orand, 1 year ago
    java.lang.LinkageError: loader (instance of java/net/URLClassLoader): attempted duplicate class definition for name: "hudson/plugins/sonar/SonarPublisher"{color}
  • via Jenkins JIRA by o_orand, 11 months ago
    java.lang.LinkageError: loader (instance of java/net/URLClassLoader): attempted duplicate class definition for name: "hudson/plugins/sonar/SonarPublisher"{color}
  • java.lang.NoClassDefFoundError: hudson/plugins/copyartifact/BuildSelector
  • Stack trace

    • java.lang.InstantiationException: java.lang.LinkageError: loader (instance of java
    • et/URLClassLoader): attempted duplicate class definition for name: "hudson/plugins/sonar/SonarPublisher"{color} at net.java.sezpoz.IndexItem.instance(IndexItem.java:180) at hudson.ExtensionFinder$Sezpoz.find(ExtensionFinder.java:156) at hudson.ExtensionFinder._find(ExtensionFinder.java:92) at hudson.ExtensionList.load(ExtensionList.java:259) at hudson.ExtensionList.ensureLoaded(ExtensionList.java:216) at hudson.ExtensionList.getComponents(ExtensionList.java:124) at hudson.DescriptorExtensionList.load(DescriptorExtensionList.java:157) at hudson.ExtensionList.ensureLoaded(ExtensionList.java:216) at hudson.ExtensionList.size(ExtensionList.java:132) at java.util.AbstractCollection.isEmpty(AbstractCollection.java:69) at hudson.model.labels.LabelAtom.updateTransientActions(LabelAtom.java:103) at hudson.model.labels.LabelAtom.load(LabelAtom.java:175) at hudson.model.Hudson.getLabelAtom(Hudson.java:1420) at hudson.model.Hudson.getSelfLabel(Hudson.java:2146) at hudson.model.Node.getAssignedLabels(Node.java:191) at hudson.model.Hudson$13.run(Hudson.java:2205) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:146) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259) at hudson.model.Hudson$3.runTask(Hudson.java:691) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.