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

Summary: Validate arguments passed into Actions
Product: platform Reporter: Peter Zavadsky <pzavadsky>
Component: ActionsAssignee: David Simonek <dsimonek>
Status: RESOLVED FIXED    
Severity: blocker Keywords: SIMPLEFIX
Priority: P3    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: Diff of suggested fix
Exception we run occassionally into
Exception we run occassionally into

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