Bug 813412 - NPE when viewing diagram of a process that has a swimlane task
Summary: NPE when viewing diagram of a process that has a swimlane task
Keywords:
Status: VERIFIED
Alias: None
Product: JBoss Enterprise BRMS Platform 5
Classification: JBoss
Component: jBPM Console
Version: BRMS 5.3.0.GA
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ER7
: BRMS 5.3.0.GA
Assignee: Kris Verlaenen
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-04-17 17:06 UTC by Jiri Locker
Modified: 2023-05-31 22:25 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)
server.log (4.64 KB, text/plain)
2012-04-17 17:06 UTC, Jiri Locker
no flags Details
defaultPackage.Swim.bpmn2 (4.84 KB, application/xml)
2012-04-17 17:16 UTC, Jiri Locker
no flags Details

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.


Note You need to log in before you can comment on or make changes to this bug.