Please use the Apache issue tracking system for new NetBeans 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 QA Contact: issues <>
Priority: P3    
Version: 6.x   
Target Milestone: TBD   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Report:

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
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo