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 92306 - IOException when clicking on Quick Start Guides on Welcome screen
Summary: IOException when clicking on Quick Start Guides on Welcome screen
Status: CLOSED FIXED
Alias: None
Product: ide
Classification: Unclassified
Component: Extbrowser (show other bugs)
Version: 6.x
Hardware: PC Linux
: P2 blocker (vote)
Assignee: Tomasz Slota
URL:
Keywords: JDK_SPECIFIC
: 102982 105938 107845 107893 108688 109296 112677 (view as bug list)
Depends on:
Blocks: 67323
  Show dependency tree
 
Reported: 2007-01-11 12:29 UTC by Petr Chytil
Modified: 2011-06-09 09:56 UTC (History)
8 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
java.io.IOException (1.32 KB, text/plain)
2007-01-11 12:30 UTC, Petr Chytil
Details
java.io.IOException: Failed to show URI:http://www.netbeans.org/ (3.02 KB, text/plain)
2007-04-02 17:14 UTC, Martin Schovanek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Chytil 2007-01-11 12:29:24 UTC
NetBeans IDE Dev (Build 200701101900)
1.6.0; Java HotSpot(TM) Client VM 1.6.0-b105
Linux version 2.6.17-10-generic running on i386
en_US (nb); UTF-8

I'm unable to reproduce it in Vista.

steps to reproduce:
- run IDE (I've tried it even with clean user dir)
- click on Quick Start Guides on Welcome screen
- java.io.Exception should occur (see attachment)
Comment 1 Petr Chytil 2007-01-11 12:30:11 UTC
Created attachment 37265 [details]
java.io.IOException
Comment 2 David Simonek 2007-01-15 13:06:03 UTC
passing to standa, welcome screen owner.
Comment 3 Stanislav Aubrecht 2007-01-15 14:57:44 UTC
i don't think this is a welcome screen bug - passing to extbrowser for evaluation
Comment 4 Tomasz Slota 2007-03-21 13:33:55 UTC
This issue is caused by a problem in JVM 6.0. We might want to work it around by not using 
Desktop.browse() on Linux

See
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6490730
Comment 5 Tomasz Slota 2007-03-21 13:39:12 UTC
pchytil: were you using KDE? can you try to reproduce it with another window manager?
Comment 6 Martin Schovanek 2007-04-02 17:13:18 UTC
Reproducible on Solaris boxes too when the System Proxy is not setup and the
<System Web Browser> is set up as Nb default browser.

to reproduce:
-------------
1) choose 'View > Web Browser' or a item from 'Help > Tutorials'
ERROR: IDE Throws:
Comment 7 Martin Schovanek 2007-04-02 17:14:36 UTC
Created attachment 40273 [details]
java.io.IOException: Failed to show URI:http://www.netbeans.org/
Comment 8 Tomasz Slota 2007-04-30 14:13:00 UTC
*** Issue 102982 has been marked as a duplicate of this issue. ***
Comment 9 _ potingwu 2007-06-22 17:36:48 UTC
*** Issue 107845 has been marked as a duplicate of this issue. ***
Comment 10 Lukas Jungmann 2007-06-22 21:39:55 UTC
*** Issue 107893 has been marked as a duplicate of this issue. ***
Comment 11 _ rkubacki 2007-06-27 16:43:06 UTC
Most of reports are not giving us enough details. Can we get the input if one of following is case?

There is one problem: j.a.Desktop.browse() not working on KDE
(http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6486393). I suggest to disable this browser integration if
'sun.desktop' system property is not set.

Another one is http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6490730 caused probably by wrong configuration of
GNOME.  This can be common on Solaris. Can reporters check if 'gconftool-s --all-entries
/desktop/gnome/url-handlers/http' dumps correct configuration? It means it is enabled and refers to a real browser that
can be executed. If this is wrong then there is a problem in basic desktop configuration and it is not NetBeans fault.
We may want more reliable support in JDK and do not want to give up of this integration generally IMO.
Comment 12 Tomasz Slota 2007-07-09 14:35:28 UTC
*** Issue 105938 has been marked as a duplicate of this issue. ***
Comment 13 novakm 2007-07-11 14:38:55 UTC
*** Issue 109296 has been marked as a duplicate of this issue. ***
Comment 14 Petr Chytil 2007-07-11 14:58:43 UTC
I've found similar issue on Windows Vista today. I've filed it as Issue 109362 . It may be somehow related to this one. 
Comment 15 Tomasz Slota 2007-07-25 12:46:20 UTC
*** Issue 108688 has been marked as a duplicate of this issue. ***
Comment 16 Tomasz Slota 2007-07-25 13:00:56 UTC
This issue is also known to crash the JVM, see issue #108688. We will probably stop using Desktop.browse() in beta1, I am waiting for the final feedback from 
the JDK team.
Comment 17 Tomasz Slota 2007-08-06 10:32:30 UTC
Fixed by disabling calls to Desktop.browse() (unless "org.netbeans.modules.extbrowser.UseDesktopBrowse" system property is explicitly set).

/cvs/extbrowser/src/org/netbeans/modules/extbrowser/SystemDefaultBrowser.java,v  <--  SystemDefaultBrowser.java
new revision: 1.13; previous revision: 1.12
Comment 18 _ rkubacki 2007-08-06 13:51:44 UTC
/shared/data/ccvs/repository/extbrowser/arch/arch-extbrowser.xml,v  <--  arch-extbrowser.xml
new revision: 1.8; previous revision: 1.7
Comment 19 Tomasz Slota 2007-08-17 13:20:14 UTC
*** Issue 112677 has been marked as a duplicate of this issue. ***
Comment 20 Marian Mirilovic 2011-06-09 09:56:05 UTC
v/c