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 36779

Summary: If default browser is Netscape then there are problems opening
Product: ide Reporter: John Baker <jbaker>
Component: ExtbrowserAssignee: Martin Grebac <mgrebac>
Status: RESOLVED FIXED    
Severity: blocker Keywords: RELNOTE
Priority: P2    
Version: 3.x   
Hardware: Sun   
OS: Windows ME/2000   
Issue Type: DEFECT Exception Reporter:

Description John Baker 2003-10-23 05:02:48 UTC
If the default browser is Netscape then in the
Tools->Options, the browser is set to netscape.

However, if a user has Netscape 6 or greater then
when Netscape is opened when executing a Web App
then there will be an error.

Annotation: Could not access the URL through the
external browser. Check the browser
configuration.  From the Tools menu, choose
Options.  In the Options window, expand the IDE
Configuration node.  Then expand the Server and
External Tool Settings node followed by the Web
Browsers node. Select the external browser type
and modify the Browser Executable property if
necessary.
org.netbeans.modules.extbrowser.NbBrowserException:
DdeConnect errno >400A< when connecting to server
NETSCAPE, topic WWW_Activate.
	at
org.netbeans.modules.extbrowser.NbDdeBrowserImpl.reqDdeMessage(Native
Method)
	at
org.netbeans.modules.extbrowser.NbDdeBrowserImpl.access$500(NbDdeBrowserImpl.java:53)
	at
org.netbeans.modules.extbrowser.NbDdeBrowserImpl$URLDisplayer.dispatchURL(NbDdeBrowserImpl.java:331)
	at
org.netbeans.modules.extbrowser.NbDdeBrowserImpl$URLDisplayer.run(NbDdeBrowserImpl.java:294)
[catch] at java.lang.Thread.run(Thread.java:534)


There seems to be a workaround.
In Tools->Options, set the browser to netscape6

However this workaround is unacceptable since this
change is too difficult for users and not an "Out
of the box experience, OOTBE"
Comment 1 Martin Grebac 2003-10-23 09:14:52 UTC
 I have an updated and redesigned prototype of extbrowser module in
prj40_prototype branch that solves this one, and also some other
problems already - you can check it if you want. 
 However, I'm not gonna integrate it into trunk until I solve issues
with import of settings from previous versions. Other things are
already working, though.

So for now, the fix in trunk:
 http://extbrowser.netbeans.org/source/browse/extbrowser/src/org/netbeans/modules/extbrowser/NbDdeBrowserImpl.java.diff?r1=1.28&r2=1.29
http://extbrowser.netbeans.org/source/browse/extbrowser/src/org/netbeans/modules/extbrowser/WinWebBrowser.java.diff?r1=1.17&r2=1.18

Comment 2 Martin Brehovsky 2004-02-12 10:18:08 UTC
Adding relnote, since the bug is not fixed in release35 branch,
therefore it is still appearing in Nevada/Arrow.
Comment 3 Martin Brehovsky 2004-02-12 13:14:35 UTC
Adding arrow keyword
Comment 4 Petr Jiricka 2004-08-20 17:03:35 UTC
Workaround is to use a different browser than Netscape 7 (e.g. Mozilla).