Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-2355

Unable to retrieve suspended process defintions

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • jBPM 4.0
    • None
    • Runtime Engine
    • None

      this invocation

      // suspended processes
      ProcessDefinitionQuery pdQuery2 = repositoryService.createProcessDefinitionQuery();
      pdQuery2.deploymentDbid(dpl.getDbid());
      pdQuery2.suspended();
      List<ProcessDefinition> suspendedPds = pdQuery2.list();

      leads to

      Caused by: org.jbpm.api.JbpmException: deployment 3 is suspended
      at org.jbpm.pvm.internal.repository.RepositorySessionImpl.getObject(RepositorySessionImpl.java:131)
      at org.jbpm.pvm.internal.query.ProcessDefinitionQueryImpl.execute(ProcessDefinitionQueryImpl.java:72)
      at org.jbpm.pvm.internal.query.AbstractQuery.execute(AbstractQuery.java:80)
      at org.jbpm.pvm.internal.svc.DefaultCommandService.execute(DefaultCommandService.java:42)
      at org.jbpm.pvm.internal.tx.jta.JtaTransactionInterceptor.executeInExistingTx(JtaTransactionInterceptor.java:65)
      at org.jbpm.pvm.internal.tx.jta.JtaTransactionInterceptor.execute(JtaTransactionInterceptor.java:51)
      at org.jbpm.pvm.internal.tx.jta.JtaRetryInterceptor.executeWithoutRetry(JtaRetryInterceptor.java:56)
      at org.jbpm.pvm.internal.tx.jta.JtaRetryInterceptor.execute(JtaRetryInterceptor.java:48)
      at org.jbpm.pvm.internal.svc.EnvironmentInterceptor.execute(EnvironmentInterceptor.java:54)
      at org.jbpm.pvm.internal.query.AbstractQuery.untypedList(AbstractQuery.java:61)
      at org.jbpm.pvm.internal.query.ProcessDefinitionQueryImpl.list(ProcessDefinitionQueryImpl.java:139)

              tom.baeyens Tom Baeyens (Inactive)
              rhn-support-hbraun Heiko Braun
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: