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

Regression: Nulllpointer exception on move document

    XMLWordPrintable

Details

    Description

      1) Login as Editor (similar problem seen logged in as admin)
      2) Go to demosite/news and create source and target folders
      3) Create new article in source folder and save it
      4) Open Document/Move...
      Expected: Document is moved.
      Actual: Access Denied page. On the console a NullPointerException:

      [INFO] [talledLocalContainer] 10.09.2013 16:25:32 ERROR [org.apache.wicket.DefaultExceptionMapper.internalMap():123] Unexpected error occurred
      [INFO] [talledLocalContainer] org.apache.wicket.WicketRuntimeException: Error attaching this container for rendering: [BrowserSectionAccordion [Component id = sections]]
      [INFO] [talledLocalContainer] at org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1693)
      [INFO] [talledLocalContainer] at org.apache.wicket.Component.onBeforeRender(Component.java:3843)
      [INFO] [talledLocalContainer] at org.hippoecm.frontend.plugins.cms.browse.BrowserSectionAccordion.onBeforeRender(BrowserSectionAccordion.java:173)
      [INFO] [talledLocalContainer] at org.apache.wicket.Component.internalBeforeRender(Component.java:922)
      [INFO] [talledLocalContainer] at org.apache.wicket.Component.beforeRender(Component.java:990)
      [INFO] [talledLocalContainer] at org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1681)
      [INFO] [talledLocalContainer] at org.apache.wicket.Component.onBeforeRender(Component.java:3843)
      [INFO] [talledLocalContainer] at org.hippoecm.frontend.service.render.AbstractRenderService.onBeforeRender(AbstractRenderService.java:542)
      [INFO] [talledLocalContainer] at org.apache.wicket.Component.internalBeforeRender(Component.java:922)
      [INFO] [talledLocalContainer] at org.apache.wicket.Component.beforeRender(Component.java:990)
      [INFO] [talledLocalContainer] at org.apache.wicket.Component.internalPrepareForRender(Component.java:2213)
      [INFO] [talledLocalContainer] at org.apache.wicket.Component.prepareForRender(Component.java:2252)
      [INFO] [talledLocalContainer] at org.apache.wicket.ajax.XmlAjaxResponse.writeComponent(XmlAjaxResponse.java:104)
      [INFO] [talledLocalContainer] at org.apache.wicket.ajax.AbstractAjaxResponse.writeComponents(AbstractAjaxResponse.java:212)
      [INFO] [talledLocalContainer] at org.apache.wicket.ajax.AbstractAjaxResponse.writeTo(AbstractAjaxResponse.java:144)
      [INFO] [talledLocalContainer] at org.apache.wicket.ajax.AjaxRequestHandler.respond(AjaxRequestHandler.java:363)
      [INFO] [talledLocalContainer] at org.hippoecm.frontend.PluginRequestTarget.respond(PluginRequestTarget.java:138)
      [INFO] [talledLocalContainer] at org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:861)
      [INFO] [talledLocalContainer] at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64)
      [INFO] [talledLocalContainer] at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:97)
      [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:235)
      [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:235)
      [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      [INFO] [talledLocalContainer] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
      [INFO] [talledLocalContainer] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      [INFO] [talledLocalContainer] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      [INFO] [talledLocalContainer] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      [INFO] [talledLocalContainer] at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:615)
      [INFO] [talledLocalContainer] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      [INFO] [talledLocalContainer] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
      [INFO] [talledLocalContainer] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
      [INFO] [talledLocalContainer] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
      [INFO] [talledLocalContainer] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
      [INFO] [talledLocalContainer] at java.lang.Thread.run(Thread.java:724)
      [INFO] [talledLocalContainer] Caused by: java.lang.NullPointerException
      [INFO] [talledLocalContainer] at org.hippoecm.frontend.plugins.cms.browse.BrowserSectionAccordion$2.destroyItem(BrowserSectionAccordion.java:144)
      [INFO] [talledLocalContainer] at org.hippoecm.frontend.widgets.AbstractView$1.destroyItem(AbstractView.java:33)
      [INFO] [talledLocalContainer] at org.hippoecm.frontend.widgets.ManagedReuseStrategy.getItems(ManagedReuseStrategy.java:45)
      [INFO] [talledLocalContainer] at org.apache.wicket.markup.repeater.RefreshingView.onPopulate(RefreshingView.java:94)
      [INFO] [talledLocalContainer] at org.apache.wicket.markup.repeater.AbstractRepeater.onBeforeRender(AbstractRepeater.java:116)
      [INFO] [talledLocalContainer] at org.apache.wicket.markup.repeater.AbstractPageableView.onBeforeRender(AbstractPageableView.java:115)
      [INFO] [talledLocalContainer] at org.apache.wicket.Component.internalBeforeRender(Component.java:922)
      [INFO] [talledLocalContainer] at org.apache.wicket.Component.beforeRender(Component.java:990)
      [INFO] [talledLocalContainer] at org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1681)
      [INFO] [talledLocalContainer] ... 41 more

      Access Denied
      You do not have access to the page you requested.

      Attachments

        Issue Links

          Activity

            People

              jsheriff Junaidh Kadhar Sheriff
              abanck Arent-Jan Banck (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: