-
Bug
-
Resolution: Fixed
-
Critical
-
None
-
Jenkins 2.249.3) | dimensionsscm:0.8.16
Jenkins 2.289.2 | dimensionsscm:0.9.1
-
-
dimensionsscm-0.9.2
Issue
The plugin breaks the UI thus any type of configuration is not available
Jenkins logs shows
2021-07-09 08:45:54.392+0000 [id=84] WARNING h.i.i.InstallUncaughtExceptionHandler#handleException: Caught unhandled exception with ID 4e2261b1-0185-4f97-9195-bc86e5468047 org.apache.commons.jelly.JellyTagException: jar:file:/home/carlosrodlop/.jenkins/war/WEB-INF/lib/jenkins-core-2.289.2.jar!/lib/form/radioBlock.jelly:77:23: <d:invokeBody> com/serena/dmclient/api/DimensionsRuntimeException at org.apache.commons.jelly.impl.TagScript.handleException(TagScript.java:745) at java.base/java.lang.Thread.run(Thread.java:834) Caused by: java.lang.NoClassDefFoundError: com/serena/dmclient/api/DimensionsRuntimeException at java.base/java.lang.Class.getDeclaredMethods0(Native Method) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269) ... 216 more Caused by: java.lang.ClassNotFoundException: com.serena.dmclient.api.DimensionsRuntimeException at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1392) ... 253 more Caused: javax.servlet.ServletException at org.kohsuke.stapler.Facet$1.dispatch(Facet.java:249) ...
Tested with:
- Jenkins 2.249.3 | dimensionsscm:0.8.16
- Jenkins 2.289.2 | dimensionsscm:0.9.1
According to my first test is prior to 2.264 so it does not seems the same issue as https://www.jenkins.io/doc/developer/views/table-to-div-migration/ . Although the symptoms are the same.
Workaround
The plugin requires some proprietary Dimensions CM .jar files. Follow the instructions to install them in the docs.
Solution
Missing JAR files should not break the job configuration page, and there should be an alert in Manage Jenkins to tell admins that the JARs are missing and their installation is currently incomplete.