I'm testing upgrade of 2.346.3 to 2.375.1 using docker file. Creating the image works OK but once I start the container, Jenkins starts but in the UI I see unhandled exception with ID 056b7f51-56fd-4684-928e-4ca9d9dc6426 instead of the UI.
In the logs I see the following
javax.servlet.ServletException: .apachemons.jelly.JellyTagException: jar:file:/var/jenkins_home/war/WEB-INF/lib/jenkins-core-2.375.1.jar!/hudson/model/View/sidepanel.jelly:75:50: <st:include> .apachemons.jelly.JellyTagException: jar:file:/var/jenkins_home/war/WEB-INF/lib/jenkins-core-2.375.1.jar!/lib/layout/pane.jelly:81:29: <d:invokeBody> .apachemons.jelly.JellyTagException: jar:file:/var/jenkins_home/war/WEB-INF/lib/jenkins-core-2.375.1.jar!/lib/layout/icon.jelly:70:93: <j:invokeStatic> Could not load class: .jenkins.ui.icon.IconSet. Reason: java.lang.NoSuchMethodException: .jenkins.ui.icon.IconSet.getSymbol(java.lang.String, java.lang.Integer, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
How to solve this?
I'm testing upgrade of 2.346.3 to 2.375.1 using docker file. Creating the image works OK but once I start the container, Jenkins starts but in the UI I see unhandled exception with ID 056b7f51-56fd-4684-928e-4ca9d9dc6426 instead of the UI.
In the logs I see the following
javax.servlet.ServletException: .apachemons.jelly.JellyTagException: jar:file:/var/jenkins_home/war/WEB-INF/lib/jenkins-core-2.375.1.jar!/hudson/model/View/sidepanel.jelly:75:50: <st:include> .apachemons.jelly.JellyTagException: jar:file:/var/jenkins_home/war/WEB-INF/lib/jenkins-core-2.375.1.jar!/lib/layout/pane.jelly:81:29: <d:invokeBody> .apachemons.jelly.JellyTagException: jar:file:/var/jenkins_home/war/WEB-INF/lib/jenkins-core-2.375.1.jar!/lib/layout/icon.jelly:70:93: <j:invokeStatic> Could not load class: .jenkins.ui.icon.IconSet. Reason: java.lang.NoSuchMethodException: .jenkins.ui.icon.IconSet.getSymbol(java.lang.String, java.lang.Integer, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
How to solve this?
Share Improve this question asked Mar 31 at 13:32 Tzach SolomonTzach Solomon 7981 gold badge9 silver badges29 bronze badges1 Answer
Reset to default 0I've found the issue.
Since the error is NoSuchMethodException and it's .jenkins.ui.icon.IconSet it allows Jenkins to start but only the UI is affect.
I've looked further down the stack trace and saw the following
.jenkinsci.plugins.cloudstats.StatsWidget.index$_run_closure1$_closure2.doCall(index.groovy:50)
So I've understood the issue is in plugin named cloudstats.
I've updated it to the latest that is allowed in 2.375.1 and it now works OK.
So, if any one encounters this, check the stack trace and search for jenkinsci.plugins
and see which plugins are causing the issue and update them