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

ConstraintViolationException when adding a new document (after remodelling?)

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • High
    • Resolution: Cannot Reproduce
    • 2.01.00m06.1
    • 2.01.00m06.2
    • None
    • None
    • onehippo.com

    Description

      I've added a new document type and used "Update content".
      Adding a document of the type works fine, however when adding documents of other types, this error occurs:

      10.07.2008 12:14:17 INFO [org.hippoecm.repository.decorating.WorkflowManagerImp
      l$WorkflowInvocationHandler.invoke():488] AUDIT workflow invocation null.org.hip
      poecm.repository.standardworkflow.FolderWorkflowImpl.add(document, page, texttea
      ser4) -> javax.jcr.nodetype.ConstraintViolationException

      10.07.2008 12:14:17 ERROR [org.hippoecm.frontend.dialog.AbstractDialog$1.onClick
      ():58] javax.jcr.nodetype.ConstraintViolationException: no matching property def
      inition found for

      {http://www.hippoecm.org/nt/1.0}

      uri
      javax.jcr.nodetype.ConstraintViolationException: no matching property definition
      found for

      {http://www.hippoecm.org/nt/1.0}

      uri
      at org.apache.jackrabbit.core.nodetype.EffectiveNodeType.getApplicablePr
      opertyDef(EffectiveNodeType.java:773)
      at org.apache.jackrabbit.core.NodeImpl.getApplicablePropertyDefinition(N
      odeImpl.java:912)
      at org.apache.jackrabbit.core.NodeImpl.getOrCreateProperty(NodeImpl.java
      :409)
      at org.apache.jackrabbit.core.NodeImpl.getOrCreateProperty(NodeImpl.java
      :380)
      at org.apache.jackrabbit.core.NodeImpl.setProperty(NodeImpl.java:2279)
      at org.hippoecm.repository.decorating.NodeDecorator.setProperty(NodeDeco
      rator.java:164)
      at org.hippoecm.repository.standardworkflow.FolderWorkflowImpl.copy(Fold
      erWorkflowImpl.java:313)
      at org.hippoecm.repository.standardworkflow.FolderWorkflowImpl.copy(Fold
      erWorkflowImpl.java:304)
      at org.hippoecm.repository.standardworkflow.FolderWorkflowImpl.add(Folde
      rWorkflowImpl.java:165)
      at org.hippoecm.repository.standardworkflow.FolderWorkflowImpl.add(Folde
      rWorkflowImpl.java:138)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.hippoecm.repository.decorating.WorkflowManagerImpl$WorkflowInvoca
      tionHandler.invoke(WorkflowManagerImpl.java:435)
      at $Proxy8.add(Unknown Source)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
      at sun.rmi.transport.Transport$1.run(Transport.java:153)
      at java.security.AccessController.doPrivileged(Native Method)
      at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
      at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:4
      66)
      at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport
      .java:707)
      at java.lang.Thread.run(Thread.java:595)
      at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Stream
      RemoteCall.java:247)
      at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:
      223)
      at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126)
      at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(Remo
      teObjectInvocationHandler.java:179)
      at java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvo
      cationHandler.java:132)
      at $Proxy8.add(Unknown Source)
      at org.hippoecm.frontend.plugins.standardworkflow.FolderWorkflowDialog.e
      xecute(FolderWorkflowDialog.java:92)
      at org.hippoecm.frontend.dialog.AbstractWorkflowDialog.ok(AbstractWorkfl
      owDialog.java:108)
      at org.hippoecm.frontend.dialog.AbstractDialog$1.onClick(AbstractDialog.
      java:54)
      at org.apache.wicket.ajax.markup.html.AjaxLink$1.onEvent(AjaxLink.java:6
      5)
      at org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.ja
      va:163)
      at org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(Abstract
      DefaultAjaxBehavior.java:293)
      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.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.j
      ava:1171)
      at org.apache.wicket.RequestCycle.step(RequestCycle.java:1248)
      at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1349)
      at org.apache.wicket.RequestCycle.request(RequestCycle.java:493)
      at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:
      387)
      at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.ja
      va:199)
      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)

      at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHand
      lerCollection.java:206)
      at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.
      java:114)
      at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:1
      52)
      at org.mortbay.jetty.Server.handle(Server.java:324)
      at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:50
      5)
      at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpCo
      nnection.java:829)
      at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514)
      at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
      at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
      at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.ja
      va:395)
      at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.j
      ava:488)

      Attachments

        Activity

          People

            fvlankvelt Frank van Lankvelt (Inactive)
            jhoffman Jeroen Hoffman
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: