Closed davidjgonzalez closed 7 years ago
Getting similar issue while migrating to AEM6.1 org.apache.sling.engine.impl.SlingRequestProcessorImpl service: Uncaught SlingException org.apache.sling.scripting.sightly.SightlyException: Promise has completed with failure: Error: No resource found at path: /content/xxxxxxxx/xxxxxxxxxxxxxxxxxxx/xxxx/products/jcr:content/mainnav/flyout/spotlight at org.apache.sling.scripting.sightly.js.impl.async.AsyncExtractor.decodeJSPromise(AsyncExtractor.java:63) at org.apache.sling.scripting.sightly.js.impl.async.AsyncExtractor.extract(AsyncExtractor.java:45) at org.apache.sling.scripting.sightly.js.impl.rhino.JsValueAdapter.forceAsync(JsValueAdapter.java:112) at org.apache.sling.scripting.sightly.js.impl.rhino.JsValueAdapter.adapt(JsValueAdapter.java:68) at org.apache.sling.scripting.sightly.js.impl.rhino.HybridObject.getAdapted(HybridObject.java:79) at org.apache.sling.scripting.sightly.js.impl.rhino.HybridObject.getProperty(HybridObject.java:53) at org.apache.sling.scripting.sightly.impl.engine.runtime.RenderContextImpl.getProperty(RenderContextImpl.java:278) at org.apache.sling.scripting.sightly.impl.engine.runtime.RenderContextImpl.resolveProperty(RenderContextImpl.java:103)
If the spotlight node is not present under flyout, it breaks the entire portal. The portal continued to work in AEM6.0 although the same exception was reported in logs there also.
Any solution for this??
same here...
This should be fixed in https://github.com/Adobe-Marketing-Cloud/aem-htl-repl/releases/tag/aem-htl-repl-1.0.4.
Breaking exception thrown during evaluation of server-side JS:
Note: I installed hobbes js 1.2.5 package to try to satisfy the AEM package dependency.