error when changing password on author

Avatar

Avatar

ayecona

Avatar

ayecona

ayecona

04-09-2019

Today we tried to change the admin password on the AUTHOR instance and when trying to login we got this errors below. Please advice.

Regards,

HTTP ERROR 500

Problem accessing /libs/granite/core/content/login.html. Reason:

    Server Error

Caused by:

  1. java.lang.StackOverflowError

at java.base/java.security.AccessController.doPrivileged(Native Method)

at java.base/javax.security.auth.Subject.getSubject(Subject.java:296)

at org.apache.jackrabbit.oak.security.authentication.LoginContextProviderImpl.getSubject(LoginContextProviderImpl.java:93)

at org.apache.jackrabbit.oak.security.authentication.LoginContextProviderImpl.getLoginContext(LoginContextProviderImpl.java:75)

at org.apache.jackrabbit.oak.core.ContentRepositoryImpl.login(ContentRepositoryImpl.java:162)

at org.apache.jackrabbit.oak.spi.security.authentication.AbstractLoginModule$1.run(AbstractLoginModule.java:397)

at org.apache.jackrabbit.oak.spi.security.authentication.AbstractLoginModule$1.run(AbstractLoginModule.java:394)

at java.base/java.security.AccessController.doPrivileged(Native Method)

at java.base/javax.security.auth.Subject.doAs(Subject.java:423)

at org.apache.jackrabbit.oak.spi.security.authentication.AbstractLoginModule.getRoot(AbstractLoginModule.java:394)

at org.apache.jackrabbit.oak.security.authentication.token.TokenLoginModule.getTokenProvider(TokenLoginModule.java:217)

at org.apache.jackrabbit.oak.security.authentication.token.TokenLoginModule.login(TokenLoginModule.java:127)

at org.apache.felix.jaas.boot.ProxyLoginModule.login(ProxyLoginModule.java:52)

at java.base/javax.security.auth.login.LoginContext.invoke(LoginContext.java:726)

at java.base/javax.security.auth.login.LoginContext$4.run(LoginContext.java:665)

at java.base/javax.security.auth.login.LoginContext$4.run(LoginContext.java:663)

at java.base/java.security.AccessController.doPrivileged(Native Method)

at java.base/javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:663)

at java.base/javax.security.auth.login.LoginContext.login(LoginContext.java:574)

at org.apache.jackrabbit.oak.core.ContentRepositoryImpl.login(ContentRepositoryImpl.java:163)

at org.apache.jackrabbit.oak.jcr.repository.RepositoryImpl.login(RepositoryImpl.java:282)

at com.adobe.granite.repository.impl.CRX3RepositoryImpl.login(CRX3RepositoryImpl.java:150)

at com.adobe.granite.repository.impl.CRX3RepositoryImpl.login(CRX3RepositoryImpl.java:241)

at org.apache.sling.jcr.base.AbstractSlingRepository2.login(AbstractSlingRepository2.java:345)

at org.apache.sling.jcr.resource.internal.helper.jcr.JcrProviderStateFactory.createProviderState(JcrProviderStateFactory.java:132)

at org.apache.sling.jcr.resource.internal.helper.jcr.JcrResourceProvider.authenticate(JcrResourceProvider.java:304)

at org.apache.sling.jcr.resource.internal.helper.jcr.JcrResourceProvider.authenticate(JcrResourceProvider.java:76)

at org.apache.sling.resourceresolver.impl.providers.stateful.ProviderManager.authenticate(ProviderManager.java:161)

at org.apache.sling.resourceresolver.impl.providers.stateful.ProviderManager.getOrCreateProvider(ProviderManager.java:87)

at org.apache.sling.resourceresolver.impl.providers.stateful.ProviderManager.authenticateAll(ProviderManager.java:129)

at org.apache.sling.resourceresolver.impl.ResourceResolverImpl.createControl(ResourceResolverImpl.java:142)

at org.apache.sling.resourceresolver.impl.ResourceResolverImpl.<init>(ResourceResolverImpl.java:103)

