Login page is not being displayed in AEM 6.4. Throwing Null Pointer Exception in HtmlLibraryManagerImpl load libraray | Community
Skip to main content
Level 2
August 27, 2018
Solved

Login page is not being displayed in AEM 6.4. Throwing Null Pointer Exception in HtmlLibraryManagerImpl load libraray

  • August 27, 2018
  • 8 replies
  • 5651 views

Login page and other pages on AEM6.4 Environment are not being displayed. It was working properly but suddenly it is not working. able to login in CRX/de/index.jsp but no HTML pages are being rendered. Have tried restarting the servers and deploying old releases.


Exception in logs

  1. 27.08.2018 14:44:26.314 *ERROR* [0:0:0:0:0:0:0:1 [1535361266176] GET /libs/granite/core/content/login.html HTTP/1.1] org.apache.sling.engine.impl.SlingRequestProcessorImpl service: Uncaught SlingException

java.lang.NullPointerException: null

                at com.adobe.granite.ui.clientlibs.impl.HtmlLibraryManagerImpl.loadLibrary(HtmlLibraryManagerImpl.java:1090) [com.adobe.granite.ui.clientlibs:1.0.76]

                at com.adobe.granite.ui.clientlibs.impl.HtmlLibraryManagerImpl.loadLibs(HtmlLibraryManagerImpl.java:1031) [com.adobe.granite.ui.clientlibs:1.0.76]

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by pankajkumar122

We restored the environment from backup and deployed the latest build again. It worked fine. We could not troubleshoot the reason behind the issue or what fixed it but it is working now.

8 replies

edubey
Level 10
August 27, 2018

1. You may want to share complete logs

2. Can you try login to felix console localhost:4502/system/console/bundles and see if there is any bundle which is not active

3. Was there any deployment which caused this?

smacdonald2008
Level 10
August 27, 2018

As Praveen mentions - did you install a package or JS before this started happening.

Adobe Employee
August 27, 2018
Level 2
August 27, 2018

We installed a code package but it worked properly that time. We deployed a package on Friday morning. It worked welll. but on Sunday afternoon, it started giving this issue.

Really surprised. We reverted the packages deployed on thursday and friday but still issue persists. We have restarted the system twice after deploying old package but it is still giving same issue.

No HTML page : sites.html, editor.html, login.html is appearing.

In Friday change, We introduced listeners.js in server libs

mikezooz
Level 4
August 27, 2018

Please try these might be helpful

AccessDeniedException on loading client libraries

kautuk_sahni
Community Manager
Community Manager
September 7, 2018

I could recall some similar issue reported on Forums for AEM 6.2 as well. Forced compiling worked that time.

Please follow How to force a recompilation of all Sling scripts jsps, java, and sightly in AEM 6.4  and check this this works.

It was then some datastore corruption issue.

Kautuk Sahni
pankajkumar122AuthorAccepted solution
Level 2
September 7, 2018

We restored the environment from backup and deployed the latest build again. It worked fine. We could not troubleshoot the reason behind the issue or what fixed it but it is working now.

smacdonald2008
Level 10
September 7, 2018

I am glad to hear its working now.