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

Job overview page not rendered if HTMLPublisher is used in job definition

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • htmlpublisher-plugin
    • None
    • HTMLPublisher 1.27, Jenkins-Core 2.317, Debian 9

      If I click on a job (e.g. in the dashboard) that uses the HTMLPublisher plugin only a very small part of the job's overview page is rendered (the upper left corner), i.e. the page is nearly empty and error message with the "devilish butler" is shown and a hint to look with a certain ID in the log file.

      Searching in /var/lib/jenkins/jenkins.log with this ID I found the following exception:

      org.apache.commons.jelly.JellyTagException: jar:file:/var/cache/jenkins/war/WEB-INF/lib/jenkins-core-2.317.jar!/lib/hudson/actions.jelly:39:70: <st:include> loader (instance of  jenkins/util/AntClassLoader): attempted  duplicate class definition for name: "htmlpublisher/HtmlPublisherTarget$HTMLBuildAction"
              at org.apache.commons.jelly.impl.TagScript.handleException(TagScript.java:745)
              at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:289)
              at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:161)
              at org.apache.commons.jelly.tags.core.ForEachTag.doTag(ForEachTag.java:150)
              at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
              at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
              at ....
      (MANY lines from the stacktrace ommited  here...)
      Caused by: java.lang.LinkageError: loader (instance of  jenkins/util/AntClassLoader): attempted  duplicate class definition for name: "htmlpublisher/HtmlPublisherTarget$HTMLBuildAction"
              at java.lang.Class.getDeclaringClass0(Native Method)
              at java.lang.Class.getDeclaringClass(Class.java:1235)
              at java.lang.Class.getEnclosingClass(Class.java:1277)
              at java.lang.Class.getCanonicalName(Class.java:1392)
              at jenkins.security.stapler.TypedFilter.keep(TypedFilter.java:221)
              at org.kohsuke.stapler.FunctionList.filter(FunctionList.java:48)
              at org.kohsuke.stapler.MetaClass.buildDispatchers(MetaClass.java:192)
              at org.kohsuke.stapler.MetaClass.<init>(MetaClass.java:98)
              at org.kohsuke.stapler.WebApp.getMetaClass(WebApp.java:230)
              at org.kohsuke.stapler.WebApp.getMetaClass(WebApp.java:222)
              at org.kohsuke.stapler.jelly.IncludeTag.doTag(IncludeTag.java:133)
              at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
              ... 155 more
      
      

       

       

            r2b2_nz Richard Bywater
            ricfos Riccardo Foschia
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: