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.
The fire method of event source shoud contains throws statement if the appropriate method of the listener can thow exception. Otherwise in the generated code there is error announcing uncatched exception. Example: private void fireVetoableChangeListenerVetoableChange(java.beans.PropertyChangeEvent event) { if (vetoableChangeListener == null) return; vetoableChangeListener.vetoableChange(event); } The vetoableChange(event) throws the PropertyVetoException so the generated code should look like this: private void fireVetoableChangeListenerVetoableChange(java.beans.PropertyChangeEvent event) throws java.beans.PropertyVetoException { if (vetoableChangeListener == null) return; vetoableChangeListener.vetoableChange(event); }