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

Configdump Validators NPE on empty values

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      Configdump throws NPE while exporting RSA Key Validator with empty fields, such as

      "Public key exponent minimum value" or
      "Public key modulus minimum value".

       
      NullPointerException in dump handler for getPublicKeyModulusMinFactor
      

      Steps to reproduce:

      • Create a Validator of type RSA Key Validator
      • Without setting any fields, save the Validator
      • Execute configdump

      Please also go through and try to export the other Validator types as they likely suffer from the same issue.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              hsunmark Henrik Sunmark
              Verified by:
              Henrik Sunmark
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 2 hours
                  2h
                  Remaining:
                  Remaining Estimate - 2 hours
                  2h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified