Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-17064

Improve debugging to troubleshoot Saml2 Secrets upgrade

    XMLWordPrintable

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 7.0.0
    • None
    • upgrade
    • Rank:
      1|i02s4v:
    • AM Sustaining Sprint 80, AM Sustaining Sprint 81, AM Sustaining Sprint 82, AM Sustaining Sprint 83, AM Sustaining Sprint 84, AM Sustaining Sprint 85, AM Sustaining Sprint 86, AM Sustaining Sprint 87, AM Sustaining Sprint 88, AM Sustaining Sprint 89, AM Sustaining Sprint 90
    • 2

    Description

      When upgrading from 6.0.0.7 to 7.0.0 and NPE exception was seen that can be traced back to the Saml2EntitySecretsStep
      The current debug does not give enough detail as to which credential is failing.
      The purpose of the RFE is to provide assertions around the location of the crash and provide better logging.

       

      Details of the crash are

       

      The container log shows an NPE with this stack:

      [Click] [error] handleException: java.lang.NullPointerException

         at org.forgerock.openam.secrets.SecretsUtils.encryptSecret(SecretsUtils.java:179)

         at org.forgerock.openam.upgrade.steps.secrets.CredentialVisitor.visit(CredentialVisitor.java:109)

         at

      Attachments

        Issue Links

          Activity

            People

              joe.starling Joe Starling
              gyan.baines Gyan Baines
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: