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 51260 - Duplicate pair in treePair1 errors making IDE unusable
Summary: Duplicate pair in treePair1 errors making IDE unusable
Status: CLOSED DUPLICATE of bug 40364
Alias: None
Product: platform
Classification: Unclassified
Component: Execution (show other bugs)
Version: 3.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Petr Nejedly
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-08 11:21 UTC by peterford
Modified: 2008-12-22 20:56 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description peterford 2004-11-08 11:21:40 UTC
Every time I open my projects I get messages about
these Duplicate pairs. Also when viewing some of
the options, anything that refers to the Debugger
or Compilation setting displays the message about
"Duplicate pair in treePair1" in red, along with a
 heap of exception pop-ups. This is currently
making my project unusable...

java.lang.IllegalStateException: Duplicate pair in
treePair1: SL[/Hidden/Versioning Settings pair2:
SL[/Hidden/Versioning Settings index1: 39 index2:
39 item1:
org.netbeans.modules.vcscore.settings.GeneralVcsSettings@d5c653
item2:
org.netbeans.modules.vcscore.settings.GeneralVcsSettings@d5c653
id1: 1da0a1 id2: 11cab1c
	at
org.openide.util.lookup.ALPairComparator.compare(ALPairComparator.java:52)
	at java.util.TreeMap.compare(TreeMap.java:1085)
	at java.util.TreeMap.put(TreeMap.java:463)
	at java.util.TreeSet.add(TreeSet.java:209)
	at
org.openide.util.lookup.AbstractLookup$R.initItems(AbstractLookup.java:788)
	at
org.openide.util.lookup.AbstractLookup$R.allItemsWithoutBeforeLookup(AbstractLookup.java:749)
	at
org.openide.util.lookup.AbstractLookup$R.allInstances(AbstractLookup.java:691)
	at
org.openide.util.lookup.ProxyLookup$R.computeResult(ProxyLookup.java:369)
	at
org.openide.util.lookup.ProxyLookup$R.allInstances(ProxyLookup.java:320)
	at
org.openide.util.lookup.ProxyLookup$R.computeResult(ProxyLookup.java:369)
	at
org.openide.util.lookup.ProxyLookup$R.allInstances(ProxyLookup.java:320)
	at
org.openide.util.SharedClassObject.findObject(SharedClassObject.java:484)
	at
org.netbeans.modules.vcscore.VcsFileSystem.<init>(VcsFileSystem.java:1789)
	at
org.netbeans.modules.vcs.advanced.CommandLineVcsFileSystem.<init>(CommandLineVcsFileSystem.java:233)
	at
org.netbeans.modules.vcs.advanced.CommandLineVcsFileSystem.<init>(CommandLineVcsFileSystem.java:205)
	at
org.netbeans.modules.vcs.advanced.wizard.mount.MountWizardIterator.initialize(MountWizardIterator.java:76)
	at
org.openide.loaders.TemplateWizardIterImpl.setIterator(TemplateWizardIterImpl.java:67)
	at
org.openide.loaders.TemplateWizard.setTemplateImpl(TemplateWizard.java:172)
	at
org.openide.loaders.TemplateWizard.setTemplate(TemplateWizard.java:190)
	at
org.openide.loaders.TemplateWizard.instantiateImpl(TemplateWizard.java:392)
	at
org.openide.loaders.TemplateWizard.instantiate(TemplateWizard.java:358)
	at
org.openide.actions.NewTemplateAction$TemplateActionListener.acceptNodes(NewTemplateAction.java:540)
	at
org.openide.explorer.view.MenuView$MenuItem.doClick(MenuView.java:445)
	at
javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1113)
	at
javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(BasicMenuItemUI.java:943)
	at
java.awt.Component.processMouseEvent(Component.java:5100)
	at
java.awt.Component.processEvent(Component.java:4897)
	at
java.awt.Container.processEvent(Container.java:1569)
	at
java.awt.Component.dispatchEventImpl(Component.java:3615)
	at
java.awt.Container.dispatchEventImpl(Container.java:1627)
	at
java.awt.Component.dispatchEvent(Component.java:3477)
	at
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
	at
java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
	at
java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
	at
java.awt.Container.dispatchEventImpl(Container.java:1613)
	at
java.awt.Window.dispatchEventImpl(Window.java:1606)
	at
java.awt.Component.dispatchEvent(Component.java:3477)
[catch] at
java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
	at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
	at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
	at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
	at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
	at
java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
Comment 1 peterford 2004-11-08 11:53:22 UTC
I've gone through some of the similar issues marked as resolved, but
they all have something to do with web browsers - I don't seem to have
quite the same problem. There is a workaround for the web browser
problem, looks like it involves deleting user files and restarting,
but I don't see a workaround (or an indication of what files to
delete) for my version of the issue.
Comment 2 Petr Nejedly 2004-11-08 11:57:06 UTC
They all ahd comething with broken lookup implementation.
The problem is fixed in current NB and AFAIK no fix is planed for 3.6

*** This issue has been marked as a duplicate of 40364 ***
Comment 3 Marian Mirilovic 2005-12-22 13:58:40 UTC
verified duplicate