ComponentNotFoundException creating a new document

Hi Bloomreach community,

I am experiencing a problem when I create a new document.

This is the first window that I get:

new-article-window

There I type the document name and then I click the “OK” button. I get the error (Something went wrong. Message: ComponentNotFoundException) in the next window, but it does not happen all the times, it seems to occur randomly.

This is the error log trace:

org.apache.wicket.core.request.handler.ComponentNotFoundException: Component 'dialog:content:form:name-url:name' has been removed from page.
	at org.apache.wicket.core.request.handler.ListenerInterfaceRequestHandler.respond(ListenerInterfaceRequestHandler.java:177) ~[wicket-core-7.17.0.jar:7.17.0]
	at org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:895) ~[wicket-core-7.17.0.jar:7.17.0]
	at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64) ~[wicket-request-7.17.0.jar:7.17.0]
	at org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:265) ~[wicket-core-7.17.0.jar:7.17.0]
	at org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:222) ~[wicket-core-7.17.0.jar:7.17.0]
	at org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:293) ~[wicket-core-7.17.0.jar:7.17.0]
	at org.apache.wicket.protocol.http.WicketFilter.processRequestCycle(WicketFilter.java:261) ~[wicket-core-7.17.0.jar:7.17.0]
	at org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:203) ~[wicket-core-7.17.0.jar:7.17.0]
	at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:284) ~[wicket-core-7.17.0.jar:7.17.0]
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[catalina.jar:9.0.14]
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[catalina.jar:9.0.14]
	at org.hippoecm.frontend.plugins.login.ConcurrentLoginFilter.doFilter(ConcurrentLoginFilter.java:42) ~[hippo-cms-login-14.5.0.jar:14.5.0]
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[catalina.jar:9.0.14]
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[catalina.jar:9.0.14]
	at org.hippoecm.hst.core.container.FilterChainInvokingValve.invoke(FilterChainInvokingValve.java:72) ~[hst-core-14.5.0.jar:na]
	at org.hippoecm.hst.core.container.HstSitePipeline$Invocation.invokeNext(HstSitePipeline.java:288) ~[hst-core-14.5.0.jar:na]
	at org.hippoecm.hst.core.container.JCRSessionStatefulConcurrencyValve.invoke(JCRSessionStatefulConcurrencyValve.java:56) ~[hst-core-14.5.0.jar:na]
	at org.hippoecm.hst.core.container.HstSitePipeline$Invocation.invokeNext(HstSitePipeline.java:288) ~[hst-core-14.5.0.jar:na]
	at org.hippoecm.hst.core.container.SubjectBasedSessionValve.invoke(SubjectBasedSessionValve.java:58) ~[hst-core-14.5.0.jar:na]
	at org.hippoecm.hst.core.container.HstSitePipeline$Invocation.invokeNext(HstSitePipeline.java:288) ~[hst-core-14.5.0.jar:na]
	at org.hippoecm.hst.core.container.SecurityValve.invoke(SecurityValve.java:177) ~[hst-core-14.5.0.jar:na]
	at org.hippoecm.hst.core.container.HstSitePipeline$Invocation.invokeNext(HstSitePipeline.java:288) ~[hst-core-14.5.0.jar:na]
	at org.hippoecm.hst.core.container.LocalizationValve.invoke(LocalizationValve.java:101) ~[hst-core-14.5.0.jar:na]
	at org.hippoecm.hst.core.container.HstSitePipeline$Invocation.invokeNext(HstSitePipeline.java:288) ~[hst-core-14.5.0.jar:na]
	at org.hippoecm.hst.core.container.CmsSecurityValve.invoke(CmsSecurityValve.java:75) ~[hst-core-14.5.0.jar:na]
	at org.hippoecm.hst.core.container.HstSitePipeline$Invocation.invokeNext(HstSitePipeline.java:288) ~[hst-core-14.5.0.jar:na]
	at org.hippoecm.hst.core.container.InitializationValve.invoke(InitializationValve.java:40) ~[hst-core-14.5.0.jar:na]
	at org.hippoecm.hst.core.container.HstSitePipeline$Invocation.invokeNext(HstSitePipeline.java:288) ~[hst-core-14.5.0.jar:na]
	at org.hippoecm.hst.core.container.HstSitePipeline.invokeValves(HstSitePipeline.java:173) ~[hst-core-14.5.0.jar:na]
	at org.hippoecm.hst.core.container.HstSitePipeline.invoke(HstSitePipeline.java:155) ~[hst-core-14.5.0.jar:na]
	at org.hippoecm.hst.core.container.HstRequestProcessorImpl.processRequest(HstRequestProcessorImpl.java:81) ~[hst-core-14.5.0.jar:na]
	at org.hippoecm.hst.container.HstDelegateeFilterBean.doFilter(HstDelegateeFilterBean.java:623) ~[hst-core-14.5.0.jar:14.5.0]
	at org.hippoecm.hst.container.DelegatingFilter.doFilter(DelegatingFilter.java:68) ~[hst-commons-14.5.0.jar:14.5.0]
	at org.hippoecm.hst.container.HstFilter.doFilter(HstFilter.java:51) ~[hst-commons-14.5.0.jar:14.5.0]
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[catalina.jar:9.0.14]
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[catalina.jar:9.0.14]
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199) ~[catalina.jar:9.0.14]
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) ~[catalina.jar:9.0.14]
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) ~[catalina.jar:9.0.14]
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) ~[catalina.jar:9.0.14]
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) ~[catalina.jar:9.0.14]
	at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:668) ~[catalina.jar:9.0.14]
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) ~[catalina.jar:9.0.14]
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) ~[catalina.jar:9.0.14]
	at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) ~[tomcat-coyote.jar:9.0.14]
	at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) ~[tomcat-coyote.jar:9.0.14]
	at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834) ~[tomcat-coyote.jar:9.0.14]
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1417) ~[tomcat-coyote.jar:9.0.14]
	at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) ~[tomcat-coyote.jar:9.0.14]
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) ~[na:na]
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) ~[na:na]
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) ~[tomcat-util.jar:9.0.14]
	at java.base/java.lang.Thread.run(Thread.java:834) ~[na:na]

I’m using Bloomreach 14.5, did anyone experience this problem before and know how to resolve it?
All tips and advice are welcome

Big thanks in advance,

Diego

2 Likes

Hi Diego,
A ComponentNotFoundException toast message means there’s an inconsistent state between front-end and back-end in the Wicket framework. Normally an F5 refresh fixes this, better would be a logout/login action.

So this is a secondary error, why this state occurred in the first place I cannot say based on this information. Maybe there’s an earlier stack trace?

HTH
Jeroen