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 107893 - IOException instead of opening browser
Summary: IOException instead of opening browser
Status: VERIFIED DUPLICATE of bug 92306
Alias: None
Product: webservices
Classification: Unclassified
Component: REST (show other bugs)
Version: 6.x
Hardware: All Linux
: P3 blocker (vote)
Assignee: Nam Nguyen
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2007-06-22 21:01 UTC by Lukas Jungmann
Modified: 2007-08-08 16: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 Lukas Jungmann 2007-06-22 21:01:27 UTC
follow http://wiki.netbeans.org/wiki/view/SimpleWsldRestServiceDemo

After Right click on web project node and do 'Test REST Services' there's:

java.io.IOException: Failed to show
URI:file:/home/lukas/NetBeansProjects/WebApplication13/build/generated/rest-test/test-resbeans.html
        at sun.awt.X11.XDesktopPeer.launch(XDesktopPeer.java:75)
        at sun.awt.X11.XDesktopPeer.browse(XDesktopPeer.java:64)
        at java.awt.Desktop.browse(Desktop.java:368)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.netbeans.modules.extbrowser.SystemDefaultBrowser$1.browse(SystemDefaultBrowser.java:73)
[catch] at org.netbeans.modules.extbrowser.SystemDefaultBrowser$Jdk6BrowserImpl.setURL(SystemDefaultBrowser.java:181)
        at org.openide.awt.HtmlBrowser$1URLSetter.run(HtmlBrowser.java:471)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
...

and browser is not opened
Comment 1 Vince Kraemer 2007-06-22 21:31:58 UTC
isn't this a variation of issue 92306... which I get all the time on Solaris until I change the preferred browser option....
Comment 2 Lukas Jungmann 2007-06-22 21:39:56 UTC
Yes, it seems so. Thanks for the pointer Vince.

*** This issue has been marked as a duplicate of 92306 ***
Comment 3 Lukas Jungmann 2007-08-08 16:36:53 UTC
v.