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

Upgrade from AM 12.0.x to nightly throws NPE at UpgradeAgentServiceStep

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 14.0.0
    • Fix Version/s: 14.0.0
    • Component/s: upgrade
    • Labels:
    • Target Version/s:
    • Rank:
      1|hzrkon:
    • Sprint:
      AM Sustaining Sprint 29

      Description

      Upgrade AM nightly throws NPE in web container log

      Steps to reproduce

      1.) Default installation of an AM12.0.x
      2.) Deploy AM nightly and start container
      3.) Hit the AM page and start upgrade. You will see it hangs at agent upgrade step

      Observed result

      web container log
      [Click] [error] handleException: java.lang.NullPointerException
              at org.forgerock.openam.upgrade.steps.UpgradeAgentServiceStep.perform(UpgradeAgentServiceStep.java:90)
              at org.forgerock.openam.upgrade.UpgradeServices.upgrade(UpgradeServices.java:155)
              at com.sun.identity.config.upgrade.Upgrade.doUpgrade(Upgrade.java:85)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:606)
              at org.apache.click.util.ClickUtils.invokeMethod(ClickUtils.java:3317)
              at org.apache.click.util.ClickUtils.invokeListener(ClickUtils.java:2088)
              at org.apache.click.control.AbstractControl$1.onAction(AbstractControl.java:228)
              at org.apache.click.ActionEventDispatcher.fireActionEvent(ActionEventDispatcher.java:259)
              at org.apache.click.ActionEventDispatcher.fireActionEvents(ActionEventDispatcher.java:236)
              at org.apache.click.ActionEventDispatcher.fireActionEvents(ActionEventDispatcher.java:180)
              at org.apache.click.ClickServlet.performOnProcess(ClickServlet.java:746)
              at org.apache.click.ClickServlet.processAjaxPageEvents(ClickServlet.java:1860)
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sachiko Sachiko Wallace
              Reporter:
              richard.hruza Richard Hruza
              QA Assignee:
              Richard Hruza Richard Hruza
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: