Expand my Community achievements bar.

Broken UI due to File "/libs/foundation/global.jsp" not found

Avatar

Level 4

 

Sorry if this has been addressed but I'm not finding results I am looking for. 

Many of the property views are not working in my local instance. When I check the error.log, I am seeing a lot of IOExceptions being thrown due to 

 File "/libs/foundation/global.jsp" not found

When I go into CRX/DE and navigate to this node, the file is there. I'm not sure if there is an indexing issue or what. This is causing a lot of pain points because I cannot use some of the Touch UI pages to view information about pages and assets but have to pick  through CRX/DE to look directly at the node structures to find the information.

 

Is there a resolution to this without having to rebuild my local instance? This always ends up costing me about a day due to reloading packages of hot fixes, content, assets, and rebuilding all of the code.

screenshot.png

4 Replies

Avatar

Community Advisor

@Robert-Harper can you help with more details like which of AEM you are using? Any service pack installed? Have you identified the trigger scenario for this issue or is it occurring randomly?

Avatar

Level 4

Version: Adobe Experience Manager 2022.2.6276.20220205T222203Z-220100

Trigger: Navigate to assets. Open a folder containing images. Attempt to view the properties of that image.(It doesn't matter how you try to access the properties)

When the properties form is displayed, it is completely blank. If I look in the error.log file, there is an IOException stating that the /libs/foundation/global.jsp file does not exist. Using CRX/DE, I clearly see that it does.

This is ALL OOTB UI and I have not made any changes to it at all. Oh and this happens every single time. It never functions as expected.

Avatar

Community Advisor

Hi @Robert-Harper ,

 

as asked by @Shashi_Mulugu , can you provide more details?

 

Since you mentioned "Touch UI" and "foundation", assuming that you are using old versions of AEM like 6.2, can you try this on your page component? (structure component),

 

<%@include file="/libs/foundation/global.jsp"%> . (if you are using jsp).

<sly data-sly-include="/libs/foundation/global.jsp" /> (if you are using html and have HTL dependencies)

I hope this helps, thank you.

Regards,
Sravan

Avatar

Level 4

Sorry. But this is NOT the answer. I am running Adobe Experience Manager 2022.2.6276.20220205T222203Z-220100

 

I have no customizations to the UI. The problem is that when I select an image and then click on any button that is supposed to take me to the properties of that image, or any other node for that matter, the properties form is blank. Completely. When I open the error.log file, this is the exception:

 

Notice that the cause is well down the stack and it is an IOException stating that /libs/foundation/global.jsp does not exist. If I browse the JCR, using CRX/DE, I clearly see that it is there.

 

25.08.2022 06:17:22.436 *ERROR* [[0:0:0:0:0:0:0:1] [1661429842245] GET /mnt/overlay/dam/gui/content/assets/metadataeditor.external.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.3.T20220126174233-eb9743b]
at org.apache.sling.servlets.resolver.internal.SlingServletResolver.handleError(SlingServletResolver.java:375) [org.apache.sling.servlets.resolver:2.9.3.T20220126174233-eb9743b]
at org.apache.sling.engine.impl.DefaultErrorHandler.handleError(DefaultErrorHandler.java:135) [org.apache.sling.engine:2.8.0]
at org.apache.sling.engine.impl.SlingRequestProcessorImpl$2.render(SlingRequestProcessorImpl.java:378) [org.apache.sling.engine:2.8.0]
at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:88) [org.apache.sling.engine:2.8.0]
at org.apache.sling.rewriter.impl.RewriterFilter.doFilter(RewriterFilter.java:87) [org.apache.sling.rewriter:1.3.0]
at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78) [org.apache.sling.engine:2.8.0]
at org.apache.sling.i18n.impl.I18NFilter.doFilter(I18NFilter.java:131) [org.apache.sling.i18n:2.5.18]
at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78) [org.apache.sling.engine:2.8.0]
at org.apache.sling.engine.impl.SlingRequestProcessorImpl.handleError(SlingRequestProcessorImpl.java:385) [org.apache.sling.engine:2.8.0]
at org.apache.sling.engine.impl.SlingRequestProcessorImpl.doProcessRequest(SlingRequestProcessorImpl.java:226) [org.apache.sling.engine:2.8.0]
at org.apache.sling.engine.impl.SlingMainServlet.service(SlingMainServlet.java:250) [org.apache.sling.engine:2.8.0]
at org.apache.felix.http.base.internal.handler.ServletHandler.handle(ServletHandler.java:126) [org.apache.felix.http.jetty:4.1.14]
at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.java:86) [org.apache.felix.http.jetty:4.1.14]
at com.adobe.granite.metrics.knownerrors.impl.ReportingRequestFilter.doFilter(ReportingRequestFilter.java:100) [com.adobe.granite.metrics.knownerrors:0.0.24]
at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:142) [org.apache.felix.http.jetty:4.1.14]
at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.java:81) [org.apache.felix.http.jetty:4.1.14]
at com.adobe.granite.cors.impl.CORSFilter.doFilter(CORSFilter.java:87) [com.adobe.granite.cors:1.0.20]
at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:142) [org.apache.felix.http.jetty:4.1.14]
at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.java:81) [org.apache.felix.http.jetty:4.1.14]
at com.adobe.granite.license.impl.http.LicenseCheckFilter.doFilter(LicenseCheckFilter.java:301) [com.adobe.granite.license.http:1.0.0]
at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:142) [org.apache.felix.http.jetty:4.1.14]
at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.java:81) [org.apache.felix.http.jetty:4.1.14]
at org.apache.sling.i18n.impl.I18NFilter.doFilter(I18NFilter.java:131) [org.apache.sling.i18n:2.5.18]
at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:142) [org.apache.felix.http.jetty:4.1.14]
at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.java:81) [org.apache.felix.http.jetty:4.1.14]
at org.apache.sling.featureflags.impl.FeatureManager.doFilter(FeatureManager.java:116) [org.apache.sling.featureflags:1.2.2]
at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:142) [org.apache.felix.http.jetty:4.1.14]
at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.java:81) [org.apache.felix.http.jetty:4.1.14]
at org.apache.sling.engine.impl.log.RequestLoggerFilter.doFilter(RequestLoggerFilter.java:73) [org.apache.sling.engine:2.8.0]
at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:142) [org.apache.felix.http.jetty:4.1.14]
at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.java:81) [org.apache.felix.http.jetty:4.1.14]
at org.apache.sling.engine.impl.parameters.RequestParameterSupportConfigurer.doFilter(RequestParameterSupportConfigurer.java:67) [org.apache.sling.engine:2.8.0]
at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:142) [org.apache.felix.http.jetty:4.1.14]
at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.java:81) [org.apache.felix.http.jetty:4.1.14]
at org.apache.felix.http.base.internal.dispatch.Dispatcher$1.doFilter(Dispatcher.java:152) [org.apache.felix.http.jetty:4.1.14]
at org.apache.felix.http.base.internal.whiteboard.WhiteboardManager$2.doFilter(WhiteboardManager.java:1002) [org.apache.felix.http.jetty:4.1.14]
at com.adobe.granite.cors.impl.CORSFilter.doFilter(CORSFilter.java:87) [com.adobe.granite.cors:1.0.20]
at org.apache.felix.http.base.internal.handler.PreprocessorHandler.handle(PreprocessorHandler.java:137) [org.apache.felix.http.jetty:4.1.14]
at org.apache.felix.http.base.internal.whiteboard.WhiteboardManager$2.doFilter(WhiteboardManager.java:1008) [org.apache.felix.http.jetty:4.1.14]
at com.adobe.granite.auth.oauth.impl.OAuthCallbackFilter.doFilter(OAuthCallbackFilter.java:78) [com.adobe.granite.auth.oauth:1.7.14]
at org.apache.felix.http.base.internal.handler.PreprocessorHandler.handle(PreprocessorHandler.java:137) [org.apache.felix.http.jetty:4.1.14]
at org.apache.felix.http.base.internal.whiteboard.WhiteboardManager$2.doFilter(WhiteboardManager.java:1008) [org.apache.felix.http.jetty:4.1.14]
at com.adobe.granite.auth.ims.impl.IMSClusterExchangeTokenPreprocessor.doFilter(IMSClusterExchangeTokenPreprocessor.java:246) [com.adobe.granite.auth.ims:1.4.22]
at org.apache.felix.http.base.internal.handler.PreprocessorHandler.handle(PreprocessorHandler.java:137) [org.apache.felix.http.jetty:4.1.14]
at org.apache.felix.http.base.internal.whiteboard.WhiteboardManager$2.doFilter(WhiteboardManager.java:1008) [org.apache.felix.http.jetty:4.1.14]
at org.apache.sling.security.impl.ReferrerFilter.doFilter(ReferrerFilter.java:332) [org.apache.sling.security:1.1.22]
at org.apache.felix.http.base.internal.handler.PreprocessorHandler.handle(PreprocessorHandler.java:137) [org.apache.felix.http.jetty:4.1.14]
at org.apache.felix.http.base.internal.whiteboard.WhiteboardManager$2.doFilter(WhiteboardManager.java:1008) [org.apache.felix.http.jetty:4.1.14]
at org.apache.felix.http.sslfilter.internal.SslFilter.doFilter(SslFilter.java:97) [org.apache.felix.http.sslfilter:1.2.6]
at org.apache.felix.http.base.internal.handler.PreprocessorHandler.handle(PreprocessorHandler.java:137) [org.apache.felix.http.jetty:4.1.14]
at org.apache.felix.http.base.internal.whiteboard.WhiteboardManager$2.doFilter(WhiteboardManager.java:1008) [org.apache.felix.http.jetty:4.1.14]
at org.apache.felix.http.base.internal.whiteboard.WhiteboardManager.invokePreprocessors(WhiteboardManager.java:1012) [org.apache.felix.http.jetty:4.1.14]
at org.apache.felix.http.base.internal.dispatch.Dispatcher.dispatch(Dispatcher.java:94) [org.apache.felix.http.jetty:4.1.14]
at org.apache.felix.http.base.internal.dispatch.DispatcherServlet.service(DispatcherServlet.java:49) [org.apache.felix.http.jetty:4.1.14]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:733) [org.apache.felix.http.servlet-api:1.1.4]
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:799) [org.apache.felix.http.jetty:4.1.14]
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:550) [org.apache.felix.http.jetty:4.1.14]
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233) [org.apache.felix.http.jetty:4.1.14]
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1624) [org.apache.felix.http.jetty:4.1.14]
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233) [org.apache.felix.http.jetty:4.1.14]
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1434) [org.apache.felix.http.jetty:4.1.14]
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188) [org.apache.felix.http.jetty:4.1.14]
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:501) [org.apache.felix.http.jetty:4.1.14]
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1594) [org.apache.felix.http.jetty:4.1.14]
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186) [org.apache.felix.http.jetty:4.1.14]
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1349) [org.apache.felix.http.jetty:4.1.14]
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) [org.apache.felix.http.jetty:4.1.14]
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:191) [org.apache.felix.http.jetty:4.1.14]
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127) [org.apache.felix.http.jetty:4.1.14]
at org.eclipse.jetty.server.Server.handle(Server.java:516) [org.apache.felix.http.jetty:4.1.14]
at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:400) [org.apache.felix.http.jetty:4.1.14]
at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:645) [org.apache.felix.http.jetty:4.1.14]
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:392) [org.apache.felix.http.jetty:4.1.14]
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:277) [org.apache.felix.http.jetty:4.1.14]
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311) [org.apache.felix.http.jetty:4.1.14]
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105) [org.apache.felix.http.jetty:4.1.14]
at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104) [org.apache.felix.http.jetty:4.1.14]
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:338) [org.apache.felix.http.jetty:4.1.14]
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:315) [org.apache.felix.http.jetty:4.1.14]
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:173) [org.apache.felix.http.jetty:4.1.14]
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131) [org.apache.felix.http.jetty:4.1.14]
at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:409) [org.apache.felix.http.jetty:4.1.14]
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883) [org.apache.felix.http.jetty:4.1.14]
at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1034) [org.apache.felix.http.jetty:4.1.14]
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: org.apache.sling.api.scripting.ScriptEvaluationException: org.apache.sling.scripting.jsp.jasper.JasperException: /apps/sling/servlet/errorhandler/default.jsp(2,2) /apps/acs-commons/components/utilities/errorpagehandler/default.jsp(20,0) File "/libs/foundation/global.jsp" not found
at org.apache.sling.scripting.core.impl.DefaultSlingScript.call(DefaultSlingScript.java:419) [org.apache.sling.scripting.core:2.4.3.T20220204105000-049df56]
at org.apache.sling.scripting.core.impl.DefaultSlingScript.eval(DefaultSlingScript.java:187) [org.apache.sling.scripting.core:2.4.3.T20220204105000-049df56]
at org.apache.sling.scripting.core.impl.DefaultSlingScript.service(DefaultSlingScript.java:494) [org.apache.sling.scripting.core:2.4.3.T20220204105000-049df56]
at org.apache.sling.servlets.resolver.internal.SlingServletResolver.handleError(SlingServletResolver.java:644) [org.apache.sling.servlets.resolver:2.9.3.T20220126174233-eb9743b]
... 85 common frames omitted
Caused by: org.apache.sling.scripting.jsp.jasper.JasperException: /apps/sling/servlet/errorhandler/default.jsp(2,2) /apps/acs-commons/components/utilities/errorpagehandler/default.jsp(20,0) File "/libs/foundation/global.jsp" not found
at org.apache.sling.scripting.jsp.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40) [org.apache.sling.scripting.jsp:2.5.4]
at org.apache.sling.scripting.jsp.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407) [org.apache.sling.scripting.jsp:2.5.4]
at org.apache.sling.scripting.jsp.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:88) [org.apache.sling.scripting.jsp:2.5.4]
at org.apache.sling.scripting.jsp.jasper.compiler.Parser.processIncludeDirective(Parser.java:334) [org.apache.sling.scripting.jsp:2.5.4]
at org.apache.sling.scripting.jsp.jasper.compiler.Parser.parseIncludeDirective(Parser.java:367) [org.apache.sling.scripting.jsp:2.5.4]
at org.apache.sling.scripting.jsp.jasper.compiler.Parser.parseDirective(Parser.java:459) [org.apache.sling.scripting.jsp:2.5.4]
at org.apache.sling.scripting.jsp.jasper.compiler.Parser.parseElements(Parser.java:1417) [org.apache.sling.scripting.jsp:2.5.4]
at org.apache.sling.scripting.jsp.jasper.compiler.Parser.parse(Parser.java:133) [org.apache.sling.scripting.jsp:2.5.4]
at org.apache.sling.scripting.jsp.jasper.compiler.ParserController.doParse(ParserController.java:215) [org.apache.sling.scripting.jsp:2.5.4]
at org.apache.sling.scripting.jsp.jasper.compiler.ParserController.parse(ParserController.java:103) [org.apache.sling.scripting.jsp:2.5.4]
at org.apache.sling.scripting.jsp.jasper.compiler.Compiler.generateJava(Compiler.java:164) [org.apache.sling.scripting.jsp:2.5.4]
at org.apache.sling.scripting.jsp.jasper.compiler.Compiler.compile(Compiler.java:302) [org.apache.sling.scripting.jsp:2.5.4]
at org.apache.sling.scripting.jsp.jasper.JspCompilationContext.compile(JspCompilationContext.java:505) [org.apache.sling.scripting.jsp:2.5.4]
at org.apache.sling.scripting.jsp.jasper.JspCompilationContext.compile(JspCompilationContext.java:498) [org.apache.sling.scripting.jsp:2.5.4]
at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.prepareServlet(JspServletWrapper.java:426) [org.apache.sling.scripting.jsp:2.5.4]
at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:480) [org.apache.sling.scripting.jsp:2.5.4]
at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:445) [org.apache.sling.scripting.jsp:2.5.4]
at org.apache.sling.scripting.jsp.JspScriptEngineFactory$JspScriptEngine.callJsp(JspScriptEngineFactory.java:501) [org.apache.sling.scripting.jsp:2.5.4]
at org.apache.sling.scripting.jsp.JspScriptEngineFactory$JspScriptEngine.eval(JspScriptEngineFactory.java:586) [org.apache.sling.scripting.jsp:2.5.4]
at org.apache.sling.scripting.core.impl.DefaultSlingScript.call(DefaultSlingScript.java:391) [org.apache.sling.scripting.core:2.4.3.T20220204105000-049df56]
... 88 common frames omitted