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.
1. Using Explorer create new Bean Pattern -> Event Source. As listener interface select e.g. java.awt.event.MouseListener. 2. Now expand MouseListener node. Using popup menu | customize you can edit methods properies (such as name etc...), but this throws exception org.openide.src.SourceException: see attachment
[Martin Matula] Exception raises because there is no java file with MouseListener definition available. This is bug in java module. The module should disable Customize action for methods sources of which are not available. When trying to find out where the bug is, I also find out, that the pop-up menu item "Customize" has strange behavior. When I rightclick on the node, that does not support "Customize" action, I get menu without Customize item, but when I then rightclick to anythink that supports customization, I get menu without Customize item anyway... You can reproduce it trying to rightclick on "methods" node in any class and then rightclick on any method under that methods node.
The exception was fixed -- exceptions can still be thrown when customizing read-only node (if the underlying implementation throws an exception). Customize should remain enabled, because the user can see interface's properties in different (maybe more readable) way as opposed to the property sheet. Maybe `Customize' should be replaced by some other word for read-only nodes.
Priority is changed to P4 (normal).
Customize action was disabled for r/o nodes - that affects JDK (standard) listener interfaces too.
[010130_1] Verified
Resolved for 3.4.x or earlier, no new info since then -> closing.