Expand my Community achievements bar.

SOLVED

Local Author AEM Instance - Error in Starting

Avatar

Community Advisor

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 ?AEM_Local_Author.png

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 ?

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

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.

 

View solution in original post

9 Replies

Avatar

Community Advisor

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

Also please check if all bundles are in Active state.

Avatar

Community Advisor

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.

Avatar

Community Advisor

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

Avatar

Community Advisor

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.

Avatar

Community Advisor

Hi @Rohan_Garg ,

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

Avatar

Community Advisor

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

Avatar

Correct answer by
Employee Advisor

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.

 

Avatar

Community Advisor

Then there shouldn't be any problem. Restarting should fix the issue.

1. Go to your AEM installed folder, and delete the CRX-quickstart folder (make sure to take back up your work through packages)
2. Open command prompt/ Terminal on the same folder where you have your jar file and

3. Type the command "Java -jar AEM-author-p4502" and wait for the instance to start up.
(assuming the jar file is renamed as mentioned in the above command).

Thanks,

Sravan

Avatar

Community Advisor

Thanks for the response. Yes, I have been setting up the instance again after backing up content packages.