Groovy console 14.0 exception in AEM 6.5.3 | Community
Skip to main content
Level 2
April 8, 2020
Solved

Groovy console 14.0 exception in AEM 6.5.3

  • April 8, 2020
  • 1 reply
  • 2348 views

I have AEM 6.5.3 (upgraded from 6.4.4, but same thing happens on a fresh 6.5.3 instance) and I have installed latest Groovy console (14.0, but same error occurs on 13.0 as well). Version of ACS Commons is 4.0.0 (but also tried with 4.3.4 and 4.5.0). All bundles are properly started.

 

When I try to access the Groovy console at /apps/groovyconsole.html, I get this exception (full exception provided here)

 

 

Caused by: org.apache.sling.scripting.sightly.SightlyException: Identifier com.icfolson.aem.groovy.console.components.Header cannot be correctly instantiated by the Use API at org.apache.sling.scripting.sightly.impl.engine.extension.use.UseRuntimeExtension.call(UseRuntimeExtension.java:77) [org.apache.sling.scripting.sightly:1.1.2.1_4_0] at org.apache.sling.scripting.sightly.impl.engine.runtime.RenderContextImpl.call(RenderContextImpl.java:77) [org.apache.sling.scripting.sightly:1.1.2.1_4_0] at org.apache.sling.scripting.sightly.apps.groovyconsole.components.console.header_html.render(header_html.java:38) at org.apache.sling.scripting.sightly.render.RenderUnit.render(RenderUnit.java:50) [org.apache.sling.scripting.sightly.runtime:1.1.0.1_4_0] at org.apache.sling.scripting.sightly.impl.engine.SightlyCompiledScript.eval(SightlyCompiledScript.java:60) [org.apache.sling.scripting.sightly:1.1.2.1_4_0] at org.apache.sling.scripting.core.impl.DefaultSlingScript.call(DefaultSlingScript.java:386) [org.apache.sling.scripting.core:2.0.56] at org.apache.sling.scripting.core.impl.DefaultSlingScript.eval(DefaultSlingScript.java:184) [org.apache.sling.scripting.core:2.0.56] at org.apache.sling.scripting.core.impl.DefaultSlingScript.service(DefaultSlingScript.java:491) [org.apache.sling.scripting.core:2.0.56] ... 198 common frames omitted Caused by: org.apache.sling.models.factory.ModelClassException: Unable to create model class com.icfolson.aem.groovy.console.components.Header at org.apache.sling.models.impl.ModelAdapterFactory.internalCreateModel(ModelAdapterFactory.java:460) [org.apache.sling.models.impl:1.4.10] at org.apache.sling.models.impl.ModelAdapterFactory.createModel(ModelAdapterFactory.java:314) [org.apache.sling.models.impl:1.4.10] at org.apache.sling.scripting.sightly.models.impl.SlingModelsUseProvider.provide(SlingModelsUseProvider.java:135) [org.apache.sling.scripting.sightly.models.provider:1.0.8] at org.apache.sling.scripting.sightly.impl.engine.extension.use.UseRuntimeExtension.call(UseRuntimeExtension.java:72) [org.apache.sling.scripting.sightly:1.1.2.1_4_0] ... 205 common frames omitted Caused by: java.lang.NullPointerException: null at com.adobe.acs.commons.i18n.impl.I18nProviderImpl.i18n(I18nProviderImpl.java:125) at com.adobe.acs.commons.models.injectors.impl.I18nInjector.getValue(I18nInjector.java:77) at org.apache.sling.models.impl.ModelAdapterFactory.injectElement(ModelAdapterFactory.java:593) [org.apache.sling.models.impl:1.4.10] at org.apache.sling.models.impl.ModelAdapterFactory.createObject(ModelAdapterFactory.java:744) [org.apache.sling.models.impl:1.4.10] at org.apache.sling.models.impl.ModelAdapterFactory.internalCreateModel(ModelAdapterFactory.java:448) [org.apache.sling.models.impl:1.4.10] ... 208 common frames omitted

 

 

 

Any ideas what this might be?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

Nikhil-Kumar
Community Advisor
Nikhil-KumarCommunity AdvisorAccepted solution
Community Advisor
August 20, 2020
Level 2
February 1, 2024

followed the same steps, build is getting failed