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

robot-plugin throws an error when BlueOcean is not installed.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • robot-plugin
    • None
    • Jenkins 2.245
      robot-plugin 2.1.1
    • 2.1.2

      During Jenkins startup, the Robot Framework Plugin throws the following error when BlueOcean is not installed.

      BlueOcean is not declared as a dependency of Robot Framework Plugin here: https://plugins.jenkins.io/robot/#dependencies

      Failed to load hudson.plugins.robot.blueocean.BlueRobotTestResult$FactoryImpl
      
      java.lang.InstantiationException: java.lang.NoClassDefFoundError: io/jenkins/blueocean/rest/factory/BlueTestResultFactory
      	at net.java.sezpoz.IndexItem.element(IndexItem.java:146)
      	at hudson.ExtensionFinder.getClassFromIndex(ExtensionFinder.java:746)
      	at hudson.ExtensionFinder.access$900(ExtensionFinder.java:90)
      	at hudson.ExtensionFinder$Sezpoz._find(ExtensionFinder.java:706)
      	at hudson.ExtensionFinder$Sezpoz.find(ExtensionFinder.java:695)
      	at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:346)
      	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:1161)
      	at jenkins.InitReactorRunner$1.onAttained(InitReactorRunner.java:85)
      	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 jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:59)
      	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)
      Caused by: java.lang.NoClassDefFoundError: io/jenkins/blueocean/rest/factory/BlueTestResultFactory
      	at java.lang.ClassLoader.defineClass1(Native Method)
      	at java.lang.ClassLoader.defineClass(ClassLoader.java:757)
      	at jenkins.util.AntClassLoader.defineClassFromData(AntClassLoader.java:1155)
      	at hudson.ClassicPluginStrategy$AntClassLoader2.defineClassFromData(ClassicPluginStrategy.java:715)
      	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 sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at jenkins.ClassLoaderReflectionToolkit.invoke(ClassLoaderReflectionToolkit.java:44)
      	at jenkins.ClassLoaderReflectionToolkit._findClass(ClassLoaderReflectionToolkit.java:81)
      	at hudson.PluginManager$UberClassLoader.findClass(PluginManager.java:2042)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:419)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:352)
      	at net.java.sezpoz.IndexItem.element(IndexItem.java:134)
      	... 19 more
      Caused by: java.lang.ClassNotFoundException: io.jenkins.blueocean.rest.factory.BlueTestResultFactory
      	at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1387)
      	at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1342)
      	at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1089)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:352)
      	... 35 more
      

            aleksisimell Aleksi Simell
            glavoie Gabriel Lavoie
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: