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 94195 - Validation of uninitialized variables
Summary: Validation of uninitialized variables
Status: RESOLVED FIXED
Alias: None
Product: soa
Classification: Unclassified
Component: BPEL Validation (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: Vladimir Yaroslavskiy
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-03 00:45 UTC by kiran_bhumana
Modified: 2008-06-07 10:54 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
Test project (8.49 KB, application/x-compressed)
2008-06-06 15:17 UTC, Vladimir Yaroslavskiy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kiran_bhumana 2007-02-03 00:45:03 UTC
If i used a vriable in a reply, but actually didn't assign any value to it in
the possible BPEL paths that reach the reply activity, it will be nice if the
editor does show some validation errors. This would avoid runtime exceptions and
help the bpel developers a lot. This will enhance the BPEL developers experience
with the editor.
There are a lot of such situations, Reply was just one instance i used to
explain here.
Comment 1 Vladimir Yaroslavskiy 2008-05-23 14:59:05 UTC
What will be implemented:

1. if variable is used but is not initialized, error will be shown
2. if variable is not used, warning will be shown
Comment 2 Vladimir Yaroslavskiy 2008-05-27 10:39:40 UTC
3. if variable is not used and not initialized, warning will be shown
Comment 3 Vladimir Yaroslavskiy 2008-06-06 15:17:47 UTC
Created attachment 62474 [details]
Test project
Comment 4 Vladimir Yaroslavskiy 2008-06-06 15:18:33 UTC
fixed.
Comment 5 Vladimir Yaroslavskiy 2008-06-07 10:54:15 UTC
changesets: 02919a669772, 4820fb5304c7, d13182348091