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

Without Dashboard plugin RTP throws ClassNotFoundException on startup

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • Rich Text Publisher 1.4
      Jenkins 2.204.2

      On Jenkins startup I'm seeing stacktraces because I don't have the Dashboard plugin installed

      Mar 04, 2020 2:56:23 PM WARNING hudson.ExtensionFinder$GuiceFinder$SezpozModule configureFailed to load org.korosoft.jenkins.plugin.rtp.RichTextPortlet$DescriptorImpl
      java.lang.ClassNotFoundException: hudson.plugins.view.dashboard.DashboardPortlet
      	at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1383)
      	at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1336)
      	at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1083)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:352)
      	at java.lang.Class.forName0(Native Method)
      	at java.lang.Class.forName(Class.java:348)
      	at sun.reflect.generics.factory.CoreReflectionFactory.makeNamedType(CoreReflectionFactory.java:114)
      Caused: java.lang.TypeNotPresentException: Type hudson.plugins.view.dashboard.DashboardPortlet not present
      	at sun.reflect.generics.factory.CoreReflectionFactory.makeNamedType(CoreReflectionFactory.java:117)
      	at sun.reflect.generics.visitor.Reifier.visitClassTypeSignature(Reifier.java:125)
      	at sun.reflect.generics.tree.ClassTypeSignature.accept(ClassTypeSignature.java:49)
      	at sun.reflect.generics.visitor.Reifier.reifyTypeArguments(Reifier.java:68)
      	at sun.reflect.generics.visitor.Reifier.visitClassTypeSignature(Reifier.java:138)
      	at sun.reflect.generics.tree.ClassTypeSignature.accept(ClassTypeSignature.java:49)
      	at sun.reflect.generics.repository.ClassRepository.getSuperclass(ClassRepository.java:90)
      	at java.lang.Class.getGenericSuperclass(Class.java:777)
      	at hudson.ExtensionFinder$GuiceFinder$SezpozModule.resolve(ExtensionFinder.java:487)
      Caused: java.lang.LinkageError: Failed to resolve class org.korosoft.jenkins.plugin.rtp.RichTextPortlet$DescriptorImpl
      	at hudson.ExtensionFinder$GuiceFinder$SezpozModule.resolve(ExtensionFinder.java:506)
      	at hudson.ExtensionFinder$GuiceFinder$SezpozModule.configure(ExtensionFinder.java:526)
      	at com.google.inject.AbstractModule.configure(AbstractModule.java:62)
      	at com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:340)
      	at com.google.inject.spi.Elements.getElements(Elements.java:110)
      	at com.google.inject.internal.InjectorShell$Builder.build(InjectorShell.java:138)
      	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:284)
      	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
      	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
      	at java.lang.Class.newInstance(Class.java:442)
      	at net.java.sezpoz.IndexItem.instance(IndexItem.java:181)
      	at hudson.ExtensionFinder$Sezpoz._find(ExtensionFinder.java:704)
      	at hudson.ExtensionFinder$Sezpoz.find(ExtensionFinder.java:690)
      	at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:344)
      	at hudson.ExtensionList.load(ExtensionList.java:381)
      	at hudson.ExtensionList.ensureLoaded(ExtensionList.java:317)
      	at hudson.ExtensionList.getComponents(ExtensionList.java:183)
      	at jenkins.model.Jenkins$6.onInitMilestoneAttained(Jenkins.java:1151)
      	at jenkins.InitReactorRunner$1.onAttained(InitReactorRunner.java:83)
      	at org.jvnet.hudson.reactor.ReactorListener$Aggregator.lambda$onAttained$3(ReactorListener.java:102)
      	at org.jvnet.hudson.reactor.ReactorListener$Aggregator.run(ReactorListener.java:109)
      	at org.jvnet.hudson.reactor.ReactorListener$Aggregator.onAttained(ReactorListener.java:102)
      	at org.jvnet.hudson.reactor.Reactor$1.run(Reactor.java:177)
      	at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
      	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)
      
      Mar 04, 2020 2:56:23 PM WARNING hudson.ExtensionFinder$GuiceFinder$SezpozModule configureFailed to load org.korosoft.jenkins.plugin.rtp.StaticTextPortlet$DescriptorImpl
      java.lang.ClassNotFoundException: hudson.plugins.view.dashboard.DashboardPortlet
      	at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1383)
      	at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1336)
      	at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1083)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:352)
      	at java.lang.Class.forName0(Native Method)
      	at java.lang.Class.forName(Class.java:348)
      	at sun.reflect.generics.factory.CoreReflectionFactory.makeNamedType(CoreReflectionFactory.java:114)
      Caused: java.lang.TypeNotPresentException: Type hudson.plugins.view.dashboard.DashboardPortlet not present
      	at sun.reflect.generics.factory.CoreReflectionFactory.makeNamedType(CoreReflectionFactory.java:117)
      	at sun.reflect.generics.visitor.Reifier.visitClassTypeSignature(Reifier.java:125)
      	at sun.reflect.generics.tree.ClassTypeSignature.accept(ClassTypeSignature.java:49)
      	at sun.reflect.generics.visitor.Reifier.reifyTypeArguments(Reifier.java:68)
      	at sun.reflect.generics.visitor.Reifier.visitClassTypeSignature(Reifier.java:138)
      	at sun.reflect.generics.tree.ClassTypeSignature.accept(ClassTypeSignature.java:49)
      	at sun.reflect.generics.repository.ClassRepository.getSuperclass(ClassRepository.java:90)
      	at java.lang.Class.getGenericSuperclass(Class.java:777)
      	at hudson.ExtensionFinder$GuiceFinder$SezpozModule.resolve(ExtensionFinder.java:487)
      Caused: java.lang.LinkageError: Failed to resolve class org.korosoft.jenkins.plugin.rtp.StaticTextPortlet$DescriptorImpl
      	at hudson.ExtensionFinder$GuiceFinder$SezpozModule.resolve(ExtensionFinder.java:506)
      	at hudson.ExtensionFinder$GuiceFinder$SezpozModule.configure(ExtensionFinder.java:526)
      	at com.google.inject.AbstractModule.configure(AbstractModule.java:62)
      	at com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:340)
      	at com.google.inject.spi.Elements.getElements(Elements.java:110)
      	at com.google.inject.internal.InjectorShell$Builder.build(InjectorShell.java:138)
      	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:284)
      	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
      	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
      	at java.lang.Class.newInstance(Class.java:442)
      	at net.java.sezpoz.IndexItem.instance(IndexItem.java:181)
      	at hudson.ExtensionFinder$Sezpoz._find(ExtensionFinder.java:704)
      	at hudson.ExtensionFinder$Sezpoz.find(ExtensionFinder.java:690)
      	at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:344)
      	at hudson.ExtensionList.load(ExtensionList.java:381)
      	at hudson.ExtensionList.ensureLoaded(ExtensionList.java:317)
      	at hudson.ExtensionList.getComponents(ExtensionList.java:183)
      	at jenkins.model.Jenkins$6.onInitMilestoneAttained(Jenkins.java:1151)
      	at jenkins.InitReactorRunner$1.onAttained(InitReactorRunner.java:83)
      	at org.jvnet.hudson.reactor.ReactorListener$Aggregator.lambda$onAttained$3(ReactorListener.java:102)
      	at org.jvnet.hudson.reactor.ReactorListener$Aggregator.run(ReactorListener.java:109)
      	at org.jvnet.hudson.reactor.ReactorListener$Aggregator.onAttained(ReactorListener.java:102)
      	at org.jvnet.hudson.reactor.Reactor$1.run(Reactor.java:177)
      	at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
      	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)
      

            Unassigned Unassigned
            gmtm Graham McGregor
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: