OK, thanks for that Martin. Makes me wonder why it works in other circumstances, though.
Kevin... could you mail (the relevant bits of) the action.... any annotations, is it on a menu service, or a contribution service, or a domain entity or view model or mixin? Would like to try to reproduce the issue first (even though I'm sure the fix will probably be to do what Martin has suggested....) Thx Dan On 23 November 2015 at 16:41, Martin Grigorov <mgrigo...@apache.org> wrote: > Hi, > > > On Sun, Nov 22, 2015 at 8:25 PM, Dan Haywood <d...@haywood-associates.co.uk > > > wrote: > > > umm, ok... no clues there unfortunately. Any Javascript errors in > Chrome's > > console? > > > > Also, which version are you running against? I'm guessing 1.10.0 ? > > > > > > On 22 November 2015 at 19:22, Kevin Meyer <ke...@kmz.co.za> wrote: > > > > > Let me turn off one component factory that I create, but don't use.. > > > > > > In the mean time, heres the full stack trace: > > > > > > 20:10:40,374 [RequestCycleExtra qtp576936864-17 WARN ] Handling > the > > > following exception > > > org.apache.wicket.WicketRuntimeException: No Page found for component > > > [ActionPanel [Component id = content]] > > > at org.apache.wicket.Component.getPage(Component.java:1722) > > > at > > > > > > > > > org.apache.isis.viewer.wicket.ui.actionresponse.ActionResultResponseHandlingStrategy$3.handleResults(ActionResultResponseHandlingStrategy.java:65) > > > at > > > > > > > > > org.apache.isis.viewer.wicket.ui.components.actions.ActionPanel.executeActionOnTargetAndProcessResults(ActionPanel.java:254) > > > at > > > > > > > > > org.apache.isis.viewer.wicket.ui.components.actions.ActionPanel.executeActionAndProcessResults(ActionPanel.java:195) > > > at > > > > > > > > > org.apache.isis.viewer.wicket.ui.components.actions.ActionPanel.buildGui(ActionPanel.java:106) > > > at > > > > > > > > > org.apache.isis.viewer.wicket.ui.components.actions.ActionPanel.<init>(ActionPanel.java:84) > > > > <init>, i.e. we are in the constructor. > Later it seems there is a call #getPage() but since ActionPanel is not yet > added to its parent there is no path to the page. > Simple fix would be to #buildGui() in #onInitialize(). > > > > > at > > > > > > > > > org.apache.isis.viewer.wicket.ui.components.actions.ActionPanelFactory.createComponent(ActionPanelFactory.java:49) > > > at > > > > > > > > > org.apache.isis.viewer.wicket.viewer.registries.components.ComponentFactoryRegistryDefault.createComponent(ComponentFactoryRegistryDefault.java:128) > > > at > > > > > > > > > org.apache.isis.viewer.wicket.ui.components.widgets.linkandlabel.ActionLinkFactoryAbstract$1.onClick(ActionLinkFactoryAbstract.java:73) > > > at > > > org.apache.wicket.ajax.markup.html.AjaxLink$1.onEvent(AjaxLink.java:86) > > > at > > > > > > > > > org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:146) > > > at > > > > > > > > > org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:641) > > > 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:497) > > > at > > > > > > > > > org.apache.wicket.RequestListenerInterface.internalInvoke(RequestListenerInterface.java:258) > > > at > > > > > > > > > org.apache.wicket.RequestListenerInterface.invoke(RequestListenerInterface.java:241) > > > at > > > > > > > > > org.apache.wicket.core.request.handler.ListenerInterfaceRequestHandler.invokeListener(ListenerInterfaceRequestHandler.java:250) > > > at > > > > > > > > > org.apache.wicket.core.request.handler.ListenerInterfaceRequestHandler.respond(ListenerInterfaceRequestHandler.java:236) > > > at > > > > > > > > > org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:890) > > > at > > > > > > > > > org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64) > > > at > > > > > > org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:261) > > > at > > > > > > > > > org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:218) > > > at > > > > > > > > > org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:289) > > > at > > > > > > > > > org.apache.wicket.protocol.http.WicketFilter.processRequestCycle(WicketFilter.java:259) > > > at > > > > > > > > > org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:201) > > > at > > > > > > > > > org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:282) > > > at > > > > > > > > > org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652) > > > at > > > > > > > > > org.apache.isis.core.webapp.diagnostics.IsisLogOnExceptionFilter.doFilter(IsisLogOnExceptionFilter.java:52) > > > at > > > > > > > > > org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652) > > > at > > > > > > > > > org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449) > > > at > > > > > > > > > org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365) > > > at > > > > > > > > > org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90) > > > at > > > > > > > > > org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83) > > > at > > > > > > > > > org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:383) > > > at > > > > > > > > > org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362) > > > at > > > > > > > > > org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) > > > at > > > > > > > > > org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652) > > > at > > > > > > org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585) > > > at > > > > > > > > > org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) > > > at > > > > > > org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577) > > > at > > > > > > > > > org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223) > > > at > > > > > > > > > org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127) > > > at > > > > org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515) > > > at > > > > > > > > > org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) > > > at > > > > > > > > > org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061) > > > at > > > > > > > > > org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) > > > at > > > > > > > > > org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97) > > > at org.eclipse.jetty.server.Server.handle(Server.java:499) > > > at > > > org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310) > > > at > > > > > > org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257) > > > at > > > > > > org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540) > > > at > > > > > > > > > org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635) > > > at > > > > > > > > > org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555) > > > at java.lang.Thread.run(Thread.java:745) > > > 20:10:40,377 [RequestCycleExtra qtp576936864-17 WARN ] > > > ******************************** > > > > > > > > > > > > > > >