Bug 813309 - NPE when generating task forms and there is a human task, whose TaskName is not set
Summary: NPE when generating task forms and there is a human task, whose TaskName is n...
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: JBoss Enterprise BRMS Platform 5
Classification: JBoss
Component: BRM (Guvnor)
Version: BRMS 5.3.0.GA
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ER7
: BRMS 5.3.0.GA
Assignee: manstis
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-04-17 13:11 UTC by Jiri Locker
Modified: 2025-02-10 03:19 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-02-10 03:19:36 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
server.log (2.83 KB, text/plain)
2012-04-17 13:11 UTC, Jiri Locker
no flags Details

Description Jiri Locker 2012-04-17 13:11:49 UTC
Created attachment 578026 [details]
server.log

Description of problem:
NullPointerException is really not what user wants to see.

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

How reproducible:
always

Steps to Reproduce:
1. create a process with a User task node
2. click Generate Task Form Templates
  
Actual results:
HTTP Status 500 (uncaught NPE)

Expected results:
Error message reporting which User task node is missing the TaskName value.

Additional info:

Comment 1 Zuzana Krejčová 2012-04-18 08:53:56 UTC
This is a bit crazy, but.. If you assign some group ID to the task, it does not throw that NPE, it will only generate a form for the process and won't generate it for the task. Assigning to a user doesn't have this effect.

Comment 2 Tihomir Surdilovic 2012-04-20 19:25:16 UTC
Designer will only generate the task form it the User Task defines a TaskName attribute value. Otherwise it does not know what to call the task form.

Comment 3 Maciej Swiderski 2012-04-20 21:17:32 UTC
issue was caused by missing io specification and additional check was introduced in designer to ensure proper handling.

Comment 4 Ryan Zhang 2012-04-23 07:36:02 UTC
Update status to ON_QA. Please verify them against ER6.

Comment 5 Ryan Zhang 2012-04-23 08:17:15 UTC
Confirmed that it is not picked in ER6. Change the status back

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

Comment 9 Jiri Locker 2012-05-21 12:46:57 UTC
Fix verified in ER7.

Comment 15 Red Hat Bugzilla 2025-02-10 03:19:36 UTC
This product has been discontinued or is no longer tracked in Red Hat Bugzilla.


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