Bug 813412

Summary: NPE when viewing diagram of a process that has a swimlane task
Product: [JBoss] JBoss Enterprise BRMS Platform 5 Reporter: Jiri Locker <jlocker>
Component: jBPM ConsoleAssignee: Kris Verlaenen <kverlaen>
Status: VERIFIED --- QA Contact: Radovan Synek <rsynek>
Severity: high Docs Contact:
Priority: unspecified    
Version: BRMS 5.3.0.GACC: atangrin, kverlaen, trikkola
Target Milestone: ER7   
Target Release: BRMS 5.3.0.GA   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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
server.log
none
defaultPackage.Swim.bpmn2 none

Description Jiri Locker 2012-04-17 17:06:11 UTC
Created attachment 578110 [details]
server.log

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

How reproducible:
always

Steps to Reproduce:
1. import the attached process into Guvnor (defaultPackage)
2. save the process, generate froms and PNG diagram
3. build the package
4. in jbpm-console, start Swim process
5. click Diagram button while the new process instance is selected
  
Actual results:
org.jboss.resteasy.spi.UnhandledException: java.lang.NullPointerException

Expected results:
Process instance diagram should be displayed.

Comment 1 Jiri Locker 2012-04-17 17:16:32 UTC
Created attachment 578111 [details]
defaultPackage.Swim.bpmn2

Comment 2 Kris Verlaenen 2012-04-20 15:19:03 UTC
Looking at the stack trace, it seems that the diagram info that used in this case is null.  So it doesn't seem to be able to find the process in question.

Comment 3 Maciej Swiderski 2012-04-23 09:13:55 UTC
Here is a pull request for this issue: https://github.com/droolsjbpm/jbpm/pull/91

Comment 4 Maciej Swiderski 2012-04-27 09:57:34 UTC
merged into master and 5.2.x

Comment 5 Ryan Zhang 2012-05-14 08:17:23 UTC
The fixed for this issue should be included in ER7. Please do verification on it.