at org.apache.sling.resourceresolver.impl.ResourceResolverImpl.<init>(ResourceResolverImpl.java:97)

at org.apache.sling.resourceresolver.impl.CommonResourceResolverFactoryImpl.getResourceResolverInternal(CommonResourceResolverFactoryImpl.java:280)

at org.apache.sling.resourceresolver.impl.CommonResourceResolverFactoryImpl.getResourceResolver(CommonResourceResolverFactoryImpl.java:190)

at org.apache.sling.resourceresolver.impl.ResourceResolverFactoryImpl.getResourceResolver(ResourceResolverFactoryImpl.java:98)

at org.apache.sling.auth.core.impl.SlingAuthenticator.getAnonymousResolver(SlingAuthenticator.java:878)

at org.apache.sling.auth.core.impl.SlingAuthenticator.handleLoginFailure(SlingAuthenticator.java:1009)

at org.apache.sling.auth.core.impl.SlingAuthenticator.getAnonymousResolver(SlingAuthenticator.java:900)

at org.apache.sling.auth.core.impl.SlingAuthenticator.handleLoginFailure(SlingAuthenticator.java:1009)

at org.apache.sling.auth.core.impl.SlingAuthenticator.getAnonymousResolver(SlingAuthenticator.java:900)

at org.apache.sling.auth.core.impl.SlingAuthenticator.handleLoginFailure(SlingAuthenticator.java:1009)

at org.apache.sling.auth.core.impl.SlingAuthenticator.getAnonymousResolver(SlingAuthenticator.java:900)

at org.apache.sling.auth.core.impl.SlingAuthenticator.handleLoginFailure(SlingAuthenticator.java:1009)

at org.apache.sling.auth.core.impl.SlingAuthenticator.getAnonymousResolver(SlingAuthenticator.java:900)

at org.apache.sling.auth.core.impl.SlingAuthenticator.handleLoginFailure(SlingAuthenticator.java:1009)

at org.apache.sling.auth.core.impl.SlingAuthenticator.getAnonymousResolver(SlingAuthenticator.java:900)

at org.apache.sling.auth.core.impl.SlingAuthenticator.handleLoginFailure(SlingAuthenticator.java:1009)

at org.apache.sling.auth.core.impl.SlingAuthenticator.getAnonymousResolver(SlingAuthenticator.java:900)

at org.apache.sling.auth.core.impl.SlingAuthenticator.handleLoginFailure(SlingAuthenticator.java:1009)

at org.apache.sling.auth.core.impl.SlingAuthenticator.getAnonymousResolver(SlingAuthenticator.java:900)

at org.apache.sling.auth.core.impl.SlingAuthenticator.handleLoginFailure(SlingAuthenticator.java:1009)

at org.apache.sling.auth.core.impl.SlingAuthenticator.getAnonymousResolver(SlingAuthenticator.java:900)

at org.apache.sling.auth.core.impl.SlingAuthenticator.handleLoginFailure(SlingAuthenticator.java:1009)

at org.apache.sling.auth.core.impl.SlingAuthenticator.getAnonymousResolver(SlingAuthenticator.java:900)

at org.apache.sling.auth.core.impl.SlingAuthenticator.handleLoginFailure(SlingAuthenticator.java:1009)

at org.apache.sling.auth.core.impl.SlingAuthenticator.getAnonymousResolver(SlingAuthenticator.java:900)

at org.apache.sling.auth.core.impl.SlingAuthenticator.handleLoginFailure(SlingAuthenticator.java:1009)

at org.apache.sling.auth.core.impl.SlingAuthenticator.getAnonymousResolver(SlingAuthenticator.java:900)

at org.apache.sling.auth.core.impl.SlingAuthenticator.handleLoginFailure(SlingAuthenticator.java:1009)

at org.apache.sling.auth.core.impl.SlingAuthenticator.getAnonymousResolver(SlingAuthenticator.java:900)

at org.apache.sling.auth.core.impl.SlingAuthenticator.handleLoginFailure(SlingAuthenticator.java:1009)

at org.apache.sling.auth.core.impl.SlingAuthenticator.getAnonymousResolver(SlingAuthenticator.java:900)

at org.apache.sling.auth.core.impl.SlingAuthenticator.handleLoginFailure(SlingAuthenticator.java:1009)

at org.apache.sling.auth.core.impl.SlingAuthenticator.getAnonymousResolver(SlingAuthenticator.java:900)

at org.apache.sling.auth.core.impl.SlingAuthenticator.handleLoginFailure(SlingAuthenticator.java:1009)

at org.apache.sling.auth.core.impl.SlingAuthenticator.getAnonymousResolver(SlingAuthenticator.java:900)

at org.apache.sling.auth.core.impl.SlingAuthenticator.handleLoginFailure(SlingAuthenticator.java:1009)

at org.apache.sling.auth.core.impl.SlingAuthenticator.getAnonymousResolver(SlingAuthenticator.java:900)

at org.apache.sling.auth.core.impl.SlingAuthenticator.handleLoginFailure(SlingAuthenticator.java:1009)

at org.apache.sling.auth.core.impl.SlingAuthenticator.getAnonymousResolver(SlingAuthenticator.java:900)

at org.apache.sling.auth.core.impl.SlingAuthenticator.handleLoginFailure(SlingAuthenticator.java:1009)

at org.apache.sling.auth.core.impl.SlingAuthenticator.getAnonymousResolver(SlingAuthenticator.java:900)

at org.apache.sling.auth.core.impl.SlingAuthenticator.handleLoginFailure(SlingAuthenticator.java:1009)

at org.apache.sling.auth.core.impl.SlingAuthenticator.getAnonymousResolver(SlingAuthenticator.java:900)

at org.apache.sling.auth.core.impl.SlingAuthenticator.handleLoginFailure(SlingAuthenticator.java:1009)

at org.apache.sling.auth.core.impl.SlingAuthenticator.getAnonymousResolver(SlingAuthenticator.java:900)

at org.apache.sling.auth.core.impl.SlingAuthenticator.handleLoginFailure(SlingAuthenticator.java:1009)

at org.apache.sling.auth.core.impl.SlingAuthenticator.getAnonymousResolver(SlingAuthenticator.java:900)

at org.apache.sling.auth.core.impl.SlingAuthenticator.handleLoginFailure(SlingAuthenticator.java:1009)

at org.apache.sling.auth.core.impl.SlingAuthenticator.getAnonymousResolver(SlingAuthenticator.java:900)

at org.apache.sling.auth.core.impl.SlingAuthenticator.handleLoginFailure(SlingAuthenticator.java:1009)

at org.apache.sling.auth.core.impl.SlingAuthenticator.getAnonymousResolver(SlingAuthenticator.java:900)

at org.apache.sling.auth.core.impl.SlingAuthenticator.handleLoginFailure(SlingAuthenticator.java:1009)

at org.apache.sling.auth.core.impl.SlingAuthenticator.getAnonymousResolver(SlingAuthenticator.java:900)

at org.apache.sling.auth.core.impl.SlingAuthenticator.handleLoginFailure(SlingAuthenticator.java:1009)

at org.apache.sling.auth.core.impl.SlingAuthenticator.getAnonymousResolver(SlingAuthenticator.java:900)

at org.apache.sling.auth.core.impl.SlingAuthenticator.handleLoginFailure(SlingAuthenticator.java:1009)

at org.apache.sling.auth.core.impl.SlingAuthenticator.getAnonymousResolver(SlingAuthenticator.java:900)

at org.apache.sling.auth.core.impl.SlingAuthenticator.handleLoginFailure(SlingAuthenticator.java:1009)

at org.apache.sling.auth.core.impl.SlingAuthenticator.getAnonymousResolver(SlingAuthenticator.java:900)

at org.apache.sling.auth.core.impl.SlingAuthenticator.handleLoginFailure(SlingAuthenticator.java:1009)

at org.apache.sling.auth.core.impl.SlingAuthenticator.getAnonymousResolver(SlingAuthenticator.java:900)

at org.apache.sling.auth.core.impl.SlingAuthenticator.handleLoginFailure(SlingAuthenticator.java:1009)

at org.apache.sling.auth.core.impl.SlingAuthenticator.getAnonymousResolver(SlingAuthenticator.java:900)

at org.apache.sling.auth.core.impl.SlingAuthenticator.handleLoginFailure(SlingAuthenticator.java:1009)

at org.apache.sling.auth.core.impl.SlingAuthenticator.getAnonymousResolver(SlingAuthenticator.java:900)

at org.apache.sling.auth.core.impl.SlingAuthenticator.handleLoginFailure(SlingAuthenticator.java:1009)

at org.apache.sling.auth.core.impl.SlingAuthenticator.getAnonymousResolver(SlingAuthenticator.java:900)

at org.apache.sling.auth.core.impl.SlingAuthenticator.handleLoginFailure(SlingAuthenticator.java:1009)

at org.apache.sling.auth.core.impl.SlingAuthenticator.getAnonymousResolver(SlingAuthenticator.java:900)

at org.apache.sling.auth.core.impl.SlingAuthenticator.handleLoginFailure(SlingAuthenticator.java:1009)

at org.apache.sling.auth.core.impl.SlingAuthenticator.getAnonymousResolver(SlingAuthenticator.java:900)

at org.apache.sling.auth.core.impl.SlingAuthenticator.handleLoginFailure(SlingAuthenticator.java:1009)

at org.apache.sling.auth.core.impl.SlingAuthenticator.getAnonymousResolver(SlingAuthenticator.java:900)

at org.apache.sling.auth.core.impl.SlingAuthenticator.handleLoginFailure(SlingAuthenticator.java:1009)

at org.apache.sling.auth.core.impl.SlingAuthenticator.getAnonymousResolver(SlingAuthenticator.java:900)

at org.apache.sling.auth.core.impl.SlingAuthenticator.handleLoginFailure(SlingAuthenticator.java:1009)

at org.apache.sling.auth.core.impl.SlingAuthenticator.getAnonymousResolver(SlingAuthenticator.java:900)

at org.apache.sling.auth.core.impl.SlingAuthenticator.handleLoginFailure(SlingAuthenticator.java:1009)

at org.apache.sling.auth.core.impl.SlingAuthenticator.getAnonymousResolver(SlingAuthenticator.java:900)

at org.apache.sling.auth.core.impl.SlingAuthenticator.handleLoginFailure(SlingAuthenticator.java:1009)

at org.apache.sling.auth.core.impl.SlingAuthenticator.getAnonymousResolver(SlingAuthenticator.java:900)

at org.apache.sling.auth.core.impl.SlingAuthenticator.handleLoginFailure(SlingAuthenticator.java:1009)

at org.apache.sling.auth.core.impl.SlingAuthenticator.getAnonymousResolver(SlingAuthenticator.java:900)

at org.apache.sling.auth.core.impl.SlingAuthenticator.handleLoginFailure(SlingAuthenticator.java:1009)

at org.apache.sling.auth.core.impl.SlingAuthenticator.getAnonymousResolver(SlingAuthenticator.java:900)

at org.apache.sling.auth.core.impl.SlingAuthenticator.handleLoginFailure(SlingAuthenticator.java:1009)

at org.apache.sling.auth.core.impl.SlingAuthenticator.getAnonymousResolver(SlingAuthenticator.java:900)

View Entire Topic

Avatar

Avatar

cal-netsolution

Avatar

cal-netsolution

cal-netsolution

05-09-2019

Can you try following the steps :

1.Stop you AEM instance

2.Go to ${your-aem-install-folder}/crx-quickstart/repository/index. Cut all the indexes available under index folder and paste it somewhere in your system.

So the index folder should be empty

3. Re-start your AEM and check now

We faced this kind of HTTP 500 issue not for login, but in other cases as well, so then we used to removed the indexex and restart the instance. Hope it works once you perform these steps

Best,

Cal