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

Analysis Collector Plugin prevents other plugins from loading when the Dashboard View Plugin is not installed

    Details

    • Similar Issues:

      Description

      The Analysis Collector Plugin prevents other plugins from loading when the Dashboard View Plugin is not installed and activated. In my case, this effectively disables the SCM Plugins and thus prevents Jenkins from fetching SCM changes. Log attached.

        Attachments

          Activity

          Hide
          drulli Ulli Hafner added a comment -

          I don't see any references to the analysis collector plug-in in the log. It seems that the dashboard view just could not be loaded. (The dependency is optional in my plug-in)

          Show
          drulli Ulli Hafner added a comment - I don't see any references to the analysis collector plug-in in the log. It seems that the dashboard view just could not be loaded. (The dependency is optional in my plug-in)
          Hide
          zilluss Martin Ziel added a comment -

          The problem occured after I installed a few plugins on my production system. So I tried to isolate the problem: I deactivated all plugins and activated each plugin after another. After I activated the analysis-collector-plugin the problem started to reoccur.

          Then I set up a second, isolated instance of a jenkins server with just the default plugins. Next I installed the analysis-collector-plugin and again, the problem occured. After I installed the dashboard-view-plugin and the problem vanished.

          The problem seems to happen when jenkins tries to load one or more classes of the dashboard-view-plugin. Maybe due to default configurations?

          Show
          zilluss Martin Ziel added a comment - The problem occured after I installed a few plugins on my production system. So I tried to isolate the problem: I deactivated all plugins and activated each plugin after another. After I activated the analysis-collector-plugin the problem started to reoccur. Then I set up a second, isolated instance of a jenkins server with just the default plugins. Next I installed the analysis-collector-plugin and again, the problem occured. After I installed the dashboard-view-plugin and the problem vanished. The problem seems to happen when jenkins tries to load one or more classes of the dashboard-view-plugin. Maybe due to default configurations?
          Hide
          drulli Ulli Hafner added a comment -

          Did you also install the analysis-core plug-in? This is required for the analysis-collector.

          Maybe something in Jenkins core class loading has been changed that causes this issue. I'll try to reproduce on 1.455.

          What I don't understand from the log is:

          INFO: Plugin dashboard-view.jpi is disabled
          

          Didn't you say the plugin is not installed? Do you still have a view using the dashboard view? This might be the reason for the exception message. (And is unrelated to your problem)

          Show
          drulli Ulli Hafner added a comment - Did you also install the analysis-core plug-in? This is required for the analysis-collector. Maybe something in Jenkins core class loading has been changed that causes this issue. I'll try to reproduce on 1.455. What I don't understand from the log is: INFO: Plugin dashboard-view.jpi is disabled Didn't you say the plugin is not installed? Do you still have a view using the dashboard view? This might be the reason for the exception message. (And is unrelated to your problem)
          Hide
          zilluss Martin Ziel added a comment -

          Sorry I forgot to mention: Yes, the core has been installed both times. I disabled the plugin to create the log. But whether the plugins is disabled or not installed, the error occurs.

          Show
          zilluss Martin Ziel added a comment - Sorry I forgot to mention: Yes, the core has been installed both times. I disabled the plugin to create the log. But whether the plugins is disabled or not installed, the error occurs.
          Hide
          drulli Ulli Hafner added a comment -

          Ok, I can reproduce the problem with 1.458.

          Show
          drulli Ulli Hafner added a comment - Ok, I can reproduce the problem with 1.458.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Ulli Hafner
          Path:
          src/main/java/hudson/plugins/analysis/collector/dashboard/AnalysisGraphDescriptor.java
          src/main/java/hudson/plugins/analysis/collector/dashboard/WarningsOriginGraphPortlet.java
          src/main/java/hudson/plugins/analysis/collector/dashboard/WarningsTablePortlet.java
          src/main/resources/hudson/plugins/analysis/collector/Messages_fr.properties
          http://jenkins-ci.org/commit/analysis-collector-plugin/9b7918907bf37ed25b4ba7e57ad825978df41e2e
          Log:
          [FIXED JENKINS-13101] Don't use dashboard classes in abstract base
          classes that do not define an extension.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Ulli Hafner Path: src/main/java/hudson/plugins/analysis/collector/dashboard/AnalysisGraphDescriptor.java src/main/java/hudson/plugins/analysis/collector/dashboard/WarningsOriginGraphPortlet.java src/main/java/hudson/plugins/analysis/collector/dashboard/WarningsTablePortlet.java src/main/resources/hudson/plugins/analysis/collector/Messages_fr.properties http://jenkins-ci.org/commit/analysis-collector-plugin/9b7918907bf37ed25b4ba7e57ad825978df41e2e Log: [FIXED JENKINS-13101] Don't use dashboard classes in abstract base classes that do not define an extension.
          Hide
          dogfood dogfood added a comment -

          Integrated in plugins_analysis-collector #334

          Result = SUCCESS

          Show
          dogfood dogfood added a comment - Integrated in plugins_analysis-collector #334 Result = SUCCESS

            People

            • Assignee:
              drulli Ulli Hafner
              Reporter:
              zilluss Martin Ziel
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: