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

Exception after editing the basedocument in Quick Start WAR

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • High
    • Resolution: Duplicate
    • r2.12.08
    • r2.12.10, r2.13.00
    • None
    • None
    • Safari Version 4.0.5, Mac OSX 10.6.2, Quickstart running with mvn jetty:run-war

    Description

      1. Login in to the CMS.
      2. Click on Document Browser to goto Document Browser perspective.
      3. Select the project's namespace.
      4. Click on Base Document
      5. Click Edit, Save and Done.
      6. The icon indicates that the document has been modified.
      7. Select "Update all content" from the popup menu on namespace.
      8. In the following "Update content" dialog - click OK.

      Expected Result:
      The Update All content dialog should appear and the namespace should be updated properly.

      Actual Result:
      The Update content dialog reports error as - Action Failed.

      Here's the stack trace:

      javax.jcr.nodetype.ConstraintViolationException: /hippo:namespaces/defaultcontent/basedocument/hipposysedit:prototypes/hipposysedit:prototype: mandatory property

      {http://www.onehippo.org/jcr/hippostd/nt/2.0}

      state does not exist
      at org.apache.jackrabbit.core.ItemImpl.validateTransientItems(ItemImpl.java:458)
      at org.apache.jackrabbit.core.ItemImpl.save(ItemImpl.java:1058)
      at org.apache.jackrabbit.core.SessionImpl.save(SessionImpl.java:858)
      at org.hippoecm.repository.decorating.SessionDecorator.save(SessionDecorator.java:202)
      at org.hippoecm.repository.impl.SessionDecorator.save(SessionDecorator.java:177)
      at org.hippoecm.repository.updater.UpdaterEngine.upgrade(UpdaterEngine.java:705)
      at org.hippoecm.repository.updater.UpdaterEngine.migrate(UpdaterEngine.java:591)
      at org.hippoecm.repository.standardworkflow.RepositoryWorkflowImpl.updateModel(RepositoryWorkflowImpl.java:144)
      at org.hippoecm.repository.standardworkflow.RepositoryWorkflowImpl.updateModel(RepositoryWorkflowImpl.java:154)
      at org.hippoecm.repository.standardworkflow.RepositoryWorkflowImpl.updateModel(RepositoryWorkflowImpl.java:204)
      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.hippoecm.repository.impl.WorkflowManagerImpl$WorkflowInvocationImpl.invoke(WorkflowManagerImpl.java:788)
      at org.hippoecm.repository.impl.WorkflowManagerImpl$WorkflowInvocationHandler.invoke(WorkflowManagerImpl.java:512)
      at $Proxy6.updateModel(Unknown Source)
      at org.hippoecm.frontend.editor.workflow.RemodelWorkflowPlugin$1.execute(RemodelWorkflowPlugin.java:93)
      at org.hippoecm.frontend.editor.workflow.RemodelWorkflowPlugin$1.execute(RemodelWorkflowPlugin.java:68)
      at org.hippoecm.addon.workflow.CompatibilityWorkflowPlugin$WorkflowAction.execute(CompatibilityWorkflowPlugin.java:156)
      at org.hippoecm.addon.workflow.CompatibilityWorkflowPlugin$WorkflowAction$WorkflowDialog.execute(CompatibilityWorkflowPlugin.java:219)
      at org.hippoecm.frontend.editor.workflow.dialog.RemodelDialog.remodel(RemodelDialog.java:67)
      at org.hippoecm.frontend.editor.workflow.dialog.RemodelWizard$Step2$1.getLazyLoadComponent(RemodelWizard.java:84)
      at org.apache.wicket.extensions.ajax.markup.html.AjaxLazyLoadPanel$1.respond(AjaxLazyLoadPanel.java:79)
      at org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:299)
      at org.apache.wicket.request.target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:119)
      at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:92)
      at org.hippoecm.frontend.PluginRequestCycleProcessor.processEvents(PluginRequestCycleProcessor.java:34)
      at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1250)
      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.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
      at org.hippoecm.frontend.plugins.login.ConcurrentLoginFilter.doFilter(ConcurrentLoginFilter.java:54)
      at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
      at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
      at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
      at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
      at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
      at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
      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:326)
      at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
      at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:923)
      at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:547)
      at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
      at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
      at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
      at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
      22.03.2010 14:27:34 ERROR [org.hippoecm.frontend.editor.workflow.dialog.RemodelWizard$Step2$1.getLazyLoadComponent():88] Error during workflow execution
      org.hippoecm.repository.api.WorkflowException: javax.jcr.nodetype.ConstraintViolationException: /hippo:namespaces/defaultcontent/basedocument/hipposysedit:prototypes/hipposysedit:prototype: mandatory property

      {http://www.onehippo.org/jcr/hippostd/nt/2.0}

      state does not exist
      at org.hippoecm.addon.workflow.CompatibilityWorkflowPlugin$WorkflowAction.execute(CompatibilityWorkflowPlugin.java:158)
      at org.hippoecm.addon.workflow.CompatibilityWorkflowPlugin$WorkflowAction$WorkflowDialog.execute(CompatibilityWorkflowPlugin.java:219)
      at org.hippoecm.frontend.editor.workflow.dialog.RemodelDialog.remodel(RemodelDialog.java:67)
      at org.hippoecm.frontend.editor.workflow.dialog.RemodelWizard$Step2$1.getLazyLoadComponent(RemodelWizard.java:84)
      at org.apache.wicket.extensions.ajax.markup.html.AjaxLazyLoadPanel$1.respond(AjaxLazyLoadPanel.java:79)
      at org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:299)
      at org.apache.wicket.request.target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:119)
      at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:92)
      at org.hippoecm.frontend.PluginRequestCycleProcessor.processEvents(PluginRequestCycleProcessor.java:34)
      at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1250)
      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.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
      at org.hippoecm.frontend.plugins.login.ConcurrentLoginFilter.doFilter(ConcurrentLoginFilter.java:54)
      at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
      at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
      at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
      at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
      at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
      at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
      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:326)
      at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
      at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:923)
      at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:547)
      at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
      at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
      at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
      at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
      22.03.2010 14:27:34 WARN [org.hippoecm.frontend.JcrObservationManager$JcrListener.subscribe():341] Path no longer exists, stopping observation; content/documents/state/draft

      Attachments

        Activity

          People

            spelissier Sylvain PĂ©lissier (Inactive)
            vkiran Vijay Kiran (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: