Uploaded image for project: 'EJBCA'
  1. EJBCA
  2. ECA-8237

Getting "XML Parsing Error: no root element found" when clicking "View Older" in View Certificate popup


    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: EJBCA 7.0.1, EJBCA
    • Fix Version/s: EJBCA 7.4.0
    • Component/s: None
    • Labels:
    • Environment:
      EJBCA EE 7.0.1, EJBCA Appliance 3.3(ejbca-
    • Sprint:
      EJBCA Team Bob - 2020 w13, EJBCA Team Bob - 2020 w16


      Performing "Search <End-Entity-->click on "View" next to Certificates-->Download PEM file-->click on either the < View Older or View Newer >" is not showing the expected result but an error "XML Parsing Error: no root element found".

      Here are the steps to reproduce:
      1. Perform a search for an End Entity.
      2. Click on the View button to view certificates for an End Entity that has more than one certificate (the one I found this on has 5 certificates, 3 revoked and 2 valid).
      3.When viewing a certificate, scroll to the bottom and click on any of the following
      Download binary/to IE
      Download to Firefox
      Download PEM file
      4. Save the file or Cancel (doesn't matter) and then in the same window, click on either the < View Older or View Newer > buttons.
      5. The page reloads that says: "XML Parsing Error: no root element found" (screenshot is attached

      Expected outcome: It should load the next certificate.

      Reproduced on EJBCA EE 7.0.1 and on for end entity with at least 2 certs.


        1. viewcert_stacktrace.txt
          11 kB
          Samuel Lidén Borell
        2. XML Parsing Error.png
          88 kB
          Rubina Akram

          Issue Links



              katja_helmes Jekaterina Bunina
              rubinaa Rubina Akram
              Verified by:
              Andrey Sergeev
              0 Vote for this issue
              5 Start watching this issue