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 50474 - Allow to specify path to external browser
Summary: Allow to specify path to external browser
Status: RESOLVED WORKSFORME
Alias: None
Product: ide
Classification: Unclassified
Component: Extbrowser (show other bugs)
Version: 4.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: issues@ide
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-15 12:22 UTC by aanno
Modified: 2006-06-05 00:27 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
.netbeans/4.0beta2/var/log/messages.log file (273.69 KB, text/plain)
2004-11-05 10:47 UTC, aanno
Details

Note You need to log in before you can comment on or make changes to this bug.
Description aanno 2004-10-15 12:22:46 UTC
In netbeans 4.0 on windows it is not possible to
specify the path to the external browser should
use. Instead, the only (working) options are
"system default browser" or "buildin swing".
Comment 1 zikmund 2004-10-15 12:26:56 UTC
Have you tried Tools|Options:
then choose IDE Configuration|Server and External Tool Settings|Web
Browsers
- you can add new browser (node's pop up menu|New)
- you can change the pathes of existing browsers

I think it's quite enough, or do you think we can do more for the users?
Comment 2 aanno 2004-11-05 10:45:42 UTC
Sounds cool - but doesn't work for me. I think there is something 
broken with the browser selection in the "Setup Wizard" dialog of 
4.0beta2. These are the stack traces: 
 
java.lang.IllegalStateException: Duplicate pair in treePair1: 
SL[/Browsers/SwingBrowser pair2: SL[/Browsers/SwingBrowser index1: 6 
index2: 6 item1: org.netbeans.core.ui.SwingBrowser@66cba4 item2: 
org.netbeans.core.ui.SwingBrowser@66cba4 id1: 2fbe47 id2: 754a4a 
 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) 
-------------------------- 
Annotation: Exception occurred in Request Processor 
java.lang.IllegalStateException: Duplicate pair in treePair1: 
SL[/Browsers/SwingBrowser pair2: SL[/Browsers/SwingBrowser index1: 6 
index2: 6 item1: org.netbeans.core.ui.SwingBrowser@66cba4 item2: 
org.netbeans.core.ui.SwingBrowser@66cba4 id1: 2fbe47 id2: 754a4a 
 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.allItems(AbstractLookup.java:735) 
 at 
org.openide.util.lookup.ProxyLookup$R.computeResult(ProxyLookup.java:384) 
 at 
org.openide.util.lookup.ProxyLookup$R.allItems(ProxyLookup.java:345) 
 at 
org.openide.util.lookup.ProxyLookup$R.computeResult(ProxyLookup.java:384) 
 at 
org.openide.util.lookup.ProxyLookup$R.allItems(ProxyLookup.java:345) 
 at 
org.netbeans.beaninfo.editors.HtmlBrowser$FactoryEditor.getTags(HtmlBrowser.java:107) 
 at 
org.netbeans.core.ui.IDESettingsPanel$AsyncGUIJobImpl.construct(IDESettingsPanel.java:495) 
 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) 
 
Comment 3 aanno 2004-11-05 10:47:05 UTC
Created attachment 18745 [details]
.netbeans/4.0beta2/var/log/messages.log file
Comment 4 zikmund 2004-11-05 11:06:08 UTC
Please do not mix 2 bugs/enhancements in 1 issue. The
IllegalStateException is known beta2 bug - see issue 48590.

Marking the enhancement issue as WORKSFORME since there are no any
additional information which could improve browsers.