最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

After upgrade from Jenkins 2.346.3 to Jenkins 2.375.1 I have exception in the UI of Caught unhandled exception with ID - Stack O

programmeradmin2浏览0评论

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 badges
Add a comment  | 

1 Answer 1

Reset to default 0

I'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

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论