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

Scheduled publication throws error and does not publish document

    XMLWordPrintable

Details

    Description

      • login author
      • request publication in one hour
      • logout
      • login as editor
      • deny request
      • schedule publication in 5 minutes
      • logout / wait

      java.lang.ClassCastException: org.hippoecm.repository.jackrabbit.XAWorkspaceImpl cannot be cast to org.hippoecm.repository.api.HippoWorkspace
      at org.hippoecm.repository.ocm.FieldManagerImpl.fetchStringField(FieldManagerImpl.java:594)
      at org.jpox.state.AbstractStateManager.replacingStringField(AbstractStateManager.java:867)
      at org.hippoecm.repository.reviewedactions.BasicReviewedActionsWorkflowImpl.jdoReplaceField(BasicReviewedActionsWorkflowImpl.java)
      at org.hippoecm.repository.reviewedactions.FullReviewedActionsWorkflowImpl.jdoReplaceField(FullReviewedActionsWorkflowImpl.java)
      at org.hippoecm.repository.reviewedactions.BasicReviewedActionsWorkflowImpl.jdoReplaceFields(BasicReviewedActionsWorkflowImpl.java)
      at org.jpox.state.JDOStateManagerImpl.replaceFields(JDOStateManagerImpl.java:2545)
      at org.jpox.state.JDOStateManagerImpl.replaceFields(JDOStateManagerImpl.java:2564)
      at org.hippoecm.repository.ocm.StoreManagerImpl.fetchObject(StoreManagerImpl.java:242)
      at org.jpox.state.JDOStateManagerImpl.validate(JDOStateManagerImpl.java:3844)
      at org.jpox.ObjectManagerImpl.findObject(ObjectManagerImpl.java:1964)
      at org.jpox.AbstractPersistenceManager.getObjectById(AbstractPersistenceManager.java:1479)
      at org.jpox.AbstractPersistenceManager.getObjectById(AbstractPersistenceManager.java:1457)
      at org.hippoecm.repository.impl.DocumentManagerImpl.getObject(DocumentManagerImpl.java:112)
      at org.hippoecm.repository.impl.WorkflowManagerImpl.getWorkflow(WorkflowManagerImpl.java:309)
      at org.hippoecm.repository.impl.WorkflowManagerImpl$WorkflowInvocationImpl.invoke(WorkflowManagerImpl.java:643)
      at org.hippoecm.repository.quartz.WorkflowJob.execute(WorkflowJob.java:46)
      at org.quartz.core.JobRunShell.run(JobRunShell.java:195)
      at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
      13.01.2009 10:30:00 ERROR [org.quartz.core.JobRunShell.run():204] Job DEFAULT.e2079ae6-bcec-41fc-b869-7f3492eb3af7 threw an unhandled Exception:
      java.lang.NullPointerException
      at org.hippoecm.repository.impl.WorkflowManagerImpl.getWorkflow(WorkflowManagerImpl.java:317)
      at org.hippoecm.repository.impl.WorkflowManagerImpl$WorkflowInvocationImpl.invoke(WorkflowManagerImpl.java:643)
      at org.hippoecm.repository.quartz.WorkflowJob.execute(WorkflowJob.java:46)
      at org.quartz.core.JobRunShell.run(JobRunShell.java:195)
      at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
      13.01.2009 10:30:00 ERROR [org.quartz.core.ErrorLogger.schedulerError():2015] Job (DEFAULT.e2079ae6-bcec-41fc-b869-7f3492eb3af7 threw an exception.
      org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: java.lang.NullPointerException]
      at org.quartz.core.JobRunShell.run(JobRunShell.java:206)
      at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)

      • Nested Exception (Underlying Cause) ---------------
        java.lang.NullPointerException
        at org.hippoecm.repository.impl.WorkflowManagerImpl.getWorkflow(WorkflowManagerImpl.java:317)
        at org.hippoecm.repository.impl.WorkflowManagerImpl$WorkflowInvocationImpl.invoke(WorkflowManagerImpl.java:643)
        at org.hippoecm.repository.quartz.WorkflowJob.execute(WorkflowJob.java:46)
        at org.quartz.core.JobRunShell.run(JobRunShell.java:195)
        at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 30 minutes
                1h 30m