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

Error when saving access rules (Name is null)

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Cannot reproduce
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: PKI core
    • Labels:
    • Issue discovered during:
      Ad Hoc

      Description

      Reproducible on main, commit 8792fe6939cbcbf38da24a3de610dbcd89b8f5dc.

      Does not seem to affect EJBCA 7.5.0.1, so not a regression.

      To reproduce, try to edit and save any role in advanced mode and the following error message is produced:

      2021-05-12 16:20:07,656 DEBUG [org.ejbca.ui.web.admin.CaErrorBean] (default task-2) Client got the following error message: Name is null: java.lang.NullPointerException: Name is null
      	at java.base/java.lang.Enum.valueOf(Enum.java:238)
      	at deployment.ejbca.ear.adminweb.war//org.ejbca.ui.web.admin.administratorprivileges.AccessRulesBean$AccessRuleState.valueOf(AccessRulesBean.java:112)
      

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            bastianf Bastian Fredriksson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1 hour
                1h
                Remaining:
                Remaining Estimate - 1 hour
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified