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 48562 - IllegalStateException in org.netbeans.modules.extbrowser.SystemDefaultBrowser
Summary: IllegalStateException in org.netbeans.modules.extbrowser.SystemDefaultBrowser
Status: CLOSED DUPLICATE of bug 48590
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 4.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: rmatous
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2004-09-07 07:29 UTC by _ gtzabari
Modified: 2008-12-22 18:54 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 _ gtzabari 2004-09-07 07:29:07 UTC
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.
Comment 1 Martin Grebac 2004-09-13 08:53:19 UTC
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.
Comment 2 zikmund 2004-09-13 09:41:56 UTC
For Swing Browser problems -- see issue 48590 (probably a duplicate?)
Comment 3 Martin Grebac 2004-09-13 09:53:06 UTC
Right. I tried, but didn't find your issue. Thanks for the number. 

*** This issue has been marked as a duplicate of 48590 ***
Comment 4 Marian Mirilovic 2005-07-12 10:13:59 UTC
closed