This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 135858

Summary: Make error/warning messages more human readable (empty element)
Product: soa Reporter: Kirill Sorokin <ksorokin>
Component: BPEL ValidationAssignee: Vladimir Yaroslavskiy <yaroslavskiy>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description Kirill Sorokin 2008-05-27 10:57:41 UTC
Filed as a follow-up to issue 135148. Once you create a BPEL process, the error message on the empty sequence says: 

"The content of element 'sequence' is not complete. One of documentation, targets, sources, assign, compensate,
compensateScope, empty, exit, extensionActivity, flow, forEach, if, invoke, pick, receive, repeatUntil, reply, rethrow,
scope, sequence, throw, validate, wait, while is expected."

While this is much better than it was before (135148), the list of 24 (!) element names is still unlikely to be
correctly perceived by a human being. I would expect the error message to read: "The content of the <sequence> activity
is not complete. A <sequence> must contain at least one child activity." Moreover, the current error message is
misleading, as it says that adding <documentation> is enough to fix the error, while it is not.
Comment 1 Vladimir Yaroslavskiy 2008-05-27 14:08:07 UTC
fixed: 906fd3341115