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

Upgrade AM 13.x makes ERROR: NumberFormatException and NullPointerException in session debug log

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 13.0.0, 13.5.0
    • Fix Version/s: None
    • Component/s: upgrade
    • Environment:
      OpenAM 13.5.0-RC2 Build 8ce0f52a5f (2016-June-03 15:55)

      Description

      Upgrade AM 13.5 makes ERROR: NumberFormatException and NullPointerException in session debug log

      Steps to reproduce

      1.) Default installation of an AM12.0.3
      2.) Deploy AM 13.5 and start container
      3.) Hit the AM page (no need to perform upgrade)

      Observed result

      Session debug log
      ERROR: CollectionHelper.getIntMapAttr
      java.lang.NumberFormatException: null
      	at java.lang.Integer.parseInt(Integer.java:454)
      	at java.lang.Integer.parseInt(Integer.java:527)
      	at com.sun.identity.shared.datastruct.CollectionHelper.getIntMapAttr(CollectionHelper.java:245)
      	at com.iplanet.dpro.session.service.SessionServiceConfig$HotSwappableSessionServiceConfig.<init>(SessionServiceConfig.java:208)
      	at com.iplanet.dpro.session.service.SessionServiceConfig$HotSwappableSessionServiceConfig.<init>(SessionServiceConfig.java:167)
      	at com.iplanet.dpro.session.service.SessionServiceConfig.<init>(SessionServiceConfig.java:365)
      	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
      	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      	at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
      	at com.google.inject.internal.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:85)
      	at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:85)
      	at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)
      	at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
      	at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031)
      	at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
      	at com.google.inject.Scopes$1$1.get(Scopes.java:65)
      	at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
      	at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
      	at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
      	at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:84)
      	at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)
      	at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
      	at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031)
      	at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
      	at com.google.inject.Scopes$1$1.get(Scopes.java:65)
      	at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
      	at com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:978)
      	at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1024)
      	at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:974)
      	at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1013)
      	at org.forgerock.guice.core.InjectorHolder.getInstance(InjectorHolder.java:80)
      	at com.sun.identity.authentication.service.AuthD.getSessionService(AuthD.java:798)
      	at com.sun.identity.authentication.service.AuthD.initAuthSession(AuthD.java:814)
      	at com.sun.identity.authentication.service.AuthD.<init>(AuthD.java:242)
      	at com.sun.identity.authentication.service.AuthD.<init>(AuthD.java:100)
      	at com.sun.identity.authentication.service.AuthD$SingletonHolder.getInstance(AuthD.java:122)
      	at com.sun.identity.authentication.service.AuthD.getAuth(AuthD.java:531)
      	at com.sun.identity.authentication.UI.LoginLogoutMapping.initializeAuth(LoginLogoutMapping.java:98)
      	at com.sun.identity.authentication.UI.LoginLogoutMapping.init(LoginLogoutMapping.java:73)
      	at com.sun.identity.authentication.UI.LoginLogoutMapping.init(LoginLogoutMapping.java:62)
      	at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1284)
      	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1197)
      	at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1087)
      	at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5231)
      	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5518)
      	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
      	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
      	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
      	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:649)
      	at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1081)
      	at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1877)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      	at java.lang.Thread.run(Thread.java:745)
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dipu.seminlal Dipu Seminlal
                Reporter:
                richard.hruza Richard Hruza
                QA Assignee:
                Richard Hruza
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: