Identifier com.adobe.cq.inbox.ui.DateFormatter cannot be correctly instantiated by the Use API
Hi everyone,
I'm new AEM user and i can not solve this.
In TouchUI when I click on the Inbox (the bell icon /right upper corner) and on that context menu on "View All()" then I just see a server error message.
Identifier com.adobe.cq.inbox.ui.DateFormatter cannot be correctly instantiated by the Use API
Cannot serve request to /aem/inbox in /apps/cq/inbox/gui/components/inbox/inboxitem/list/list.html
Exception:
org.apache.sling.scripting.sightly.SightlyException: Identifier com.adobe.cq.inbox.ui.DateFormatter cannot be correctly instantiated by the Use API at org.apache.sling.scripting.sightly.impl.engine.extension.use.UseRuntimeExtension.call(UseRuntimeExtension.java:77) at org.apache.sling.scripting.sightly.impl.engine.runtime.RenderContextImpl.call(RenderContextImpl.java:77) at org.apache.sling.scripting.sightly.apps.cq.inbox.gui.components.inbox.inboxitem.list.list_html.render(list_html.java:546) at org.apache.sling.scripting.sightly.render.RenderUnit.render(RenderUnit.java:50) at org.apache.sling.scripting.sightly.impl.engine.SightlyCompiledScript.eval(SightlyCompiledScript.java:60) at org.apache.sling.scripting.core.impl.DefaultSlingScript.call(DefaultSlingScript.java:386) at org.apache.sling.scripting.core.impl.DefaultSlingScript.eval(DefaultSlingScript.java:184) at org.apache.sling.scripting.core.impl.DefaultSlingScript.service(DefaultSlingScript.java:491) at org.apache.sling.engine.impl.request.RequestData.service(RequestData.java:552) at org.apache.sling.engine.impl.filter.SlingComponentFilterChain.render(SlingComponentFilterChain.java:44) at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:82) at com.day.cq.wcm.core.impl.WCMDeveloperModeFilter.doFilter(WCMDeveloperModeFilter.java:119)
...
...
Caused by: org.apache.sling.models.factory.PostConstructException: Post-construct method has thrown an exception for model class com.adobe.cq.inbox.ui.impl.DateFormatterImpl at org.apache.sling.models.impl.ModelAdapterFactory.createObject(ModelAdapterFactory.java:774) at org.apache.sling.models.impl.ModelAdapterFactory.internalCreateModel(ModelAdapterFactory.java:448) at org.apache.sling.models.impl.ModelAdapterFactory.createModel(ModelAdapterFactory.java:314) at org.apache.sling.scripting.sightly.models.impl.SlingModelsUseProvider.provide(SlingModelsUseProvider.java:126) at org.apache.sling.scripting.sightly.impl.engine.extension.use.UseRuntimeExtension.call(UseRuntimeExtension.java:72) ... 234 more Caused by: java.lang.NullPointerException at com.adobe.cq.inbox.ui.impl.DateFormatterImpl.init(DateFormatterImpl.java:93) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.sling.models.impl.ModelAdapterFactory.invokePostConstruct(ModelAdapterFactory.java:972) at org.apache.sling.models.impl.ModelAdapterFactory.createObject(ModelAdapterFactory.java:772) ... 238 more