Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-10282

regression: "reset session" dialog cannot be closed

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • High
    • Resolution: Duplicate
    • 4.1.0
    • None
    • None
    • Pulsar
    • Platform Sprint 142

    Description

      To reproduce:

      • open the CMS console
      • create a new node "anywhere"
      • click the "Reset" button top right

      Expected: clicking OK removes the changes and the dialog closes

      Actual: clicking either OK briefly shows a spinner, the window remains open and the following stack trace is printed:

      [talledLocalContainer] 19.07.2016 15:11:38 ERROR http-nio-8080-exec-4 [DefaultExceptionMapper.mapUnexpectedExceptions:170] Unexpected error occurred
      [talledLocalContainer] org.apache.wicket.WicketRuntimeException: Exception in rendering component: [Component id = nodeIcon]
      [talledLocalContainer] 	at org.apache.wicket.Component.internalRenderComponent(Component.java:2560)
      [talledLocalContainer] 	at org.apache.wicket.markup.html.WebComponent.onRender(WebComponent.java:56)
      [talledLocalContainer] 	at org.apache.wicket.Component.internalRender(Component.java:2366)
      [talledLocalContainer] 	at org.apache.wicket.Component.render(Component.java:2294)
      [talledLocalContainer] 	at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1392)
      [talledLocalContainer] 	at org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:1557)
      [talledLocalContainer] 	at org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1532)
      [talledLocalContainer] 	at org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1487)
      [talledLocalContainer] 	at org.apache.wicket.markup.html.form.Form.onComponentTagBody(Form.java:1724)
      [talledLocalContainer] 	at org.apache.wicket.markup.html.panel.DefaultMarkupSourcingStrategy.onComponentTagBody(DefaultMarkupSourcingStrategy.java:71)
      [talledLocalContainer] 	at org.apache.wicket.Component.internalRenderComponent(Component.java:2536)
      [talledLocalContainer] 	at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1496)
      [talledLocalContainer] 	at org.apache.wicket.Component.internalRender(Component.java:2366)
      [talledLocalContainer] 	at org.apache.wicket.Component.render(Component.java:2294)
      [talledLocalContainer] 	at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1392)
      [talledLocalContainer] 	at org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:1557)
      [talledLocalContainer] 	at org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1532)
      [talledLocalContainer] 	at org.apache.wicket.MarkupContainer.renderAssociatedMarkup(MarkupContainer.java:689)
      [talledLocalContainer] 	at org.apache.wicket.markup.html.panel.AssociatedMarkupSourcingStrategy.renderAssociatedMarkup(AssociatedMarkupSourcingStrategy.java:76)
      [talledLocalContainer] 	at org.apache.wicket.markup.html.panel.PanelMarkupSourcingStrategy.onComponentTagBody(PanelMarkupSourcingStrategy.java:112)
      [talledLocalContainer] 	at org.apache.wicket.Component.internalRenderComponent(Component.java:2536)
      [talledLocalContainer] 	at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1496)
      [talledLocalContainer] 	at org.apache.wicket.Component.internalRender(Component.java:2366)
      [talledLocalContainer] 	at org.apache.wicket.Component.render(Component.java:2294)
      [talledLocalContainer] 	at org.apache.wicket.ajax.XmlAjaxResponse.writeComponent(XmlAjaxResponse.java:128)
      [talledLocalContainer] 	at org.apache.wicket.ajax.AbstractAjaxResponse.writeComponents(AbstractAjaxResponse.java:218)
      [talledLocalContainer] 	at org.apache.wicket.ajax.AbstractAjaxResponse.writeTo(AbstractAjaxResponse.java:150)
      [talledLocalContainer] 	at org.apache.wicket.ajax.AjaxRequestHandler.respond(AjaxRequestHandler.java:359)
      [talledLocalContainer] 	at org.hippoecm.frontend.PluginRequestTarget.respond(PluginRequestTarget.java:150)
      [talledLocalContainer] 	at org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:890)
      [talledLocalContainer] 	at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64)
      [talledLocalContainer] 	at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:97)
      [talledLocalContainer] 	at org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:261)
      [talledLocalContainer] 	at org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:218)
      [talledLocalContainer] 	at org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:289)
      [talledLocalContainer] 	at org.apache.wicket.protocol.http.WicketFilter.processRequestCycle(WicketFilter.java:259)
      [talledLocalContainer] 	at org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:201)
      [talledLocalContainer] 	at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:282)
      [talledLocalContainer] 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
      [talledLocalContainer] 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
      [talledLocalContainer] 	at org.apache.wicket.protocol.http.WicketFilter.processRequestCycle(WicketFilter.java:263)
      [talledLocalContainer] 	at org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:201)
      [talledLocalContainer] 	at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:282)
      [talledLocalContainer] 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
      [talledLocalContainer] 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
      [talledLocalContainer] 	at org.hippoecm.frontend.plugins.login.ConcurrentLoginFilter.doFilter(ConcurrentLoginFilter.java:54)
      [talledLocalContainer] 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
      [talledLocalContainer] 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
      [talledLocalContainer] 	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)
      [talledLocalContainer] 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
      [talledLocalContainer] 	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
      [talledLocalContainer] 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
      [talledLocalContainer] 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
      [talledLocalContainer] 	at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)
      [talledLocalContainer] 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
      [talledLocalContainer] 	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:528)
      [talledLocalContainer] 	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1099)
      [talledLocalContainer] 	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:670)
      [talledLocalContainer] 	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1520)
      [talledLocalContainer] 	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1476)
      [talledLocalContainer] 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      [talledLocalContainer] 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      [talledLocalContainer] 	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
      [talledLocalContainer] 	at java.lang.Thread.run(Thread.java:745)
      [talledLocalContainer] Caused by: java.lang.NullPointerException
      [talledLocalContainer] 	at org.hippoecm.frontend.plugins.console.icons.JcrNodeIcon.isNodeType(JcrNodeIcon.java:272)
      [talledLocalContainer] 	at org.hippoecm.frontend.plugins.console.icons.JcrNodeIcon.getIconTypeCssClass(JcrNodeIcon.java:198)
      [talledLocalContainer] 	at org.hippoecm.frontend.plugins.console.icons.JcrNodeIcon.getIconCssClass(JcrNodeIcon.java:185)
      [talledLocalContainer] 	at org.hippoecm.frontend.plugins.console.editor.NodeEditor$1.load(NodeEditor.java:80)
      [talledLocalContainer] 	at org.hippoecm.frontend.plugins.console.editor.NodeEditor$1.load(NodeEditor.java:77)
      [talledLocalContainer] 	at org.apache.wicket.model.LoadableDetachableModel.getObject(LoadableDetachableModel.java:124)
      [talledLocalContainer] 	at org.apache.wicket.AttributeModifier.getReplacementOrNull(AttributeModifier.java:226)
      [talledLocalContainer] 	at org.apache.wicket.AttributeModifier.replaceAttributeValue(AttributeModifier.java:182)
      [talledLocalContainer] 	at org.apache.wicket.AttributeModifier.onComponentTag(AttributeModifier.java:164)
      [talledLocalContainer] 	at org.apache.wicket.Component.renderComponentTag(Component.java:3959)
      [talledLocalContainer] 	at org.apache.wicket.Component.internalRenderComponent(Component.java:2527)
      [talledLocalContainer] 	... 63 more
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              oscholten Oscar Scholten (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: