Uploaded image for project: 'Live Copy'
  1. Live Copy
  2. LIVECOPY-77

Publishing including subpages throws an error

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Neutral
    • Resolution: Fixed
    • Affects Version/s: 2.0.3, 2.0.5
    • Fix Version/s: 2.0.6
    • Labels:
      None

      Description

      When publishing including subpages an exception is thrown:

      2019-03-07 11:06:08,801 ERROR info.magnolia.task.persistence.TasksStoreImpl     : OCM related error occurred when updating task.
      org.apache.jackrabbit.ocm.exception.ObjectContentManagerException: Cannot insert collection field : content of class info.magnolia.task.Task
              at info.magnolia.task.persistence.ocm.PropertiesConverter.internalSetProperties(PropertiesConverter.java:210) ~[magnolia-task-management-1.2.4.jar:?]
              at info.magnolia.task.persistence.ocm.PropertiesConverter.doInsertCollection(PropertiesConverter.java:82) ~[magnolia-task-management-1.2.4.jar:?]
              at org.apache.jackrabbit.ocm.manager.collectionconverter.impl.AbstractCollectionConverterImpl.insertCollection(AbstractCollectionConverterImpl.java:80) ~[jackrabbit-ocm-2.0.0.jar:2.0.0]
              at org.apache.jackrabbit.ocm.manager.objectconverter.impl.ObjectConverterImpl.insertCollectionFields(ObjectConverterImpl.java:845) ~[jackrabbit-ocm-2.0.0.jar:2.0.0]
              at org.apache.jackrabbit.ocm.manager.objectconverter.impl.ObjectConverterImpl.insert(ObjectConverterImpl.java:215) ~[jackrabbit-ocm-2.0.0.jar:2.0.0]
              at org.apache.jackrabbit.ocm.manager.objectconverter.impl.ObjectConverterImpl.insert(ObjectConverterImpl.java:148) ~[jackrabbit-ocm-2.0.0.jar:2.0.0]
              at org.apache.jackrabbit.ocm.manager.impl.ObjectContentManagerImpl.insert(ObjectContentManagerImpl.java:392) ~[jackrabbit-ocm-2.0.0.jar:2.0.0]
              at info.magnolia.task.persistence.TasksStoreImpl$1.exec(TasksStoreImpl.java:111) [magnolia-task-management-1.2.4.jar:?]
              at info.magnolia.task.persistence.TasksStoreImpl$1.exec(TasksStoreImpl.java:100) [magnolia-task-management-1.2.4.jar:?]
              at info.magnolia.context.MgnlContext.doInSystemContext(MgnlContext.java:378) [magnolia-core-5.6.7.jar:?]
              at info.magnolia.context.MgnlContext.doInSystemContext(MgnlContext.java:356) [magnolia-core-5.6.7.jar:?]
              at info.magnolia.task.persistence.TasksStoreImpl.persist(TasksStoreImpl.java:100) [magnolia-task-management-1.2.4.jar:?]
              at info.magnolia.task.DefaultTasksManager.addTask(DefaultTasksManager.java:171) [magnolia-task-management-1.2.4.jar:?]
              at info.magnolia.module.workflow.jbpm.humantask.handler.HumanTaskWorkItemHandler.executeWorkItem(HumanTaskWorkItemHandler.java:65) [magnolia-module-workflow-jbpm-5.7.1.jar:?]
              at info.magnolia.module.workflow.jbpm.persistence.WorkItemHandlerSystemContextWrapper$1.exec(WorkItemHandlerSystemContextWrapper.java:37) [magnolia-module-workflow-jbpm-5.7.1.jar:?]
              at info.magnolia.module.workflow.jbpm.persistence.WorkItemHandlerSystemContextWrapper$1.exec(WorkItemHandlerSystemContextWrapper.java:33) [magnolia-module-workflow-jbpm-5.7.1.jar:?]
              at info.magnolia.context.MgnlContext.doInSystemContext(MgnlContext.java:378) [magnolia-core-5.6.7.jar:?]
              at info.magnolia.context.MgnlContext.doInSystemContext(MgnlContext.java:356) [magnolia-core-5.6.7.jar:?]
              at info.magnolia.module.workflow.jbpm.persistence.WorkItemHandlerSystemContextWrapper.executeWorkItem(WorkItemHandlerSystemContextWrapper.java:33) [magnolia-module-workflow-jbpm-5.7.1.jar:?]
              at org.drools.persistence.jcr.processinstance.JcrWorkItemManager.internalExecuteWorkItem(JcrWorkItemManager.java:76) [drools-jcr-persistence-5.7.1.jar:?]
              at org.jbpm.workflow.instance.node.WorkItemNodeInstance.internalTrigger(WorkItemNodeInstance.java:138) [jbpm-flow-6.4.0.Final.jar:6.4.0.Final]
              at org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:173) [jbpm-flow-6.4.0.Final.jar:6.4.0.Final]
              at org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerNodeInstance(NodeInstanceImpl.java:366) [jbpm-flow-6.4.0.Final.jar:6.4.0.Final]
              at org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerCompleted(NodeInstanceImpl.java:325) [jbpm-flow-6.4.0.Final.jar:6.4.0.Final]
              at org.jbpm.workflow.instance.node.StartNodeInstance.triggerCompleted(StartNodeInstance.java:73) [jbpm-flow-6.4.0.Final.jar:6.4.0.Final]
              at org.jbpm.workflow.instance.node.StartNodeInstance.internalTrigger(StartNodeInstance.java:44) [jbpm-flow-6.4.0.Final.jar:6.4.0.Final]
              at org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:173) [jbpm-flow-6.4.0.Final.jar:6.4.0.Final]
              at org.jbpm.ruleflow.instance.RuleFlowProcessInstance.internalStart(RuleFlowProcessInstance.java:35) [jbpm-flow-6.4.0.Final.jar:6.4.0.Final]
              at org.jbpm.process.instance.impl.ProcessInstanceImpl.start(ProcessInstanceImpl.java:236) [jbpm-flow-6.4.0.Final.jar:6.4.0.Final]
              at org.jbpm.workflow.instance.impl.WorkflowProcessInstanceImpl.start(WorkflowProcessInstanceImpl.java:439) [jbpm-flow-6.4.0.Final.jar:6.4.0.Final]
              at org.jbpm.process.instance.ProcessRuntimeImpl.startProcessInstance(ProcessRuntimeImpl.java:208) [jbpm-flow-6.4.0.Final.jar:6.4.0.Final]
              at org.jbpm.process.instance.ProcessRuntimeImpl.startProcess(ProcessRuntimeImpl.java:191) [jbpm-flow-6.4.0.Final.jar:6.4.0.Final]
              at org.jbpm.process.instance.ProcessRuntimeImpl.startProcess(ProcessRuntimeImpl.java:183) [jbpm-flow-6.4.0.Final.jar:6.4.0.Final]
              at org.drools.core.impl.StatefulKnowledgeSessionImpl.startProcess(StatefulKnowledgeSessionImpl.java:1807) [drools-core-6.4.0.Final.jar:6.4.0.Final]
              at org.drools.core.command.runtime.process.StartProcessCommand.execute(StartProcessCommand.java:122) [drools-core-6.4.0.Final.jar:6.4.0.Final]
              at org.drools.core.command.runtime.process.StartProcessCommand.execute(StartProcessCommand.java:40) [drools-core-6.4.0.Final.jar:6.4.0.Final]
              at org.drools.core.command.impl.DefaultCommandService.execute(DefaultCommandService.java:36) [drools-core-6.4.0.Final.jar:6.4.0.Final]
              at org.drools.core.command.impl.AbstractInterceptor.executeNext(AbstractInterceptor.java:41) [drools-core-6.4.0.Final.jar:6.4.0.Final]
              at org.drools.persistence.SimpleSessionCommandService$TransactionInterceptor.execute(SimpleSessionCommandService.java:365) [drools-jcr-persistence-5.7.1.jar:6.4.0.Final]
              at org.drools.core.command.impl.AbstractInterceptor.executeNext(AbstractInterceptor.java:41) [drools-core-6.4.0.Final.jar:6.4.0.Final]
              at org.drools.persistence.jcr.JcrPersistInterceptor.execute(JcrPersistInterceptor.java:42) [drools-jcr-persistence-5.7.1.jar:?]
              at org.drools.core.command.impl.AbstractInterceptor.executeNext(AbstractInterceptor.java:41) [drools-core-6.4.0.Final.jar:6.4.0.Final]
              at org.jbpm.persistence.JcrPersistProcessInterceptor.execute(JcrPersistProcessInterceptor.java:55) [jbpm-jcr-persistence-5.7.1.jar:6.4.0.Final]
              at org.drools.persistence.SimpleSessionCommandService.execute(SimpleSessionCommandService.java:279) [drools-jcr-persistence-5.7.1.jar:6.4.0.Final]
              at org.drools.core.command.impl.CommandBasedStatefulKnowledgeSession.startProcess(CommandBasedStatefulKnowledgeSession.java:256) [drools-core-6.4.0.Final.jar:6.4.0.Final]
              at info.magnolia.module.workflow.jbpm.JbpmWorkflowManager.launch(JbpmWorkflowManager.java:72) [magnolia-module-workflow-jbpm-5.7.1.jar:?]
              at info.magnolia.module.workflow.commands.LaunchWorkflowCommand.execute(LaunchWorkflowCommand.java:72) [magnolia-module-workflow-5.7.1.jar:?]
              at info.magnolia.commands.MgnlCommand.executeSynchronized(MgnlCommand.java:80) [magnolia-core-5.6.7.jar:?]
              at info.magnolia.commands.MgnlCommand.execute(MgnlCommand.java:69) [magnolia-core-5.6.7.jar:?]
              at info.magnolia.commands.chain.ChainBase.execute(ChainBase.java:101) [magnolia-core-5.6.7.jar:?]
              at info.magnolia.commands.DelegateCommand.execute(DelegateCommand.java:66) [magnolia-core-5.6.7.jar:?]
              at info.magnolia.module.scheduler.CommandJob.execute(CommandJob.java:110) [magnolia-module-scheduler-2.3.1.jar:?]
              at org.quartz.core.JobRunShell.run(JobRunShell.java:202) [quartz-2.2.3.jar:?]
              at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) [quartz-2.2.3.jar:?]
      Caused by: org.apache.jackrabbit.ocm.exception.IncorrectAtomicTypeException: Impossible to convert the value - property type not found
              at org.apache.jackrabbit.ocm.manager.atomictypeconverter.impl.UndefinedTypeConverterImpl.getValue(UndefinedTypeConverterImpl.java:101) ~[jackrabbit-ocm-2.0.0.jar:2.0.0]
              at info.magnolia.task.persistence.ocm.PropertiesConverter.internalSetProperties(PropertiesConverter.java:196) ~[magnolia-task-management-1.2.4.jar:?]
              ... 53 more
      2019-03-07 11:06:09,223 INFO  info.magnolia.module.scheduler.CommandJob         : Job executed successfully [UI Action triggered execution of [website:activate] by user [superuser]. (5)]
      

      It is happening to all pages/sites independently if they are livecopied or not.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                amanzoni Adrien Manzoni
                Reporter:
                miruela Mercedes Iruela
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Date of First Response: