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.
dev build 200409061800 Trying to run a servlet I get: java.lang.IllegalStateException: Duplicate pair in treePair1: SL[/Browsers/SystemDefaultBrowser pair2: SL[/Browsers/SystemDefaultBrowser index1: 1 index2: 1 item1: org.netbeans.modules.extbrowser.SystemDefaultBrowser@1455d1c item2: org.netbeans.modules.extbrowser.SystemDefaultBrowser@1455d1c id1: b3a5a0 id2: e3ffdf at org.openide.util.lookup.ALPairComparator.compare(ALPairComparator.java:52) at java.util.TreeMap.compare(TreeMap.java:1093) at java.util.TreeMap.put(TreeMap.java:465) at java.util.TreeSet.add(TreeSet.java:210) 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:378) at org.openide.util.lookup.ProxyLookup$R.allInstances(ProxyLookup.java:329) at org.openide.util.lookup.ProxyLookup$R.computeResult(ProxyLookup.java:378) at org.openide.util.lookup.ProxyLookup$R.allInstances(ProxyLookup.java:329) at org.netbeans.core.IDESettings.getWWWBrowser(IDESettings.java:345) at org.netbeans.core.ui.IDESettingsPanel$AsyncGUIJobImpl.construct(IDESettingsPanel.java:494) at org.openide.util.AsyncInitSupport.run(AsyncInitSupport.java:136) at org.openide.util.Task.run(Task.java:136) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:330) [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:686) This issue seems to be random.
This happens randomly also with swing browser, so the problem is not in extbrowser. I'd say there's some another problem with lookup. Adding Karel Zikmund to cc, he's been able to reproduce.
For Swing Browser problems -- see issue 48590 (probably a duplicate?)
Right. I tried, but didn't find your issue. Thanks for the number. *** This issue has been marked as a duplicate of 48590 ***
closed