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 12446 - Exception thrown when External Browser (Unix) not executable
Summary: Exception thrown when External Browser (Unix) not executable
Status: VERIFIED FIXED
Alias: None
Product: ide
Classification: Unclassified
Component: Extbrowser (show other bugs)
Version: -FFJ-
Hardware: Sun Solaris
: P3 blocker (vote)
Assignee: _ rkubacki
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-05-26 04:08 UTC by Jason Rush
Modified: 2001-11-29 02:36 UTC (History)
0 users

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 Jason Rush 2001-05-26 04:08:59 UTC
When a brower specified in an External Browser (Unix) object is not in the 
user's path or does not have execute permissions, the exception below is 
thrown.  In the case of External Browser (Command Line) an error message is 
given instead.  We should probably have the same error message for both browser 
types.

java.io.IOException: netscape: not found
        at java.lang.UNIXProcess.forkAndExec(Native Method)
        at java.lang.UNIXProcess.<init>(UNIXProcess.java:54)
        at java.lang.Runtime.execInternal(Native Method)
        at java.lang.Runtime.exec(Runtime.java:551)
        at java.lang.Runtime.exec(Runtime.java:418)
        at java.lang.Runtime.exec(Runtime.java:361)
        at java.lang.Runtime.exec(Runtime.java:325)
        at org.netbeans.modules.extbrowser.UnixBrowserImpl.setURL(UnixBrowserImp
l.java:159)
        at org.openide.awt.HtmlBrowser$1.run(HtmlBrowser.java:398)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:154)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:331)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
read.java:134)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:101)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:96)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:88)
Comment 1 _ rkubacki 2001-06-15 18:41:03 UTC
fixed main trunk.
Comment 2 Jason Rush 2001-11-29 02:36:18 UTC
Verified in Build 200111280100.