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

Exception if Dashboard View plugin is not installed

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: release-plugin
    • Labels:
      None
    • Environment:
      jenkins 1.598
      copyartifact plugin 1.34
    • Similar Issues:

      Description

      I have this excpetion in the logs. I am assuming it comes from the copyartifact plugin from the backtrace

      Feb 11, 2015 8:13:20 AM WARNING hudson.ExtensionFinder$GuiceFinder$SezpozModule configure
      Failed to load hudson.plugins.release.dashboard.RecentReleasesPortlet$DescriptorImpl
      java.lang.LinkageError: Failed to resolve class hudson.plugins.release.dashboard.RecentReleasesPortlet$DescriptorImpl
      at hudson.ExtensionFinder$GuiceFinder$SezpozModule.resolve(ExtensionFinder.java:491)
      at hudson.ExtensionFinder$GuiceFinder$SezpozModule.configure(ExtensionFinder.java:524)
      at com.google.inject.AbstractModule.configure(AbstractModule.java:62)
      at com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:253)
      at com.google.inject.spi.Elements.getElements(Elements.java:108)
      at com.google.inject.internal.InjectorShell$Builder.build(InjectorShell.java:135)
      at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:104)
      at com.google.inject.Guice.createInjector(Guice.java:96)
      at com.google.inject.Guice.createInjector(Guice.java:73)
      at hudson.ExtensionFinder$GuiceFinder.<init>(ExtensionFinder.java:279)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
      at java.lang.Class.newInstance(Class.java:379)
      at net.java.sezpoz.IndexItem.instance(IndexItem.java:181)
      at hudson.ExtensionFinder$Sezpoz._find(ExtensionFinder.java:642)
      at hudson.ExtensionFinder$Sezpoz.find(ExtensionFinder.java:617)
      at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:371)
      at hudson.ExtensionList.load(ExtensionList.java:300)
      at hudson.ExtensionList.ensureLoaded(ExtensionList.java:253)
      at hudson.ExtensionList.iterator(ExtensionList.java:143)
      at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:364)
      at hudson.ExtensionList.load(ExtensionList.java:300)
      at hudson.ExtensionList.ensureLoaded(ExtensionList.java:253)
      at hudson.ExtensionList.iterator(ExtensionList.java:143)
      at jenkins.model.Jenkins.getDescriptorByType(Jenkins.java:1191)
      at hudson.plugins.copyartifact.BuildSelectorParameter.initAliases(BuildSelectorParameter.java:99)
      at hudson.plugins.copyartifact.CopyArtifactPlugin.postInitialize(CopyArtifactPlugin.java:35)
      at hudson.PluginManager$2$1$2.run(PluginManager.java:386)
      at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169)
      at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282)
      at jenkins.model.Jenkins$7.runTask(Jenkins.java:903)
      at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210)
      at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      at java.lang.Thread.run(Thread.java:745)

        Attachments

          Issue Links

            Activity

            Hide
            leandro_freitas_softdevelop Leandro Kersting de Freitas added a comment -

            +1

            Show
            leandro_freitas_softdevelop Leandro Kersting de Freitas added a comment - +1
            Show
            danielbeck Daniel Beck added a comment - - edited https://github.com/jenkinsci/release-plugin/blob/cf22988f0beefd642daa37a5bcf14d463f607aab/src/main/java/hudson/plugins/release/dashboard/RecentReleasesPortlet.java#L123 https://github.com/jenkinsci/release-plugin/blob/cf22988f0beefd642daa37a5bcf14d463f607aab/pom.xml#L78 No idea why the weird hack in newInstance when  Extension(optional = true) would handle it…
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Adrien Lecharpentier
            Path:
            src/main/java/hudson/plugins/release/dashboard/RecentReleasesPortlet.java
            http://jenkins-ci.org/commit/release-plugin/fbf239c96b7baf9a7cc609397bd03077028fcc41
            Log:
            JENKINS-26895 Fix optional dependency check on dashboard-view

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Adrien Lecharpentier Path: src/main/java/hudson/plugins/release/dashboard/RecentReleasesPortlet.java http://jenkins-ci.org/commit/release-plugin/fbf239c96b7baf9a7cc609397bd03077028fcc41 Log: JENKINS-26895 Fix optional dependency check on dashboard-view
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Oleg Nenashev
            Path:
            src/main/java/hudson/plugins/release/dashboard/RecentReleasesPortlet.java
            http://jenkins-ci.org/commit/release-plugin/a11d6a9895431d43a1fed8794d9aac1ccad70670
            Log:
            Merge pull request #28 from alecharp/JENKINS-26895

            JENKINS-26895 Fix optional dependency check on dashboard-view

            Compare: https://github.com/jenkinsci/release-plugin/compare/cf22988f0bee...a11d6a989543

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oleg Nenashev Path: src/main/java/hudson/plugins/release/dashboard/RecentReleasesPortlet.java http://jenkins-ci.org/commit/release-plugin/a11d6a9895431d43a1fed8794d9aac1ccad70670 Log: Merge pull request #28 from alecharp/ JENKINS-26895 JENKINS-26895 Fix optional dependency check on dashboard-view Compare: https://github.com/jenkinsci/release-plugin/compare/cf22988f0bee...a11d6a989543
            Hide
            oleg_nenashev Oleg Nenashev added a comment -

            Adrien Lecharpentier has proposed a fix for this issue.
            It has been released in Release Plugin 2.9

            Show
            oleg_nenashev Oleg Nenashev added a comment - Adrien Lecharpentier has proposed a fix for this issue. It has been released in Release Plugin 2.9

              People

              • Assignee:
                petehayes Peter Hayes
                Reporter:
                pbor Paolo Borelli
              • Votes:
                3 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: