Bug 1036569

Summary: Process model disappears when Instance Details panel closed in Process Instances Perspective
Product: [Retired] JBoss BPMS Platform 6 Reporter: Jan Hrcek <jhrcek>
Component: Business CentralAssignee: Tihomir Surdilovic <tsurdilo>
Status: CLOSED CURRENTRELEASE QA Contact: Jan Hrcek <jhrcek>
Severity: medium Docs Contact:
Priority: high    
Version: unspecifiedCC: kverlaen, smala
Target Milestone: ER6   
Target Release: 6.0.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-06 20:08:31 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Video showing steps to reproduce the issue
none
server.log showing NullPointerException none

Description Jan Hrcek 2013-12-02 10:01:41 UTC
Created attachment 831494 [details]
Video showing steps to reproduce the issue

Description of problem:
When you view process instance details, you can view process model showing process model with currently active activities of the process. If, after opening process model, you close the details panel, the process model disappears and there is NullPointerException in server.log. See video attached for steps to  reproduce.

Version-Release number of selected component (if applicable):
BPMS 6.0.0 ER5

How reproducible:
Always

Steps to Reproduce:
1. Login with admin user.
2. Go to authoring perspective and build & deploy jbpm-playground > Evaluation project.
3. Go to Process management > Process definitions and start an instance of evaluation process
4. This opens Instance Details panel, showing the details of currently started process instance. In that panel click: Wiews > process model, which opens designer panel displaying currently active activities in the process model.
5. Now close the 'Instance Details' panel

Actual results:
Process model disappears. If you click Metadata tab below, you get an error dialog 'Unable to complete your request. The following exception occured: null' and also NPE in the server log.

Expected results:
Process preview should remain displayed after closing the Instance Details panel, no exceptions in server log.

Comment 1 Jan Hrcek 2013-12-02 10:02:52 UTC
Created attachment 831496 [details]
server.log showing NullPointerException

Comment 3 Sona Mala 2013-12-04 09:19:08 UTC
I think that this issue is related with https://bugzilla.redhat.com/show_bug.cgi?id=953875

Comment 4 Tihomir Surdilovic 2013-12-04 19:33:32 UTC
fixed in designer master and 6.0.x branches.

node two things that changed:

1. in the process model view (read-only designer) the Metadata tab no longer shows up (as it makes not sense here to view it).
2. When the Instance Details panel is closed, the editor is closed as well. It makes no sense to keep it open in this scenario.

Comment 5 Jan Hrcek 2013-12-20 20:34:19 UTC
Ok, verified with BPMS 6.0.0 ER6 deployed on EAP 6.1.1