Uploaded image for project: '[Read Only] - Hippo Plugins'
  1. [Read Only] - Hippo Plugins
  2. HIPPLUG-57

Related Documents: Exception when there are not documents to 'relate'

    XMLWordPrintable

Details

    Description

      As reported by Marijan:

      "suggestor throws exceptions, when no related docs are not there"

      Stack Trace:
      10.03.2010 19:27:16 ERROR
      [org.onehippo.forge.relateddocs.RelatedDocSuggestor.getRelatedDocs():
      79] Error while handling relatedDocs from
      org.onehippo.forge.relateddocs.providers.ReferringRelatedDocsProvider
      will skip its results
      javax.jcr.PathNotFoundException: relateddocs:docs
      at org.apache.jackrabbit.core.NodeImpl.getNode(NodeImpl.java:2598)
      at org.hippoecm.repository.decorating.NodeDecorator.getNode
      (NodeDecorator.java:226)
      at
      org.hippoecm.repository.decorating.checked.NodeDecorator.getNode
      (NodeDecorator.java:290)
      at
      org.onehippo.forge.relateddocs.providers.ReferringRelatedDocsProvider.getRelatedDocs(
      ReferringRelatedDocsProvider.java:36)
      at
      org.onehippo.forge.relateddocs.RelatedDocSuggestor.getRelatedDocs
      (RelatedDocSuggestor.java:66)
      at org.onehippo.forge.relateddocs.editor.RelatedDocsSuggestPlugin
      $RelatedDocsSuggestView.getItemModelsList
      (RelatedDocsSuggestPlugin.java:182)
      at org.onehippo.forge.relateddocs.editor.RelatedDocsSuggestPlugin
      $RelatedDocsSuggestView.getItemModels(RelatedDocsSuggestPlugin.java:
      169)
      at org.apache.wicket.markup.repeater.RefreshingView.onPopulate
      (RefreshingView.java:94)
      at
      org.apache.wicket.markup.repeater.AbstractRepeater.onBeforeRender
      (AbstractRepeater.java:131)
      at org.apache.wicket.Component.internalBeforeRender
      (Component.java:1061)
      at org.apache.wicket.Component.beforeRender(Component.java:1095)
      at org.apache.wicket.MarkupContainer.onBeforeRenderChildren
      (MarkupContainer.java:1727)
      at org.apache.wicket.Component.onBeforeRender(Component.java:3854)
      at org.apache.wicket.Component.internalBeforeRender
      (Component.java:1061)
      at org.apache.wicket.Component.beforeRender(Component.java:1095)
      at org.apache.wicket.MarkupContainer.onBeforeRenderChildren
      (MarkupContainer.java:1727)
      at org.apache.wicket.Component.onBeforeRender(Component.java:3854)
      at
      org.hippoecm.frontend.service.render.AbstractRenderService.onBeforeRender(
      AbstractRenderService.java:474)
      at org.apache.wicket.Component.internalBeforeRender
      (Component.java:1061)
      at org.apache.wicket.Component.beforeRender(Component.java:1095)
      at org.apache.wicket.MarkupContainer.onBeforeRenderChildren
      (MarkupContainer.java:1727)
      at org.apache.wicket.Component.onBeforeRender(Component.java:3854)
      at org.apache.wicket.Component.internalBeforeRender
      (Component.java:1061)
      at org.apache.wicket.Component.beforeRender(Component.java:1095)
      at org.apache.wicket.MarkupContainer.onBeforeRenderChildren
      (MarkupContainer.java:1727)
      at org.apache.wicket.Component.onBeforeRender(Component.java:3854)
      at
      org.apache.wicket.markup.repeater.AbstractRepeater.onBeforeRender
      (AbstractRepeater.java:151)
      at
      org.apache.wicket.markup.repeater.AbstractPageableView.onBeforeRender
      (AbstractPageableView.java:116)
      at org.apache.wicket.Component.internalBeforeRender
      (Component.java:1061)
      at org.apache.wicket.Component.beforeRender(Component.java:1095)
      at org.apache.wicket.MarkupContainer.onBeforeRenderChildren
      (MarkupContainer.java:1727)
      at org.apache.wicket.Component.onBeforeRender(Component.java:3854)
      at
      org.hippoecm.frontend.service.render.AbstractRenderService.onBeforeRender(
      AbstractRenderService.java:474)
      at org.apache.wicket.Component.internalBeforeRender
      (Component.java:1061)
      at org.apache.wicket.Component.beforeRender(Component.java:1095)
      at org.apache.wicket.MarkupContainer.onBeforeRenderChildren
      (MarkupContainer.java:1727)
      at org.apache.wicket.Component.onBeforeRender(Component.java:3854)
      at org.apache.wicket.Component.internalBeforeRender
      (Component.java:1061)
      at org.apache.wicket.Component.beforeRender(Component.java:1095)
      at org.apache.wicket.MarkupContainer.onBeforeRenderChildren
      (MarkupContainer.java:1727)
      at org.apache.wicket.Component.onBeforeRender(Component.java:3854)
      at
      org.hippoecm.frontend.service.render.AbstractRenderService.onBeforeRender(
      AbstractRenderService.java:474)
      at org.apache.wicket.Component.internalBeforeRender
      (Component.java:1061)
      at org.apache.wicket.Component.beforeRender(Component.java:1095)
      at org.apache.wicket.MarkupContainer.onBeforeRenderChildren
      (MarkupContainer.java:1727)
      at org.apache.wicket.Component.onBeforeRender(Component.java:3854)
      at
      org.hippoecm.frontend.service.render.AbstractRenderService.onBeforeRender(
      AbstractRenderService.java:474)
      at org.apache.wicket.Component.internalBeforeRender
      (Component.java:1061)
      at org.apache.wicket.Component.beforeRender(Component.java:1095)
      at org.apache.wicket.MarkupContainer.onBeforeRenderChildren
      (MarkupContainer.java:1727)
      at org.apache.wicket.Component.onBeforeRender(Component.java:3854)
      at
      org.hippoecm.frontend.service.render.AbstractRenderService.onBeforeRender(
      AbstractRenderService.java:474)
      at org.apache.wicket.Component.internalBeforeRender
      (Component.java:1061)
      at org.apache.wicket.Component.beforeRender(Component.java:1095)
      at org.apache.wicket.MarkupContainer.onBeforeRenderChildren
      (MarkupContainer.java:1727)
      at org.apache.wicket.Component.onBeforeRender(Component.java:3854)
      at org.apache.wicket.Component.internalBeforeRender
      (Component.java:1061)
      at org.apache.wicket.Component.beforeRender(Component.java:1095)
      at org.apache.wicket.Component.prepareForRender(Component.java:
      2223)
      at org.apache.wicket.Component.prepareForRender(Component.java:
      2260)
      at org.apache.wicket.ajax.AjaxRequestTarget.respondComponent
      (AjaxRequestTarget.java:804)
      at org.apache.wicket.ajax.AjaxRequestTarget.respondComponents
      (AjaxRequestTarget.java:680)
      at org.apache.wicket.ajax.AjaxRequestTarget.respond
      (AjaxRequestTarget.java:590)
      at
      org.apache.wicket.request.AbstractRequestCycleProcessor.respond
      (AbstractRequestCycleProcessor.java:105)
      at org.apache.wicket.RequestCycle.processEventsAndRespond
      (RequestCycle.java:1258)
      at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329)
      at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1428)
      at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
      at org.apache.wicket.protocol.http.WicketFilter.doGet
      (WicketFilter.java:468)
      at org.apache.wicket.protocol.http.WicketFilter.doFilter
      (WicketFilter.java:301)
      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:54)
      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:128)
      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:286)
      at org.apache.coyote.http11.Http11Processor.process
      (Http11Processor.java:845)
      at org.apache.coyote.http11.Http11Protocol
      $Http11ConnectionHandler.process(Http11Protocol.java:583)
      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run
      (JIoEndpoint.java:447)
      at java.lang.Thread.run(Thread.java:717)

      Attachments

        Activity

          People

            jhoffman Jeroen Hoffman
            vkiran Vijay Kiran (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: