Uploaded image for project: '[Read Only] - Hippo Repository'
  1. [Read Only] - Hippo Repository
  2. REPO-1419

Session can not be reset after copying a node to another node & leads to unexpected error in console

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Low
    • Resolution: Outdated
    • Affects Version/s: 3.2.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Similar issues:

      Description

      Steps to reproduce:-->

      set up new project using the archetype
      install a content feature, e.g. the News feature
      after rebuild copy this node:
      /hst:hst/hst:configurations/hst:default/hst:catalog/essentials-catalog/banner

      to this path:
      /hst:hst/hst:configurations/common/hst:components

      2.Now click on "Reset" button to reset the session.
      3.Refresh session dialog opens & OK,cancel button don't work when clicked.error logged in console.
      4.When do a browser refresh then Server error shown.

      Check below console error when "Ok",cancel button is clicked from Refresh session dialog.

      [INFO] [talledLocalContainer] 18.01.2016 15:58:14 ERROR http-nio-8080-exec-6 [DefaultExceptionMapper.mapUnexpectedExceptions:170] Unexpected error occ
      urred
      [INFO] [talledLocalContainer] org.apache.wicket.core.request.handler.ComponentNotFoundException: Component 'dialog:content:form:buttons:1:button' has
      been removed from page.
      [INFO] [talledLocalContainer]   at org.apache.wicket.core.request.handler.ListenerInterfaceRequestHandler.respond(ListenerInterfaceRequestHandler.java
      :178)
      [INFO] [talledLocalContainer]   at org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:890)
      [INFO] [talledLocalContainer]   at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64)
      [INFO] [talledLocalContainer]   at org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:261)
      [INFO] [talledLocalContainer]   at org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:218)
      [INFO] [talledLocalContainer]   at org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:289)
      [INFO] [talledLocalContainer]   at org.apache.wicket.protocol.http.WicketFilter.processRequestCycle(WicketFilter.java:259)
      [INFO] [talledLocalContainer]   at org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:201)
      [INFO] [talledLocalContainer]   at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:282)
      [INFO] [talledLocalContainer]   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
      [INFO] [talledLocalContainer]   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      [INFO] [talledLocalContainer]   at org.apache.wicket.protocol.http.WicketFilter.processRequestCycle(WicketFilter.java:263)
      [INFO] [talledLocalContainer]   at org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:201)
      [INFO] [talledLocalContainer]   at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:282)
      [INFO] [talledLocalContainer]   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
      [INFO] [talledLocalContainer]   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      [INFO] [talledLocalContainer]   at org.hippoecm.frontend.plugins.login.ConcurrentLoginFilter.doFilter(ConcurrentLoginFilter.java:54)
      [INFO] [talledLocalContainer]   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
      [INFO] [talledLocalContainer]   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      [INFO] [talledLocalContainer]   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
      [INFO] [talledLocalContainer]   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
      [INFO] [talledLocalContainer]   at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
      [INFO] [talledLocalContainer]   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)
      [INFO] [talledLocalContainer]   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
      [INFO] [talledLocalContainer]   at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:617)
      [INFO] [talledLocalContainer]   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
      [INFO] [talledLocalContainer]   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:518)
      [INFO] [talledLocalContainer]   at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1091)
      [INFO] [talledLocalContainer]   at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:668)
      [INFO] [talledLocalContainer]   at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1521)
      [INFO] [talledLocalContainer]   at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1478)
      [INFO] [talledLocalContainer]   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      [INFO] [talledLocalContainer]   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      [INFO] [talledLocalContainer]   at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
      [INFO] [talledLocalContainer]   at java.lang.Thread.run(Thread.java:745)
      [INFO] [talledLocalContainer] 18.01.2016 15:59:24 ERROR http-nio-8080-exec-5 [DefaultExceptionMapper.mapUnexpectedExceptions:170] Unexpected error occ
      urred
      [INFO] [talledLocalContainer] org.apache.wicket.WicketRuntimeException: Exception in rendering component: [Component id = nodeIcon]
      [INFO] [talledLocalContainer]   at org.apache.wicket.Component.internalRenderComponent(Component.java:2560)
      [INFO] [talledLocalContainer]   at org.apache.wicket.markup.html.WebComponent.onRender(WebComponent.java:56)
      [INFO] [talledLocalContainer]   at org.apache.wicket.Component.internalRender(Component.java:2366)
      [INFO] [talledLocalContainer]   at org.apache.wicket.Component.render(Component.java:2294)
      [INFO] [talledLocalContainer]   at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1392)
      [INFO] [talledLocalContainer]   at org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:1557)
      [INFO] [talledLocalContainer]   at org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1532)
      [INFO] [talledLocalContainer]   at org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1487)
      [INFO] [talledLocalContainer]   at org.apache.wicket.markup.html.form.Form.onComponentTagBody(Form.java:1724)
      [INFO] [talledLocalContainer]   at org.apache.wicket.markup.html.panel.DefaultMarkupSourcingStrategy.onComponentTagBody(DefaultMarkupSourcingStrategy.
      java:71)
      [INFO] [talledLocalContainer]   at org.apache.wicket.Component.internalRenderComponent(Component.java:2536)
      [INFO] [talledLocalContainer]   at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1496)
      [INFO] [talledLocalContainer]   at org.apache.wicket.Component.internalRender(Component.java:2366)
      [INFO] [talledLocalContainer]   at org.apache.wicket.Component.render(Component.java:2294)
      [INFO] [talledLocalContainer]   at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1392)
      [INFO] [talledLocalContainer]   at org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:1557)
      [INFO] [talledLocalContainer]   at org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1532)
      [INFO] [talledLocalContainer]   at org.apache.wicket.MarkupContainer.renderAssociatedMarkup(MarkupContainer.java:689)
      [INFO] [talledLocalContainer]   at org.apache.wicket.markup.html.panel.AssociatedMarkupSourcingStrategy.renderAssociatedMarkup(AssociatedMarkupSourcin
      gStrategy.java:76)
      [INFO] [talledLocalContainer]   at org.apache.wicket.markup.html.panel.PanelMarkupSourcingStrategy.onComponentTagBody(PanelMarkupSourcingStrategy.java
      :112)
      [INFO] [talledLocalContainer]   at org.apache.wicket.Component.internalRenderComponent(Component.java:2536)
      [INFO] [talledLocalContainer]   at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1496)
      [INFO] [talledLocalContainer]   at org.apache.wicket.Component.internalRender(Component.java:2366)
      [INFO] [talledLocalContainer]   at org.apache.wicket.Component.render(Component.java:2294)
      [INFO] [talledLocalContainer]   at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1392)
      [INFO] [talledLocalContainer]   at org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:1557)
      [INFO] [talledLocalContainer]   at org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1532)
      [INFO] [talledLocalContainer]   at org.apache.wicket.MarkupContainer.renderAssociatedMarkup(MarkupContainer.java:689)
      [INFO] [talledLocalContainer]   at org.apache.wicket.markup.html.panel.AssociatedMarkupSourcingStrategy.renderAssociatedMarkup(AssociatedMarkupSourcin
      gStrategy.java:76)
      [INFO] [talledLocalContainer]   at org.apache.wicket.markup.html.panel.PanelMarkupSourcingStrategy.onComponentTagBody(PanelMarkupSourcingStrategy.java
      :112)
      [INFO] [talledLocalContainer]   at org.apache.wicket.Component.internalRenderComponent(Component.java:2536)
      [INFO] [talledLocalContainer]   at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1496)
      [INFO] [talledLocalContainer]   at org.apache.wicket.Component.internalRender(Component.java:2366)
      [INFO] [talledLocalContainer]   at org.apache.wicket.Component.render(Component.java:2294)
      [INFO] [talledLocalContainer]   at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1392)
      [INFO] [talledLocalContainer]   at org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:1557)
      [INFO] [talledLocalContainer]   at org.apache.wicket.Page.onRender(Page.java:887)
      [INFO] [talledLocalContainer]   at org.apache.wicket.markup.html.WebPage.onRender(WebPage.java:142)
      [INFO] [talledLocalContainer]   at org.apache.wicket.Component.internalRender(Component.java:2366)
      [INFO] [talledLocalContainer]   at org.apache.wicket.Component.render(Component.java:2294)
      [INFO] [talledLocalContainer]   at org.apache.wicket.Page.renderPage(Page.java:1024)
      [INFO] [talledLocalContainer]   at org.hippoecm.frontend.PluginPage.renderPage(PluginPage.java:366)
      [INFO] [talledLocalContainer]   at org.apache.wicket.request.handler.render.WebPageRenderer.renderPage(WebPageRenderer.java:139)
      [INFO] [talledLocalContainer]   at org.hippoecm.frontend.Main$7$1.renderPage(Main.java:465)
      [INFO] [talledLocalContainer]   at org.apache.wicket.request.handler.render.WebPageRenderer.respond(WebPageRenderer.java:229)
      [INFO] [talledLocalContainer]   at org.apache.wicket.core.request.handler.RenderPageRequestHandler.respond(RenderPageRequestHandler.java:175)
      [INFO] [talledLocalContainer]   at org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:890)
      [INFO] [talledLocalContainer]   at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64)
      [INFO] [talledLocalContainer]   at org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:261)
      [INFO] [talledLocalContainer]   at org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:218)
      [INFO] [talledLocalContainer]   at org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:289)
      [INFO] [talledLocalContainer]   at org.apache.wicket.protocol.http.WicketFilter.processRequestCycle(WicketFilter.java:259)
      [INFO] [talledLocalContainer]   at org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:201)
      [INFO] [talledLocalContainer]   at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:282)
      [INFO] [talledLocalContainer]   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
      [INFO] [talledLocalContainer]   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      [INFO] [talledLocalContainer]   at org.apache.wicket.protocol.http.WicketFilter.processRequestCycle(WicketFilter.java:263)
      [INFO] [talledLocalContainer]   at org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:201)
      [INFO] [talledLocalContainer]   at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:282)
      [INFO] [talledLocalContainer]   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
      [INFO] [talledLocalContainer]   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      [INFO] [talledLocalContainer]   at org.hippoecm.frontend.plugins.login.ConcurrentLoginFilter.doFilter(ConcurrentLoginFilter.java:54)
      [INFO] [talledLocalContainer]   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
      [INFO] [talledLocalContainer]   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      [INFO] [talledLocalContainer]   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
      [INFO] [talledLocalContainer]   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
      [INFO] [talledLocalContainer]   at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
      [INFO] [talledLocalContainer]   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)
      [INFO] [talledLocalContainer]   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
      [INFO] [talledLocalContainer]   at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:617)
      [INFO] [talledLocalContainer]   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
      [INFO] [talledLocalContainer]   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:518)
      [INFO] [talledLocalContainer]   at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1091)
      [INFO] [talledLocalContainer]   at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:668)
      [INFO] [talledLocalContainer]   at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1521)
      [INFO] [talledLocalContainer]   at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1478)
      [INFO] [talledLocalContainer]   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      [INFO] [talledLocalContainer]   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      [INFO] [talledLocalContainer]   at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
      [INFO] [talledLocalContainer]   at java.lang.Thread.run(Thread.java:745)
      [INFO] [talledLocalContainer] Caused by: java.lang.NullPointerException
      [INFO] [talledLocalContainer]   at org.hippoecm.frontend.plugins.console.icons.JcrNodeIcon.isNodeType(JcrNodeIcon.java:272)
      [INFO] [talledLocalContainer]   at org.hippoecm.frontend.plugins.console.icons.JcrNodeIcon.getIconTypeCssClass(JcrNodeIcon.java:198)
      [INFO] [talledLocalContainer]   at org.hippoecm.frontend.plugins.console.icons.JcrNodeIcon.getIconCssClass(JcrNodeIcon.java:185)
      [INFO] [talledLocalContainer]   at org.hippoecm.frontend.plugins.console.editor.NodeEditor$1.load(NodeEditor.java:80)
      [INFO] [talledLocalContainer]   at org.hippoecm.frontend.plugins.console.editor.NodeEditor$1.load(NodeEditor.java:77)
      [INFO] [talledLocalContainer]   at org.apache.wicket.model.LoadableDetachableModel.getObject(LoadableDetachableModel.java:124)
      [INFO] [talledLocalContainer]   at org.apache.wicket.AttributeModifier.getReplacementOrNull(AttributeModifier.java:226)
      [INFO] [talledLocalContainer]   at org.apache.wicket.AttributeModifier.replaceAttributeValue(AttributeModifier.java:182)
      [INFO] [talledLocalContainer]   at org.apache.wicket.AttributeModifier.onComponentTag(AttributeModifier.java:164)
      [INFO] [talledLocalContainer]   at org.apache.wicket.Component.renderComponentTag(Component.java:3959)
      [INFO] [talledLocalContainer]   at org.apache.wicket.Component.internalRenderComponent(Component.java:2527)
      [INFO] [talledLocalContainer]   ... 79 more
      
      
      

      Check screenshot for reference.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                pgupta Pankaj Gupta (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: