Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-10122

Error when deleting deployment with running instances and history disabled

XMLWordPrintable

    • Icon: Bug Report Bug Report
    • Resolution: Fixed
    • Icon: L3 - Default L3 - Default
    • 7.12.0, 7.11.1, 7.12.0-alpha1
    • None
    • None
    • None

      Steps to reproduce:

      • configure the engine to not use history
        • historyLevel = none
        • dbHistoryUsed = false
      • make sure history tables are not created
        • e.g. by setting databaseSchemaUpdate = create-drop
      • delete deployment with running instances
      • Should produce error at HistoricProcessInstanceManager.deleteHistoricProcessInstanceByIds
      org.camunda.bpm.engine.impl.persistence.entity.HistoricProcessInstanceManager.deleteHistoricProcessInstanceByIds(HistoricProcessInstanceManager.java:73)
      	  at org.camunda.bpm.engine.impl.persistence.entity.ExecutionManager.deleteProcessInstance(ExecutionManager.java:92)
      	  at org.camunda.bpm.engine.impl.persistence.entity.ExecutionManager.deleteProcessInstancesByProcessDefinition(ExecutionManager.java:62)
      	  at org.camunda.bpm.engine.impl.persistence.entity.DeploymentManager.deleteDeployment(DeploymentManager.java:96)
      	  at org.camunda.bpm.engine.impl.cmd.DeleteDeploymentCmd.execute(DeleteDeploymentCmd.java:75)
      	  at org.camunda.bpm.engine.impl.cmd.DeleteDeploymentCmd.execute(DeleteDeploymentCmd.java:43)
      	  at org.camunda.bpm.engine.impl.interceptor.CommandExecutorImpl.execute(CommandExecutorImpl.java:27)
      	  at org.camunda.bpm.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:106)
      	  at org.camunda.bpm.engine.spring.SpringTransactionInterceptor$1.doInTransaction(SpringTransactionInterceptor.java:45)
      	  at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:140)
      	  at org.camunda.bpm.engine.spring.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:43)
      	  at org.camunda.bpm.engine.impl.interceptor.ProcessApplicationContextInterceptor.execute(ProcessApplicationContextInterceptor.java:69)
      	  at org.camunda.bpm.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:32)
      	  at org.camunda.bpm.engine.impl.RepositoryServiceImpl.deleteDeployment(RepositoryServiceImpl.java:117)
      

        This is the controller panel for Smart Panels app

              miklas.boskamp Miklas Boskamp
              miklas.boskamp Miklas Boskamp
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: