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

NPE editing SCEP alias after rename of end entity profile and SCEP alias list items are not sorted

    Details

    • Issue discovered during:
      Customer
    • Sprint:
      EJBCA Team Alice - 2020 w20

      Description

      The following error has occurred while editing existing SCEP alias.

      SEVERE [javax.enterprise.resource.webcontainer.jsf.application] (default task-1) Error Rendering View[/sysconfig/scepaliasconfiguration.xhtml]: javax.el.ELException: /sysconfig/scepaliasconfiguration.xhtml @86,82 value="#

      {scepConfigMBean.availableCertProfilesOfEEProfile}

      ": java.lang.NullPointerException
      at com.sun.faces.facelets.el.TagValueExpression.getValue(TagValueExpression.java:119) [jsf-impl-2.3.5.SP2.jar:2.3.5.SP2]
      ...
      Caused by: java.lang.NullPointerException
      at org.ejbca.ui.web.admin.configuration.ScepConfigMBean.getAvailableCertProfilesOfEEProfile(ScepConfigMBean.java:464) [classes:]

      Steps to Reproduce:
      1- Create an EE Profile.
      2- Create a SCEP Alias and choose the created EE Profile in that SCEP Alias.
      3- Rename the EE Profile
      4- Try to edit the SCEP Alias - Error will occur.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              tomas Tomas Gustavsson
              Reporter:
              rubinaa Rubina Akram
              Verified by:
              Mike Agrenius Kushner
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 20 minutes
                  20m
                  Remaining:
                  Time Spent - 15 minutes Remaining Estimate - 5 minutes
                  5m
                  Logged:
                  Time Spent - 15 minutes Remaining Estimate - 5 minutes
                  15m