• Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • htmlpublisher-plugin
    • None
    • Jenkins 2.176.3, HTML Publisher 1.19

      Our CodeCoverage reports on Jenkins are no longer viewable - when you click the link in the menu we now see a blank screen with no tabs and no content, just the "Back to build" and "zip" links. Clicking the "zip" link allows the report to be downloaded, and it can be opened locally. Opening the Chrome dev tools, there is an error "Uncaught TypeError: Cannot read property 'setAttribute' of null"

      I've attached screenshots, and the report zip. 

          [JENKINS-59511] Error opening report with HTML Publisher

          Henry Wilson created issue -
          Georgi Georgiev made changes -
          Comment [ My input dir(reportDir) structure:
          {code:java}
          attachments/
          bullet_point.png
          collapseall.gif
          emailable-report.html
          failed.png
          files/
          index.html
          jquery-1.7.1.min.js
          junitreports/
          Maven/
          navigator-bullet.png
          old/
          passed.png
          report-0.html
          screenshots/
          skipped.png
          testng.css
          testng-failed.xml
          testng-reports.css
          testng-reports.js
          testng-results.xml
          TestSuite.txt
          TEST-TestSuite.xml
          {code}

          Log:
          {code:java}
          [htmlpublisher] Archiving at BUILD level /opt/jenkins/workspace/Mask/Mask1/Mask2@3/791/Mask3/Mask4/test-output to /opt/jenkins/jobs/Mask/jobs/Mask1/jobs/Mask2/builds/791/htmlreports/MyReport {code}
          Please note that for the log, I have replaced real directories names with tokens("Mask", "Mask1"...), but values are still 1:1 matching in the source and target dir paths(example "Mask1" value in source dir is the same as "Mask1" value in target) ]
          Richard Bywater made changes -
          Link New: This issue is caused by JENKINS-7139 [ JENKINS-7139 ]
          Richard Bywater made changes -
          Released As New: https://github.com/jenkinsci/htmlpublisher-plugin/releases/tag/htmlpublisher-1.20
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Richard Bywater made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          Federico Garcia made changes -
          Resolution Original: Fixed [ 1 ]
          Status Original: Closed [ 6 ] New: Reopened [ 4 ]
          Federico Garcia made changes -
          Attachment New: image-2020-07-10-10-26-07-911.png [ 51866 ]

            r2b2_nz Richard Bywater
            wilsoh58 Henry Wilson
            Votes:
            2 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated: