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

Plugin Usage page renders blank tables

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: plugin-usage-plugin
    • Labels:
      None
    • Environment:
    • Similar Issues:

      Description

      The Plugin Usage page renders blank tables.

      Jobs by Plugin
      Plugin Name Version Number of Jobs Jobs Has Dependants?

      Other Plugins
      Plugin Name Version Has Dependants?

      We're not using pipelines: it's all classic Jenkins jobs.

        Attachments

          Activity

          Hide
          froque Filipe Roque added a comment -

          Dmitriy Korobskiy that information is not enough. Is there any information or stacktraces in log files ?

          Show
          froque Filipe Roque added a comment - Dmitriy Korobskiy that information is not enough. Is there any information or stacktraces in log files ?
          Hide
          dk Dmitriy Korobskiy added a comment -

          I hear you.

          OK, I tailed the Jenkins log and this was the exception:

          WARNING	h.ExpressionFactory2$JexlExpression#evaluate: Caught exception evaluating: data.jobsPerPlugin in /pluginusage/. Reason: java.lang.reflect.InvocationTargetException
          java.lang.ClassNotFoundException: org.jenkinsci.plugins.workflow.steps.StepDescriptor
          	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.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
          Caused: java.lang.NoClassDefFoundError: org/jenkinsci/plugins/workflow/steps/StepDescriptor
          	at org.jenkinsci.plugins.pluginusage.analyzer.StepAnalyser.<init>(StepAnalyser.java:32)
          	at org.jenkinsci.plugins.pluginusage.analyzer.JobCollector.<init>(JobCollector.java:30)
          	at org.jenkinsci.plugins.pluginusage.PluginUsageModel.getJobsPerPlugin(PluginUsageModel.java:14)
          Caused: java.lang.reflect.InvocationTargetException
          	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
          	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
          

           

          I figured that there is a missing dependency, then found out the missing plug-in: Pipeline (which had not been installed). I installed Pipeline and that fixed the issue.
           

          Show
          dk Dmitriy Korobskiy added a comment - I hear you. OK, I tailed the Jenkins log and this was the exception: WARNING h.ExpressionFactory2$JexlExpression#evaluate: Caught exception evaluating: data.jobsPerPlugin in /pluginusage/. Reason: java.lang.reflect.InvocationTargetException java.lang.ClassNotFoundException: org.jenkinsci.plugins.workflow.steps.StepDescriptor 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.base/java.lang. ClassLoader .loadClass( ClassLoader .java:522) Caused: java.lang.NoClassDefFoundError: org/jenkinsci/plugins/workflow/steps/StepDescriptor at org.jenkinsci.plugins.pluginusage.analyzer.StepAnalyser.<init>(StepAnalyser.java:32) at org.jenkinsci.plugins.pluginusage.analyzer.JobCollector.<init>(JobCollector.java:30) at org.jenkinsci.plugins.pluginusage.PluginUsageModel.getJobsPerPlugin(PluginUsageModel.java:14) Caused: java.lang.reflect.InvocationTargetException at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566)   I figured that there is a missing dependency, then found out the missing plug-in: Pipeline (which had not been installed). I installed Pipeline and that fixed the issue.  

            People

            Assignee:
            froque Filipe Roque
            Reporter:
            dk Dmitriy Korobskiy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: