Could not load class: org.jenkins.ui.icon.IconSet

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • 254.v47891b_b_5b_6f6

      Occurs when cloud stats plugin is installed and at least one agent is tracked by cloud stats

      Cannot load most of the Jenkins home page
      Manage Jenkins broken (cloud stats is on that page)

      WARNING	h.i.i.InstallUncaughtExceptionHandler#handleException: Caught unhandled exception with ID 18087f54-dff8-4867-90f0-b701a8ccf934
      org.apache.commons.jelly.JellyTagException: jar:file:/var/jenkins_cache/war/WEB-INF/lib/jenkins-core-2.375.jar!/hudson/model/View/sidepanel.jelly:75:50: <st:include> org.apache.commons.jelly.JellyTagException: jar:file:/var/jenkins_cache/war/WEB-INF/lib/jenkins-core-2.375.jar!/lib/layout/pane.jelly:81:29: <d:invokeBody> org.apache.commons.jelly.JellyTagException: jar:file:/var/jenkins_cache/war/WEB-INF/lib/jenkins-core-2.375.jar!/lib/layout/icon.jelly:70:93: <j:invokeStatic> Could not load class: org.jenkins.ui.icon.IconSet. Reason: java.lang.NoSuchMethodException: org.jenkins.ui.icon.IconSet.getSymbol(java.lang.String, java.lang.Integer, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
      	at org.apache.commons.jelly.impl.TagScript.handleException(TagScript.java:719)
      	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:277)
      

      Most likely caused by https://github.com/jenkinsci/jenkins/pull/7208

      I created a debug build:
      https://github.com/jenkinsci/jenkins/compare/master...timja:jenkins:add-debug-log?expand=1

      SEVERE	org.jenkins.ui.icon.IconSet#getSymbol: INVALID symbol detected, name=weather-icon-health-80plus, title=100, tooltip=, classes=icon-health-80plus icon-sm, pluginName=, id=
      2022-10-27 18:57:32.217+0000 [id=15]	SEVERE	org.jenkins.ui.icon.IconSet#getSymbol: INVALID symbol detected, name=weather-icon-health-80plus, title=100, tooltip=, classes=icon-health-80plus icon-sm, pluginName=, id=
      

      The title is 100 and being converted to an integer.

      Steps to reproduce:
      1. Install cloud stats plugin
      2. Configure a cloud that integrates with it (e.g. azure)
      3. run a build that will create a cloud agent (e.g. `node

      { echo 'hello' }

      `)
      4. Once the cloud agent deployment starts and cloud stats has been notified many pages will be broken

            Assignee:
            Tim Jacomb
            Reporter:
            Tim Jacomb
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: