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

Update all content throws exception after creating new compound type

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • None
    • r2.07.00
    • None
    • None

    Description

      Created new compound type with 3 checkboxes (clean repository).
      Exectute update-all-content
      stacktrace 1 is dumped.
      Navigating to other document type and click edit results in stacktrace 2.

      stacktrace 1:
      20.07.2009 14:08:09 WARN [org.hippoecm.frontend.JcrObservationManager$JcrListen
      er.getChanges():550] Failed to get path from event
      javax.jcr.NamespaceException: Namespace not found: http://www.hippoecm.org/defau
      ltcontent/nt/1.5: this session has been closed: this session has been closed
      at org.apache.jackrabbit.core.SessionImpl.getPrefix(SessionImpl.java:678
      )
      at org.apache.jackrabbit.spi.commons.conversion.ParsingNameResolver.getJ
      CRName(ParsingNameResolver.java:80)
      at org.apache.jackrabbit.spi.commons.conversion.ParsingPathResolver.getJ
      CRPath(ParsingPathResolver.java:86)
      at org.apache.jackrabbit.spi.commons.conversion.CachingPathResolver.getJ
      CRPath(CachingPathResolver.java:96)
      at org.apache.jackrabbit.spi.commons.conversion.DefaultNamePathResolver.
      getJCRPath(DefaultNamePathResolver.java:82)
      at org.apache.jackrabbit.core.SessionImpl.getJCRPath(SessionImpl.java:70
      5)
      at org.apache.jackrabbit.core.observation.EventImpl.getPath(EventImpl.ja
      va:89)
      at org.hippoecm.frontend.JcrObservationManager$JcrListener.getChanges(Jc
      rObservationManager.java:544)
      at org.hippoecm.frontend.JcrObservationManager.refreshSession(JcrObserva
      tionManager.java:958)
      at org.hippoecm.frontend.Home.refresh(Home.java:130)
      at org.hippoecm.frontend.Home.processEvents(Home.java:137)
      at org.hippoecm.frontend.PluginRequestCycleProcessor.processEvents(Plugi
      nRequestCycleProcessor.java:37)
      at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.j
      ava: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.ja
      va:200)
      at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(Servlet
      Handler.java:1084)
      at org.hippoecm.frontend.plugins.login.ConcurrentLoginFilter.doFilter(Co
      ncurrentLoginFilter.java:54)
      at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(Servlet
      Handler.java:1084)
      at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:3
      60)
      at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.jav
      a:216)
      at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:1
      81)
      at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:7
      26)
      at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)

      stacktrace 2:
      20.07.2009 14:12:23 ERROR [org.hippoecm.frontend.editor.builder.TemplateTypeEdit
      orPlugin.<init>():125] No template found to display type
      20.07.2009 14:12:23 ERROR [org.hippoecm.frontend.plugin.impl.PluginFactory.creat
      ePlugin():89] java.lang.NullPointerException: null
      java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
      orAccessorImpl.java:39)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
      onstructorAccessorImpl.java:27)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
      at org.hippoecm.frontend.plugin.impl.PluginFactory.createPlugin(PluginFa
      ctory.java:71)
      at org.hippoecm.frontend.plugin.impl.PluginManager.start(PluginManager.j
      ava:84)
      at org.hippoecm.frontend.plugin.impl.PluginContext.start(PluginContext.j
      ava:241)
      at org.hippoecm.frontend.plugin.impl.ClusterControl.start(ClusterControl
      .java:112)
      at org.hippoecm.frontend.editor.viewer.ViewerPlugin.createTemplate(Viewe
      rPlugin.java:90)
      at org.hippoecm.frontend.editor.viewer.ViewerPlugin.onModelChanged(Viewe
      rPlugin.java:68)
      at org.apache.wicket.Component.modelChanged(Component.java:2105)
      at org.hippoecm.frontend.editor.viewer.ViewerPlugin.<init>(ViewerPlugin.
      java:57)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
      orAccessorImpl.java:39)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
      onstructorAccessorImpl.java:27)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
      at org.hippoecm.frontend.plugin.impl.PluginFactory.createPlugin(PluginFa
      ctory.java:71)
      at org.hippoecm.frontend.plugin.impl.PluginManager.start(PluginManager.j
      ava:84)
      at org.hippoecm.frontend.plugin.impl.PluginContext.start(PluginContext.j
      ava:241)
      at org.hippoecm.frontend.plugin.impl.ClusterControl.start(ClusterControl
      .java:112)
      at org.hippoecm.frontend.plugins.cms.edit.AbstractCmsEditor.start(Abstra
      ctCmsEditor.java:252)
      at org.hippoecm.frontend.plugins.cms.edit.EditorManagerPlugin.createEdit
      or(EditorManagerPlugin.java:123)
      at org.hippoecm.frontend.plugins.cms.edit.EditorManagerPlugin.openPrevie
      w(EditorManagerPlugin.java:109)
      at org.hippoecm.frontend.plugins.cms.edit.BrowserObserver.onEvent(Browse
      rObserver.java:105)
      at org.hippoecm.frontend.model.event.ObservableRegistry$ObservationConte
      xt.notifyObservers(ObservableRegistry.java:76)
      at org.hippoecm.frontend.model.ModelReference.setModel(ModelReference.ja
      va:77)
      at org.hippoecm.frontend.plugins.standards.browse.BrowseService$Document
      ModelService.updateModel(BrowseService.java:61)
      at org.hippoecm.frontend.plugins.standards.browse.BrowseService.browse(B
      rowseService.java:127)
      at org.hippoecm.frontend.plugins.standards.browse.BrowseService$Document
      ModelService.setModel(BrowseService.java:69)
      at org.hippoecm.frontend.plugins.standards.browse.BrowseService$Document
      ModelService.setModel(BrowseService.java:53)
      at org.hippoecm.frontend.plugins.standards.list.AbstractListingPlugin.se
      lectionChanged(AbstractListingPlugin.java:149)
      at org.hippoecm.frontend.plugins.standards.list.ListCell$1.onEvent(ListC
      ell.java:50)
      at org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.ja
      va:163)
      at org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(Abstract
      DefaultAjaxBehavior.java:297)
      at org.apache.wicket.request.target.component.listener.BehaviorRequestTa
      rget.processEvents(BehaviorRequestTarget.java:100)
      at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents
      (AbstractRequestCycleProcessor.java:91)
      at org.hippoecm.frontend.PluginRequestCycleProcessor.processEvents(Plugi
      nRequestCycleProcessor.java:31)
      at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.j
      ava: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)

      Attachments

        Activity

          People

            fvlankvelt Frank van Lankvelt (Inactive)
            swesten Stephan Westen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: