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

Fix NPE when exception lacks an error message

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: EJBCA 7.0.0
    • Component/s: None
    • Labels:
      None
    • Issue discovered during:
      Another issue
    • Epic Link:
    • Sprint:
      EJBCA Team Bob - 2018 w48

      Description

      This happens in several places in the Admin GUI, one of them is if you press the "Import" button on an External CA without having selected a certificate file.

      The result is that you get a null pointer exception and a blank page with a generic error message.

      Instead the user should remain at the same page, with an error message at the top of the page.

        Attachments

          Activity

            People

            • Assignee:
              samuel Samuel Lidén Borell
              Reporter:
              samuel Samuel Lidén Borell
              Verified by:
              Jekaterina Bunina
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours, 22 minutes
                2h 22m