Red Hat Bugzilla – Bug 1273980
Bulk abort results in error modal dialog
Last modified: 2016-03-11 12:19:09 EST
Created attachment 1085223 [details]
error modal dialog in process instances
Description of problem:
When a bulk abort over several process instances is done, expeption and modal dialog is showed.
18:11:14,088 ERROR [org.guvnor.common.services.backend.exceptions.ExceptionUtilities] (http-/0.0.0.0:8080-12) Exception thrown: No session found for context 9: org.kie.internal.runtime.manager.SessionNotFoundException: No session found for context 9
at org.jbpm.runtime.manager.impl.PerProcessInstanceRuntimeManager$PerProcessInstanceInitializer.initKieSession(PerProcessInstanceRuntimeManager.java:486) [jbpm-runtime-manager-6.3.0.Final-redhat-2.jar:6.3.0.Final-redhat-2]
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Generate several process instances
2. Try to do bulk abort
Error modal dialog and exception in server.log
same question as in https://bugzilla.redhat.com/show_bug.cgi?id=1267661#c2 looks like you're trying to abort process instance that has already been completed.
Process instances and tasks list in Active tab shows tasks and Proc. Instances that are completed too. https://bugzilla.redhat.com/show_bug.cgi?id=1270690
Would it be possible to have modal dialog with user friendly message stated something like "trying to abort completed process instances"?
abort and signal button should not be active for completed or aborted process instances, Mauricio, has anything changed in this regard?
Good question.. we can ask Neus if the changes in the layout impacted that.
the abort/signal button dissapears from the actions column in process instance that aren't active. If you select process instances completed or aborted, include them in a selection and request for an abort/signal bulk action. A notification is shown telling that that action is not allowed over that process instance or if the action is successfuly done.
I think that is working as used to. As far as I know.