Expand my Community achievements bar.

SOLVED

Sign in CRX/DE have a problem

Avatar

Level 1

Not logged in then can not to connect localhost:4502/crx/de/index.jsp

After login then can connect

logs:

08.10.2019 09:45:13.764 *INFO* [qtp1116131553-335054] org.apache.sling.auth.core.impl.SlingAuthenticator getAnonymousResolver: Anonymous access not allowed by configuration - requesting credentials

08.10.2019 09:45:13.811 *WARN* [10.133.241.137 [1570499113808] GET /libs/granite/core/content/login.html HTTP/1.1] libs.granite.core.components.login.login$jsp j_reason param value 'unknown' cannot be mapped to a valid reason message: ignoring

08.10.2019 09:45:14.580 *ERROR* [qtp1116131553-335054] com.day.crx.delite.impl.servlets.InitServlet Error while retrieving infos

java.lang.NullPointerException: null

at com.day.crx.delite.impl.servlets.InitServlet.getFormattedName(InitServlet.java:126)

at com.day.crx.delite.impl.servlets.InitServlet.doService(InitServlet.java:84)

at com.day.crx.delite.impl.AbstractServlet.service(AbstractServlet.java:52)

at com.day.crx.delite.impl.MainServlet.doService(MainServlet.java:132)

at com.day.crx.delite.impl.MainServlet.service(MainServlet.java:109)

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

at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.java:86)

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

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

at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.java:81)

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.java:81)

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

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

at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.java:81)

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

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

at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.java:81)

at org.apache.felix.http.base.internal.dispatch.Dispatcher$1.doFilter(Dispatcher.java:146)

at org.apache.felix.http.base.internal.whiteboard.WhiteboardManager.invokePreprocessors(WhiteboardManager.java:1000)

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

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

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

at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:865)

at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:535)

at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255)

at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1595)

at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255)

at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1340)

at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203)

at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:473)

at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1564)

at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201)

at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1242)

at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144)

at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:220)

at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)

at org.eclipse.jetty.server.Server.handle(Server.java:503)

at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:364)

at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:260)

at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:305)

at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)

at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:118)

at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:333)

at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:310)

at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168)

at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:126)

at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:366)

at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:765)

at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:683)

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

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi 翔82137147 ,

It happen sometime due to browser cache.

Please try after clearing your browser cache or open the url in incognito mode.

Please note: By default anonymous users in aem doesn't have access to any folder in author environment so you will see like below screenshot using anonymous user which is expected.

1842808_pastedImage_2.png

Regards,

Arpit Vashney

View solution in original post

4 Replies

Avatar

Employee Advisor

Check if you able to login to <host>:<port>/crx/explorer

If yes, there is an issue with crxde and check if it is enabled as per [1]

If no, the Issue might be related to caching.

[1] Enabling CRXDE Lite in AEM

Avatar

Level 1

<host>:<port>/crx/explorer  Can be opened .1842526_pastedImage_2.png

My situation is not logged in, can't open <host>:<port>/crx/de/index.jsp

1842525_pastedImage_1.png

But after I log in, I can open <host>:<port>/crx/de/index.jsp

1842527_pastedImage_7.png

Whether it's a login validation problem or not, judge that I'm an anonymous user and don't let me open <host>:<port>/crx/de/index.jsp

Thank you for your help.

Avatar

Correct answer by
Community Advisor

Hi 翔82137147 ,

It happen sometime due to browser cache.

Please try after clearing your browser cache or open the url in incognito mode.

Please note: By default anonymous users in aem doesn't have access to any folder in author environment so you will see like below screenshot using anonymous user which is expected.

1842808_pastedImage_2.png

Regards,

Arpit Vashney