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

Gracefully handle non existing paths in yui search plugin

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • r2.09.00
    • r2.09.01
    • None
    • None

    Description

      15.10.2009 17:08:47 ERROR [org.hippoecm.frontend.plugins.search.yui.SearchBehavior$SearchBuilder.<init>():212] An error occured while constructing the default search where-clause part
      javax.jcr.PathNotFoundException: /content/documents
      at org.apache.jackrabbit.core.SessionImpl.getItem(SessionImpl.java:819)
      at org.hippoecm.repository.decorating.SessionDecorator.getItem(SessionDecorator.java:178)
      at org.hippoecm.repository.decorating.checked.SessionDecorator.getItem(SessionDecorator.java:200)
      at org.hippoecm.frontend.plugins.search.yui.SearchBehavior$SearchBuilder.<init>(SearchBehavior.java:195)
      at org.hippoecm.frontend.plugins.search.yui.SearchBehavior.<init>(SearchBehavior.java:78)
      at org.hippoecm.frontend.plugins.search.SearchPlugin.<init>(SearchPlugin.java:42)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
      at org.hippoecm.frontend.plugin.impl.PluginFactory.createPlugin(PluginFactory.java:71)
      at org.hippoecm.frontend.plugin.impl.PluginManager.start(PluginManager.java:84)
      at org.hippoecm.frontend.plugin.impl.PluginContext.start(PluginContext.java:246)
      at org.hippoecm.frontend.plugin.impl.ClusterControl.start(ClusterControl.java:112)
      at org.hippoecm.frontend.Home.<init>(Home.java:111)
      at org.hippoecm.frontend.Home.<init>(Home.java:64)
      at org.hippoecm.frontend.plugins.login.RememberMeLoginPlugin$SignInForm.onSubmit(RememberMeLoginPlugin.java:201)
      at org.apache.wicket.markup.html.form.Form.delegateSubmit(Form.java:1355)
      at org.apache.wicket.markup.html.form.Form.onFormSubmitted(Form.java:810)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.apache.wicket.RequestListenerInterface.invoke(RequestListenerInterface.java:183)
      at org.apache.wicket.request.target.component.listener.ListenerInterfaceRequestTarget.processEvents(ListenerInterfaceRequestTarget.java:73)
      at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:91)
      at org.hippoecm.frontend.PluginRequestCycleProcessor.processEvents(PluginRequestCycleProcessor.java:31)
      at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1175)
      at org.apache.wicket.RequestCycle.step(RequestCycle.java:1252)
      at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1353)
      at org.apache.wicket.RequestCycle.request(RequestCycle.java:493)
      at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:355)
      at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:200)
      at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1115)
      at org.hippoecm.frontend.plugins.login.ConcurrentLoginFilter.doFilter(ConcurrentLoginFilter.java:54)
      at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1115)
      at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:361)
      at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
      at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
      at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
      at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417)
      at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
      at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
      at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
      at org.mortbay.jetty.Server.handle(Server.java:324)
      at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534)
      at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:879)
      at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:741)
      at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:213)
      at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:403)
      at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
      at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:522)
      15.10.2009 17:08:47 ERROR [org.hippoecm.frontend.plugin.impl.PluginFactory.createPlugin():89] java.lang.IllegalStateException: An error occured while constructing the default search where-clause part
      java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
      at org.hippoecm.frontend.plugin.impl.PluginFactory.createPlugin(PluginFactory.java:71)
      at org.hippoecm.frontend.plugin.impl.PluginManager.start(PluginManager.java:84)
      at org.hippoecm.frontend.plugin.impl.PluginContext.start(PluginContext.java:246)
      at org.hippoecm.frontend.plugin.impl.ClusterControl.start(ClusterControl.java:112)
      at org.hippoecm.frontend.Home.<init>(Home.java:111)
      at org.hippoecm.frontend.Home.<init>(Home.java:64)
      at org.hippoecm.frontend.plugins.login.RememberMeLoginPlugin$SignInForm.onSubmit(RememberMeLoginPlugin.java:201)
      at org.apache.wicket.markup.html.form.Form.delegateSubmit(Form.java:1355)
      at org.apache.wicket.markup.html.form.Form.onFormSubmitted(Form.java:810)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.apache.wicket.RequestListenerInterface.invoke(RequestListenerInterface.java:183)
      at org.apache.wicket.request.target.component.listener.ListenerInterfaceRequestTarget.processEvents(ListenerInterfaceRequestTarget.java:73)
      at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:91)
      at org.hippoecm.frontend.PluginRequestCycleProcessor.processEvents(PluginRequestCycleProcessor.java:31)
      at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1175)
      at org.apache.wicket.RequestCycle.step(RequestCycle.java:1252)
      at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1353)
      at org.apache.wicket.RequestCycle.request(RequestCycle.java:493)
      at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:355)
      at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:200)
      at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1115)
      at org.hippoecm.frontend.plugins.login.ConcurrentLoginFilter.doFilter(ConcurrentLoginFilter.java:54)
      at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1115)
      at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:361)
      at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
      at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
      at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
      at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417)
      at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
      at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
      at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
      at org.mortbay.jetty.Server.handle(Server.java:324)
      at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534)
      at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:879)
      at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:741)
      at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:213)
      at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:403)
      at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
      at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:522)
      Caused by: java.lang.IllegalStateException: An error occured while constructing the default search where-clause part
      at org.hippoecm.frontend.plugins.search.yui.SearchBehavior$SearchBuilder.<init>(SearchBehavior.java:213)
      at org.hippoecm.frontend.plugins.search.yui.SearchBehavior.<init>(SearchBehavior.java:78)
      at org.hippoecm.frontend.plugins.search.SearchPlugin.<init>(SearchPlugin.java:42)
      ... 46 more
      Caused by: javax.jcr.PathNotFoundException: /content/documents
      at org.apache.jackrabbit.core.SessionImpl.getItem(SessionImpl.java:819)
      at org.hippoecm.repository.decorating.SessionDecorator.getItem(SessionDecorator.java:178)
      at org.hippoecm.repository.decorating.checked.SessionDecorator.getItem(SessionDecorator.java:200)
      at org.hippoecm.frontend.plugins.search.yui.SearchBehavior$SearchBuilder.<init>(SearchBehavior.java:195)
      ... 48 more

      Attachments

        Activity

          People

            bvdschans Bart van der Schans (Inactive)
            bvdschans Bart van der Schans (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: