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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

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, 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 peter_schuetze, 1 year ago
java.lang.NoClassDefFoundError: hudson/plugins/view/dashboard/DashboardPortlet
via Jenkins JIRA by sogabe, 1 year ago
java.lang.NoClassDefFoundError: hudson/plugins/view/dashboard/DashboardPortlet
via Jenkins JIRA by sogabe, 1 year ago
java.lang.NoClassDefFoundError: hudson/plugins/view/dashboard/DashboardPortlet
via Jenkins JIRA by peter_schuetze, 1 year ago
java.lang.NoClassDefFoundError: hudson/plugins/view/dashboard/DashboardPortlet
java.lang.InstantiationException: java.lang.LinkageError: loader (instance of java/net/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 hudson.model.Hudson$3.runTask(Hudson.java:691)
at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187)
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)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.