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 69214 - Validate arguments passed into Actions
Summary: Validate arguments passed into Actions
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Actions (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: David Simonek
URL:
Keywords: SIMPLEFIX
Depends on:
Blocks:
 
Reported: 2005-11-23 18:44 UTC by Peter Zavadsky
Modified: 2008-12-22 16:58 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Diff of suggested fix (802 bytes, patch)
2005-11-23 18:45 UTC, Peter Zavadsky
Details | Diff
Exception we run occassionally into (2.35 KB, text/plain)
2005-11-23 18:48 UTC, Peter Zavadsky
Details
Exception we run occassionally into (2.35 KB, text/plain)
2005-11-23 18:48 UTC, Peter Zavadsky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Zavadsky 2005-11-23 18:44:34 UTC
Please validate the arguments (see the fix attachment) passed into Actions
(.connect) class.
We are running occassionally into NPE (see the exception attachment) from the
Bridge impl, but at that point is not possible to find out which client code is
the problematic one.Validation of the arguments would reveal the problem.
Comment 1 Peter Zavadsky 2005-11-23 18:45:12 UTC
Created attachment 27212 [details]
Diff of suggested fix
Comment 2 Peter Zavadsky 2005-11-23 18:48:10 UTC
Created attachment 27214 [details]
Exception we run occassionally into
Comment 3 Peter Zavadsky 2005-11-23 18:48:12 UTC
Created attachment 27215 [details]
Exception we run occassionally into
Comment 4 David Simonek 2005-11-24 11:05:01 UTC
Integrated into main trunk, thanks.

Checking in Actions.java;
/cvs/openide/awt/src/org/openide/awt/Actions.java,v  <--  Actions.java
new revision: 1.7; previous revision: 1.6