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

Log items with empty eventDocument paths lead to PageExpiredErrorPage in CMS

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Top
    • Resolution: Fixed
    • 2.22.13
    • 2.22.14, 2.24.00
    • None
    • None

    Description

      When having a hippolog:item node in the CMS that has no property value for hippolog:eventDocument, errors are logged from "MalformedPathException: empty path". The session is no longer useable: all requests lead to PageExpiredErrorPage, seen in the browsers URL.

      From stacktraces, TabsPlugin is involved (see below) but also CurrentActivityPlugin stacktraces are seen.

      27.11.2012 10:23:51 ERROR [org.hippoecm.frontend.model.JcrItemModel.getParentModel():120] Unrecognised path
      27.11.2012 10:23:51 WARN [org.hippoecm.frontend.model.JcrItemModel.load():187] Failed to load JcrItemModel
      javax.jcr.RepositoryException: Invalid path:
      at org.apache.jackrabbit.core.session.SessionItemOperation.perform(SessionItemOperation.java:194)
      at org.apache.jackrabbit.core.session.SessionState.perform(SessionState.java:200)
      at org.apache.jackrabbit.core.SessionImpl.perform(SessionImpl.java:359)
      at org.apache.jackrabbit.core.SessionImpl.getItem(SessionImpl.java:747)
      at org.hippoecm.repository.decorating.SessionDecorator.getItem(SessionDecorator.java:180)
      at org.hippoecm.repository.decorating.checked.SessionDecorator.getItem(SessionDecorator.java:200)
      at org.hippoecm.frontend.model.JcrItemModel.load(JcrItemModel.java:178)
      at org.hippoecm.frontend.model.JcrItemModel.load(JcrItemModel.java:43)
      at org.apache.wicket.model.LoadableDetachableModel.getObject(LoadableDetachableModel.java:120)
      at org.hippoecm.frontend.model.JcrItemModel.save(JcrItemModel.java:208)
      at org.hippoecm.frontend.model.JcrItemModel.detach(JcrItemModel.java:195)
      at org.hippoecm.frontend.model.ItemModelWrapper.detach(ItemModelWrapper.java:69)
      at org.hippoecm.frontend.model.JcrNodeModel.detach(JcrNodeModel.java:93)
      at org.hippoecm.frontend.model.ocm.JcrObject.detach(JcrObject.java:101)
      at org.apache.wicket.model.Model.detach(Model.java:281)
      at org.apache.wicket.model.AbstractPropertyModel.detach(AbstractPropertyModel.java:98)
      at org.apache.wicket.AttributeModifier.detach(AttributeModifier.java:183)
      at org.apache.wicket.Component.detachBehaviors(Component.java:1290)
      at org.apache.wicket.Component.detach(Component.java:1246)
      at org.apache.wicket.MarkupContainer.detachChildren(MarkupContainer.java:1701)
      at org.apache.wicket.Component.detach(Component.java:1250)
      at org.apache.wicket.MarkupContainer.detachChildren(MarkupContainer.java:1701)
      at org.apache.wicket.Component.detach(Component.java:1250)
      at org.apache.wicket.MarkupContainer.detachChildren(MarkupContainer.java:1701)
      at org.apache.wicket.Component.detach(Component.java:1250)
      at org.apache.wicket.MarkupContainer.detachChildren(MarkupContainer.java:1701)
      at org.apache.wicket.Component.detach(Component.java:1250)
      at org.apache.wicket.MarkupContainer.detachChildren(MarkupContainer.java:1701)
      at org.apache.wicket.Component.detach(Component.java:1250)
      at org.hippoecm.frontend.plugins.standards.tabs.TabsPlugin$Tab.detach(TabsPlugin.java:523)
      at org.hippoecm.frontend.plugins.standards.tabs.TabsPlugin.onDetach(TabsPlugin.java:192)
      at org.apache.wicket.Component.detach(Component.java:1228)
      at org.apache.wicket.MarkupContainer.detachChildren(MarkupContainer.java:1701)
      at org.apache.wicket.Component.detach(Component.java:1250)
      at org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.detach(BookmarkablePageRequestTarget.java:142)
      at org.apache.wicket.RequestCycle.detach(RequestCycle.java:1124)
      at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1464)
      at org.apache.wicket.RequestCycle.request(RequestCycle.java:546)
      at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:486)
      at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:319)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.hippoecm.frontend.ResourceRewriteFilter.doFilter(ResourceRewriteFilter.java:129)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.hippoecm.frontend.plugins.login.ConcurrentLoginFilter.doFilter(ConcurrentLoginFilter.java:56)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
      at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:396)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:662)
      Caused by: org.apache.jackrabbit.spi.commons.conversion.MalformedPathException: empty path
      at org.hippoecm.repository.jackrabbit.HippoPathParser.parse(HippoPathParser.java:222)
      at org.hippoecm.repository.jackrabbit.HippoPathParser.parse(HippoPathParser.java:180)
      at org.hippoecm.repository.jackrabbit.HippoPathParser.parse(HippoPathParser.java:152)
      at org.hippoecm.repository.jackrabbit.HippoPathParser.parse(HippoPathParser.java:71)
      at org.hippoecm.repository.jackrabbit.HippoCachingPathResolver.getQPath(HippoCachingPathResolver.java:55)
      at org.hippoecm.repository.jackrabbit.HippoNamePathResolver.getQPath(HippoNamePathResolver.java:63)
      at org.apache.jackrabbit.core.SessionImpl.getQPath(SessionImpl.java:609)
      at org.apache.jackrabbit.core.session.SessionContext.getQPath(SessionContext.java:305)
      at org.apache.jackrabbit.core.session.SessionItemOperation.perform(SessionItemOperation.java:184)
      ... 59 more

      Attachments

        Activity

          People

            jsheriff Junaidh Kadhar Sheriff
            jhoffman Jeroen Hoffman
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: