Skip to main content
Rohan_Garg
Community Advisor
Community Advisor
July 22, 2022
Solved

Local Author AEM Instance - Error in Starting

  • July 22, 2022
  • 9 replies
  • 5287 views

Hi All,

 

I had left my AEM instance up and running over the night but found the instance not working with the below error - 

 

22.07.2022 10:07:05.930 *ERROR* [[0:0:0:0:0:0:0:1] [1658464625922] GET /libs/granite/core/content/login.html HTTP/1.1] org.apache.sling.engine.impl.SlingRequestProcessorImpl service: Uncaught Throwable
javax.servlet.ServletException: Failed executing script /libs/granite/core/components/login/login.jsp: Unable to setup processor: Unable to get component of class 'interface org.apache.sling.rewriter.Transformer' with type 'linkchecker'.
at org.apache.sling.servlets.resolver.internal.bundle.BundledScriptServlet.service(BundledScriptServlet.java:82) [org.apache.sling.servlets.resolver:2.9.4]

22.07.2022 10:07:05.933 *ERROR* [[0:0:0:0:0:0:0:1] [1658464625922] GET /libs/granite/core/content/login.html HTTP/1.1] org.apache.sling.servlets.resolver.internal.SlingServletResolver Calling the error handler resulted in an error
org.apache.sling.api.scripting.ScriptEvaluationException:
at org.apache.sling.scripting.core.impl.DefaultSlingScript.call(DefaultSlingScript.java:423) [org.apache.sling.scripting.core:2.4.6]
at org.apache.sling.scripting.core.impl.DefaultSlingScript.eval(DefaultSlingScript.java:191) [org.apache.sling.scripting.core:2.4.6]

22.07.2022 10:07:05.935 *ERROR* [[0:0:0:0:0:0:0:1] [1658464625922] GET /libs/granite/core/content/login.html HTTP/1.1] org.apache.sling.engine.impl.DefaultErrorHandler Error handler failed:java.io.IOException
java.io.IOException: Error handler failed: org.apache.sling.api.scripting.ScriptEvaluationException
at org.apache.sling.servlets.resolver.internal.SlingServletResolver.handleError(SlingServletResolver.java:657) [org.apache.sling.servlets.resolver:2.9.4]
at org.apache.sling.servlets.resolver.internal.SlingServletResolver.handleError(SlingServletResolver.java:375) [org.apache.sling.servlets.resolver:2.9.4]
at org.apache.sling.engine.impl.DefaultErrorHandler.handleError(DefaultErrorHandler.java:135) [org.apa

22.07.2022 10:08:31.954 *ERROR* [[0:0:0:0:0:0:0:1] [1658464711943] GET /libs/granite/core/content/login.html HTTP/1.1] org.apache.sling.engine.impl.SlingMainServlet service: Uncaught Problem handling the request
org.apache.sling.api.SlingException: Unable to setup processor: Unable to get component of class 'interface org.apache.sling.rewriter.Transformer' with type 'linkchecker'.
at org.apache.sling.rewriter.impl.ProcessorManagerImpl.getProcessor(ProcessorManagerImpl.java:479) [org.apache.sling.rewriter:1.3.2]
at org.apache.sling.rewriter.impl.RewriterResponse.getProcessor(RewriterResponse.java:172) [org.apache.sling.rewriter:1.3.2]
at org.apache.sling.rewriter.impl.RewriterResponse.getWriter(RewriterResponse.java:110) [org.apache.sling.rewriter:1.3.2]
at org.apache.sling.engine.impl.DefaultErrorHandler.sendError(DefaultErrorHandler.java:175) [org.apache.sling.engine:2.9.0]

Could you please help in identifying the root cause of the issue ?

Update - 24/July/2022

I had set up another instance on another port to work for the day. But when I turned off the instance and brought it up again I got the same errors - 


24.07.2022 11:32:47.249 *ERROR* [127.0.0.1 [1658642567233] GET /libs/granite/core/content/login.html HTTP/1.1] org.apache.sling.servlets.resolver.internal.SlingServletResolver Original error class javax.servlet.ServletException
javax.servlet.ServletException: Failed executing script /libs/granite/core/components/login/login.jsp: Unable to setup processor: Unable to get component of class 'interface org.apache.sling.rewriter.Transformer' with type 'linkchecker'.
at org.apache.sling.servlets.resolver.internal.bundle.BundledScriptServlet.service(BundledScriptServlet.java:82) [org.apache.sling.servlets.resolver:2.9.4]


24.07.2022 11:32:47.250 *ERROR* [127.0.0.1 [1658642567233] GET /libs/granite/core/content/login.html HTTP/1.1] org.apache.sling.engine.impl.DefaultErrorHandler Error handler failed:java.io.IOException
java.io.IOException: Error handler failed: javax.servlet.ServletException

 

24.07.2022 11:32:47.250 *ERROR* [127.0.0.1 [1658642567233] GET /libs/granite/core/content/login.html HTTP/1.1] org.apache.sling.engine.impl.SlingMainServlet service: Uncaught Problem handling the request
org.apache.sling.api.SlingException: Unable to setup processor: Unable to get component of class 'interface org.apache.sling.rewriter.Transformer' with type 'linkchecker'.

 

24.07.2022 11:34:59.073 *WARN* [127.0.0.1 [1658642699069] GET /libs/granite/core/content/login.html HTTP/1.1] libs.granite.core.components.login.login__002e__jsp j_reason param value 'unknown' cannot be mapped to a valid reason message: ignoring


24.07.2022 11:34:59.076 *WARN* [127.0.0.1 [1658642699069] GET /libs/granite/core/content/login.html HTTP/1.1] com.adobe.granite.metrics.knownerrors.impl.ErrorLoggingComponentFilter Exception in component: category=CUSTOMER_CODE, resourceType=granite/core/components/login, exceptionType=javax.servlet.ServletException, errorId=CUSTOMER, resource=/libs/granite/core/content/login, exceptionMessage = Failed executing script /libs/granite/core/components/login/login.jsp: Unable to setup processor: Unable to get component of class 'interface org.apache.sling.rewriter.Transformer' with type 'linkchecker'.


24.07.2022 11:34:59.077 *ERROR* [127.0.0.1 [1658642699069] GET /libs/granite/core/content/login.html HTTP/1.1] org.apache.sling.engine.impl.SlingRequestProcessorImpl service: Uncaught Throwable
javax.servlet.ServletException: Failed executing script /libs/granite/core/components/login/login.jsp: Unable to setup processor: Unable to get component of class 'interface org.apache.sling.rewriter.Transformer' with type 'linkchecker'.

@b_sravan - Any suggestions on this ?

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 joerghoh

@b_sravan - I am using Java version 11 and AEM Version 6.5 (aem-sdk-2022.4.7138.20220427T075748Z-220401)


the filename indicates that you are NOT using AEM 6.5, but rather the SDK version of AEM as a Cloud Service. Java 11 is supported and should work.

 

Restarting should fix the problem for the moment, I am aware that a fix in this direction should be included soon-ish into the SDK.

 

9 replies

Sachin_Arora_
Community Advisor
Community Advisor
July 22, 2022

Did you try restarting the server? Please try it might help.

Also please check if all bundles are in Active state.

Rohan_Garg
Community Advisor
Community Advisor
July 22, 2022

Hi Sachin, Thanks for replying

The /system/console/bundles won't open up either for some reason.

Not sure what is the issue. For now I have migrated to another instance on a different port.

Rohan Garg
B_Sravan
Community Advisor
Community Advisor
July 22, 2022

Usually the session ends when the instance is inactive for a certain period of time.
Please restart your instance, it should work.

 

If you wish not to restart, please go to localhost:4502/system/console/bundles and if login page is prompted please login using your credentials and check if all the bundles are in active state.

Thanks,

Sravan

Rohan_Garg
Community Advisor
Community Advisor
July 22, 2022

Hi Sravan,

 

Thanks for the response. I tried instance restart as well back then but didn't work.

Have migrated to another instance for now but will try to bring up the server again and let you know.

Rohan Garg
B_Sravan
Community Advisor
Community Advisor
July 25, 2022

Hi @rohan_garg ,

may I know which version of AEM and Java are you using?