Uploaded image for project: 'OpenIDM'
  1. OpenIDM
  2. OPENIDM-12055

OpenIDM 6.0.0.3 - NullPointerException when changing Authentication/Session.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Cannot Reproduce
    • Affects Version/s: 6.0.0.2, 6.0.0.3
    • Fix Version/s: None
    • Component/s: Module - Configuration
    • Labels:
    • Environment:
      OpenIDM version "6.0.0.3-RC3" (build: 20181026144915, revision: 1892730) jenkins-openidm-release-sustaining%2F6.0.x-32

      Description

      This issue is very similar to OPENIDM-11649. But the behavior is different, so I decided to create a new issue for that. 

      Steps to reproduce:

      1. Start OpenIDM
      2. Navigate to Configure>Authentication>Session
      3. Change some configuration, for example 'Max Token Life'

      Expected result: Configuration is saved and no exception observed in log.

      Actual result: Configuration is saved and exception is observed in log. 

      It looks like only exception is thrown, every configuration is correctly saved and working. Issue is observed from 6.0.0.1 (reproducible on 6.0.0.2 and 6.0.0.3-RC3).

      Tested on OpenIDM version "6.0.0.3-RC3" (build: 20181026144915, revision: 1892730) jenkins-openidm-release-sustaining%2F6.0.x-32.

      Exception:

      OpenIDM ready
      [982] Nov 06, 2018 2:46:42.780 PM org.forgerock.http.servlet.HttpFrameworkServlet service
      SEVERE: Throwable caught
      java.lang.NullPointerException
       at org.forgerock.openidm.auth.ProfileEnhancementCheckFilter.filter(ProfileEnhancementCheckFilter.java:113)
       at org.forgerock.http.handler.Handlers$1.handle(Handlers.java:53)
       at org.forgerock.openidm.auth.LoginCountFilter.filter(LoginCountFilter.java:63)
       at org.forgerock.http.handler.Handlers$1.handle(Handlers.java:53)
       at org.forgerock.openidm.auth.AuthFilterWrapper$1.filter(AuthFilterWrapper.java:39)
       at org.forgerock.openidm.auth.AuthFilterWrapper.filter(AuthFilterWrapper.java:87)
       at org.forgerock.http.handler.Handlers$1.handle(Handlers.java:53)
       at org.forgerock.http.filter.TransactionIdInboundFilter.filter(TransactionIdInboundFilter.java:75)
       at org.forgerock.http.handler.Handlers$1.handle(Handlers.java:53)
       at org.forgerock.http.servlet.HttpFrameworkServlet.service(HttpFrameworkServlet.java:254)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
       at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:812)
       at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)
       at org.eclipse.jetty.servlets.UserAgentFilter.doFilter(UserAgentFilter.java:83)
       at org.eclipse.jetty.servlets.GzipFilter.doFilter(GzipFilter.java:365)
       at sun.reflect.GeneratedMethodAccessor95.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
       at java.lang.reflect.Method.invoke(Method.java:498)
       at org.forgerock.openidm.servletregistration.impl.ServletRegistrationSingleton$FilterProxy.invoke(ServletRegistrationSingleton.java:296)
       at com.sun.proxy.$Proxy64.doFilter(Unknown Source)
       at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
       at org.eclipse.jetty.servlets.CrossOriginFilter.handle(CrossOriginFilter.java:257)
       at org.eclipse.jetty.servlets.CrossOriginFilter.doFilter(CrossOriginFilter.java:220)
       at sun.reflect.GeneratedMethodAccessor95.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
       at java.lang.reflect.Method.invoke(Method.java:498)
       at org.forgerock.openidm.servletregistration.impl.ServletRegistrationSingleton$FilterProxy.invoke(ServletRegistrationSingleton.java:296)
       at com.sun.proxy.$Proxy64.doFilter(Unknown Source)
       at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
       at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)
       at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(HttpServiceServletHandler.java:71)
       at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
       at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)
       at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)
       at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
       at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:276)
       at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
       at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
       at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
       at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
       at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:80)
       at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
       at org.eclipse.jetty.server.Server.handle(Server.java:499)
       at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311)
       at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
       at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544)
       at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
       at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
       at java.lang.Thread.run(Thread.java:748)
      

        Attachments

          Activity

            People

            • Assignee:
              patrickdiligent patrick diligent
              Reporter:
              jakub.janoska Jakub Janoska [X] (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: