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 209732 - IllegalArgumentException: Listener not registered.
Summary: IllegalArgumentException: Listener not registered.
Status: RESOLVED WORKSFORME
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Mercurial (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: Ondrej Vrabec
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-19 12:29 UTC by crazyjavahacking
Modified: 2012-04-18 15:50 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 186011


Attachments
stacktrace (8.37 KB, text/plain)
2012-03-19 12:29 UTC, crazyjavahacking
Details

Note You need to log in before you can comment on or make changes to this bug.
Description crazyjavahacking 2012-03-19 12:29:50 UTC
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)
Comment 1 crazyjavahacking 2012-03-19 12:29:53 UTC
Created attachment 116861 [details]
stacktrace
Comment 2 Ondrej Vrabec 2012-04-18 15:50:50 UTC
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.