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.
Build: NetBeans IDE Dev (Build 201203150400) VM: Java HotSpot(TM) Client VM, 22.0-b10, Java(TM) SE Runtime Environment, 1.7.0_02-b13 OS: Windows 7 User Comments: crazyjavahacking: I was committing into Mercurial repository, looked at the diff of one file and then closed the commit window (using ESC). Stacktrace: java.lang.IllegalArgumentException: Listener not registered. at java.util.prefs.AbstractPreferences.removePreferenceChangeListener(AbstractPreferences.java:1061) at org.netbeans.modules.mercurial.ui.commit.CommitPanel.removeNotify(CommitPanel.java:301) at java.awt.Container.removeNotify(Container.java:2800) at javax.swing.JComponent.removeNotify(JComponent.java:4761) at java.awt.Container.removeNotify(Container.java:2800) at javax.swing.JComponent.removeNotify(JComponent.java:4761)
Created attachment 116861 [details] stacktrace
This does not make sense. addNotify adds a listener and removeNotify removes the same listener. Seems like a random exception, please reopen if you're able to reproduce.