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

NPE for notifyGlobalConfigChange in Configuration debug file after OpenAM setup

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 14.5.0
    • Fix Version/s: 6.0.0, 5.5.2
    • Component/s: None
    • Labels:
    • Environment:
      JDK 1.8, Tomcat 8.5
    • Needs backport:
      Yes
    • Needs QA verification:
      No
    • Functional tests:
      No
    • Are the reproduction steps defined?:
      Yes and I used the same an in the description

      Description

      After installing and configuring OpenAM (M10 build) the following exception is observed in Configuration debug file:

      amSMSEvent:01/12/2017 02:06:53:503 PM GMT: Thread[smIdmThreadPool,5,main]: TransactionId[29c3d388-ab1f-4d5b-b456-af3ca21cee02-4]
      ERROR: ServiceConfigManagerImpl(:iPlanetAMPlatformService) notifyGlobalConfigChange Error sending notification to ServiceListener: com.sun.identity.common.configuration.ConfigurationObserver
      java.lang.NullPointerException
              at java.util.Hashtable.putAll(Hashtable.java:522)
              at com.iplanet.am.util.SystemProperties.initializeProperties(SystemProperties.java:504)
              at com.sun.identity.common.configuration.ConfigurationObserver.globalConfigChanged(ConfigurationObserver.java:148)
              at com.sun.identity.sm.ServiceConfigManagerImpl.notifyGlobalConfigChange(ServiceConfigManagerImpl.java:484)
              at com.sun.identity.sm.ServiceConfigManagerImpl.objectChanged(ServiceConfigManagerImpl.java:456)
              at com.sun.identity.sm.SMSNotificationManager.sendNotifications(SMSNotificationManager.java:294)
              at com.sun.identity.sm.SMSNotificationManager$LocalChangeNotifcationTask.run(SMSNotificationManager.java:370)
              at org.forgerock.openam.audit.context.AuditRequestContextPropagatingRunnable.run(AuditRequestContextPropagatingRunnable.java:42)
              at com.iplanet.am.util.ThreadPool$WorkerThread.run(ThreadPool.java:314)
      

      To reproduce:

      1. deploy OpenAM war file in Tomcat
      2. run the Web/CLI configurator
      3. observe openam/debug/Configuration

      Please consider not logging the stack trace for non-debug log levels as per: OPENAM-10373

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                peter.major Peter Major [X] (Inactive)
                Reporter:
                n4al Nemanja Lukic
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: