2 Replies Latest reply on Jul 18, 2017 12:27 AM by mchag

    Issue with User Admin Console: Users and Groups are not loading and throwing null pointer exception in AEM with admin login

    mchag Level 1

      Hi ,

       

      In one our AEM environments we are facing issues with user admin, when we login to AEM using admin user we are not able to see the users and groups loading, we see the following null pointer exception in logs. If anybody has faced this kind of issue, can you please let us know what could be the issue and how to trace it out?

      1. 07.07.2017 18:31:05.994 *ERROR* [172.19.214.52 [1499470265987] GET /bin/security/authorizables.json HTTP/1.1] org.apache.sling.engine.impl.SlingRequestProcessorImpl service: Uncaught Throwable
      2. java.lang.NullPointerException: null

              at com.day.cq.security.util.AuthorizableJSONWriter.writeAuthorizables(AuthorizableJSONWriter .java:420)

              at com.day.cq.security.util.AuthorizableJSONWriter.write(AuthorizableJSONWriter.java:230)

              at com.day.cq.security.widgets.impl.AuthorizableQuery.serviceGet(AuthorizableQuery.java:165)

              at com.day.cq.security.impl.AbstractHTMLResponseServlet.doGet(AbstractHTMLResponseServlet.ja va:55)

              at org.apache.sling.api.servlets.SlingSafeMethodsServlet.mayService(SlingSafeMethodsServlet. java:269)

              at org.apache.sling.api.servlets.SlingAllMethodsServlet.mayService(SlingAllMethodsServlet.ja va:140)

              at org.apache.sling.api.servlets.SlingSafeMethodsServlet.service(SlingSafeMethodsServlet.jav a:345)

              at org.apache.sling.api.servlets.SlingSafeMethodsServlet.service(SlingSafeMethodsServlet.jav a:376)

              at org.apache.sling.engine.impl.request.RequestData.service(RequestData.java:546)

              at org.apache.sling.engine.impl.filter.SlingComponentFilterChain.render(SlingComponentFilter Chain.java:44)

              at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:77)

              at com.day.cq.wcm.core.impl.WCMDebugFilter.doFilter(WCMDebugFilter.java:156)

              at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:68)

              at com.day.cq.wcm.core.impl.WCMComponentFilter.filterRootInclude(WCMComponentFilter.java:362 )

              at com.day.cq.wcm.core.impl.WCMComponentFilter.doFilter(WCMComponentFilter.java:177)

              at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:68)

              at com.day.cq.personalization.impl.TargetComponentFilter.doFilter(TargetComponentFilter.java :96)

              at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:68)

      at org.apache.sling.engine.impl.SlingRequestProcessorImpl.processComponent(SlingRequestProce ssorImpl.java:282)

              at org.apache.sling.engine.impl.filter.RequestSlingFilterChain.render(RequestSlingFilterChai n.java:49)

              at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:77)

              at com.day.cq.dam.core.impl.assetlinkshare.AdhocAssetShareAuthHandler.doFilter(AdhocAssetSha reAuthHandler.java:389)

              at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:68)

              at com.day.cq.dam.core.impl.servlet.ActivityRecordHandler.doFilter(ActivityRecordHandler.jav a:155)

              at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:68)

              at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:73)

              at com.adobe.cq.social.ugcbase.security.impl.SaferSlingPostServlet.doFilter(SaferSlingPostSe rvlet.java:114)

              at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:68)

              at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:73)

              at com.adobe.granite.requests.logging.impl.RequestLoggerImpl.doFilter(RequestLoggerImpl.java :114)

              at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:68)

              at com.adobe.granite.csrf.impl.CSRFFilter.doFilter(CSRFFilter.java:220)

              at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:68)

              at org.apache.sling.security.impl.ContentDispositionFilter.doFilter(ContentDispositionFilter .java:181)

              at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:68)

              at com.day.cq.wcm.core.impl.AuthoringUIModeServiceImpl.doFilter(AuthoringUIModeServiceImpl.j ava:367)

              at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:68)

              at com.day.cq.wcm.core.impl.warp.TimeWarpFilter.doFilter(TimeWarpFilter.java:106)

              at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:68)

              at com.day.cq.wcm.mobile.core.impl.redirect.RedirectFilter.doFilter(RedirectFilter.java:248)

              at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:68)

              at com.healthnet.idp.filters.CSRFFilter.doFilter(CSRFFilter.java:125)

              at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:68)

              at com.healthnet.idp.filters.XSSFilter.doFilter(XSSFilter.java:169)

              at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:68)

              at org.apache.sling.engine.impl.debug.RequestProgressTrackerLogFilter.doFilter(RequestProgre ssTrackerLogFilter.java:95)

              at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:68)

              at com.day.cq.analytics.provisioning.impl.UserAuthenticationRequestFilter.doFilter(UserAuthe nticationRequestFilter.java:119)

      at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:68)

              at com.adobe.cq.social.commons.cors.CORSAuthenticationFilter.doFilter(CORSAuthenticationFilt er.java:91)

              at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:68)

              at com.day.cq.wcm.foundation.forms.impl.FormsHandlingServlet.doFilter(FormsHandlingServlet.j ava:285)

              at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:68)

              at com.adobe.granite.optout.impl.OptOutFilter.doFilter(OptOutFilter.java:74)

              at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:68)

      at com.adobe.cq.history.impl.HistoryRequestFilter.doFilter(HistoryRequestFilter.java:107)

              at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:68)

              at com.day.cq.wcm.core.impl.WCMRequestFilter.doFilter(WCMRequestFilter.java:90)

              at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:68)

              at com.adobe.cq.mcm.campaign.servlets.CampaignCopyTracker.doFilter(CampaignCopyTracker.java: 100)

              at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:68)

              at org.apache.sling.rewriter.impl.RewriterFilter.doFilter(RewriterFilter.java:83)

              at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:68)

              at com.adobe.granite.httpcache.impl.InnerCacheFilter.doFilter(InnerCacheFilter.java:77)

              at com.adobe.granite.httpcache.impl.InnerCacheFilter.doFilter(InnerCacheFilter.java:56)

              at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:68)

              at org.apache.sling.i18n.impl.I18NFilter.doFilter(I18NFilter.java:129)

              at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:68)

              at com.adobe.granite.rest.impl.servlet.ApiResourceFilter.doFilter(ApiResourceFilter.java:68)

              at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:68)

              at org.apache.sling.bgservlets.impl.BackgroundServletStarterFilter.doFilter(BackgroundServle tStarterFilter.java:169)

              at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:68)

              at com.adobe.granite.resourceresolverhelper.impl.ResourceResolverHelperImpl.doFilter(Resourc eResolverHelperImpl.java:84)

              at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:68)

              at org.apache.sling.engine.impl.SlingRequestProcessorImpl.doProcessRequest(SlingRequestProce ssorImpl.java:151)

              at org.apache.sling.engine.impl.SlingMainServlet.service(SlingMainServlet.java:216)

              at org.apache.felix.http.base.internal.handler.ServletHandler.handle(ServletHandler.java:85)

              at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.jav a:79)

              at org.apache.felix.http.sslfilter.internal.SslFilter.doFilter(SslFilter.java:89)

              at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:135)

              at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.jav a:74)

              at org.apache.sling.security.impl.ReferrerFilter.doFilter(ReferrerFilter.java:290)

              at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:135)

              at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.jav a:74)

              at com.adobe.granite.license.impl.LicenseCheckFilter.doFilter(LicenseCheckFilter.java:308)

              at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:135)

              at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.jav a:74)

              at org.apache.sling.i18n.impl.I18NFilter.doFilter(I18NFilter.java:129)

              at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:135)

              at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.jav a:74)

              at org.apache.sling.featureflags.impl.FeatureManager.doFilter(FeatureManager.java:116)

              at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:135)

              at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.jav a:74)

              at org.apache.sling.engine.impl.log.RequestLoggerFilter.doFilter(RequestLoggerFilter.java:75 )

              at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:135)

              at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.jav a:74)

              at org.apache.felix.http.base.internal.dispatch.Dispatcher.dispatch(Dispatcher.java:124)

              at org.apache.felix.http.base.internal.DispatcherServlet.service(DispatcherServlet.java:61)

              at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)

              at org.apache.felix.http.proxy.ProxyServlet.service(ProxyServlet.java:60)

              at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)

              at org.apache.sling.launchpad.base.webapp.SlingServletDelegate.service(SlingServletDelegate. java:286)

      at org.apache.sling.launchpad.webapp.SlingServlet.service(SlingServlet.java:174)

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:230)

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)

              at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:192)

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)

              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)

              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:108)

              at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:522)

              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)

              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)

              at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620)

              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)

              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:349)

              at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:1110)

              at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)

              at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:785)

              at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1425)

              at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52)

              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

              at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)

              at java.lang.Thread.run(Thread.java:745)