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 77058 - IDE completly crasehes after doubleclick on "Quickstart guides" (on JDK 1.6)
Summary: IDE completly crasehes after doubleclick on "Quickstart guides" (on JDK 1.6)
Status: CLOSED WONTFIX
Alias: None
Product: ide
Classification: Unclassified
Component: Extbrowser (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: Tomasz Slota
URL: http://bugs.sun.com/bugdatabase/view_...
Keywords: JDK_SPECIFIC
Depends on:
Blocks:
 
Reported: 2006-05-30 10:30 UTC by Tomas Danek
Modified: 2011-06-09 09:55 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
log (11.02 KB, text/plain)
2006-05-30 10:30 UTC, Tomas Danek
Details
JDK log file (10.72 KB, text/plain)
2006-05-30 13:23 UTC, Jaromir Uhrik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Danek 2006-05-30 10:30:16 UTC
NetBeans IDE Dev (Build 200605281800)
1.6.0-beta2; Java HotSpot(TM) Client VM 1.6.0-beta2-b85
Windows XP version 5.1 running on x86
en_US (nb); Cp1252

100% reproducible on my machine with configuration above. Note this could not be
reproduced on 1.5 JDK

1) Start IDE with clear userdir
2) Double click on "Quickstart guides" on welcome page
3) IDE comlpetly crashes (or better to say JVM), log is created into
$netbeans_dir/bin (attached)
Comment 1 Tomas Danek 2006-05-30 10:30:49 UTC
Created attachment 30656 [details]
log
Comment 2 Marian Mirilovic 2006-05-30 10:38:14 UTC
TOmas, 
could you please try this on the same system with previous build of JDK 6.0 ?
Thanks in advance.
Comment 3 Marian Mirilovic 2006-05-30 10:59:34 UTC
Well, it works for me :

NetBeans IDE Dev (Build 200605281800)
1.6.0-beta2; Java HotSpot(TM) Client VM 1.6.0-beta2-b85
Linux version 2.6.12-10-686 running on i386
en_US (nb); UTF-8

so windows specific ? ...

Tomas,m what is your default Web browser ? 
Comment 4 Tomas Danek 2006-05-30 11:36:16 UTC
First i reproduced it with old b82. Then i reinstalled and reproduced on (i
think) latest b85. Seems like windows specific.
Comment 5 Tomas Danek 2006-05-30 11:37:54 UTC
Oh, and web browser: Firefox 1.0.5
Comment 6 Tomas Danek 2006-05-30 12:08:34 UTC
I've investigated it little more and I found this:
By default is in NetBeans chosen "default system browser" (that is Firefox 1.0.5
on my system). But if i switch in Tools|Options web browser from "default system
browser" directly to firefox, i cannot reproduce any more.

So this happens to me if and only if "default system browser" is set.
Comment 7 Stanislav Aubrecht 2006-05-30 12:13:21 UTC
works fine for me - nb dev build, jdk 1.6 b81 & b85, firefox 1.5.0.3, win xp

(works with and without web browser selection in nb options)
Comment 8 Jaromir Uhrik 2006-05-30 13:21:59 UTC
NetBeans IDE Dev (Build 200605281800)
1.6.0-beta2; Java HotSpot(TM) Client VM 1.6.0-beta2-b85
Windows XP version 5.1 running on x86
en_US (nb); Cp1252

100% reproducible on my win XP. Single click on "Quick Start Guides" causes jdk
crash.
Comment 9 Jaromir Uhrik 2006-05-30 13:23:13 UTC
Created attachment 30666 [details]
JDK log file
Comment 10 Tomas Danek 2006-05-31 14:29:44 UTC
the same happens to me also while generating javadoc:
try e.g.

1) create anagrams game
2) generate javadoc in anagrams game
3) ide crahses

seems like some problems with "default system browser", not exactly welcome page...
Comment 11 Stanislav Aubrecht 2006-06-08 16:12:23 UTC
i still can't reproduce this
Comment 12 Tomas Danek 2006-07-10 12:16:51 UTC
still reproducible for me in trunk, even after upgrade to b89 :-( i tried to
reproduce under same conditions in 5.5 but failed.
Comment 13 Jaromir Uhrik 2006-08-02 15:59:00 UTC
I am still able to reproduce it in following build:
NetBeans IDE Dev (Build 200608011800)
1.5.0_07; Java HotSpot(TM) Client VM 1.5.0_07-b02
Windows XP version 5.1 running on x86
en_US (nb); Cp1252
Comment 14 Jaromir Uhrik 2006-08-02 16:43:48 UTC
I installed the latest 1.6.0-rc-b93 and run IDE Dev (Build 200608011800) with
clear userdir. I got the same crash again.
Comment 15 Stanislav Aubrecht 2006-08-02 17:10:23 UTC
problem with browser integration - reassigning

(also see this jdk bug: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6385002)
Comment 16 Tomasz Slota 2006-08-07 09:49:52 UTC
For your information: the 'extbrowser' module is maintained by the J2EE team, which is currently focusing 
on the 5.5 release delivery. Once it is ready all the changes will be merged with trunk. Since this problem 
is not reproducible on the 'release55' branch we won't put much effort in fixing it at this stage.

Currently we are not using 'Desktop.browse()' except on a private branch, so this problem is not likely to 
be related to http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6385002. It is probably caused by 
illegal operation in a native library.
Comment 17 _ rkubacki 2006-08-07 10:56:30 UTC
Please run your IDE with
-J-Dorg.netbeans.modules.extbrowser.SystemDefaultBrowser.level=500

This will tell is if this is really duplicate of mentioned bug in JDK. If it is
we can probably add some workaround. (And increase priority of JDK bug.) I
confusee Tomasz a bit - we use Desktop in trunk if we run on mustang and it is
supported.
Comment 18 Tomas Danek 2006-08-07 11:23:55 UTC
reproducible in

NetBeans IDE Dev (Build 200608061800)
1.6.0-rc; Java HotSpot(TM) Client VM 1.6.0-rc-b89
Windows XP version 5.1 running on x86
en_US (nb); Cp1252

after running 
nb -J-Dorg.netbeans.modules.extbrowser.SystemDefaultBrowser.level=500

Comment 19 Tomasz Slota 2006-08-07 11:39:07 UTC
Anyway, that JDK bug is not known to cause a JVM crash, it's just about IOException
Comment 20 _ rkubacki 2006-08-07 12:11:28 UTC
To musilt2: can you attach ide.log now is there is logging info from extbrowser
module?
Comment 21 Tomas Danek 2006-08-07 12:19:28 UTC
nothing usefull directly in log file, but here's output from console:

FINE [org.netbeans.modules.extbrowser.SystemDefaultBrowser]: java.awt.Desktop
found, isDesktopSupported returned true
FINE [org.netbeans.modules.extbrowser.SystemDefaultBrowser]: java.awt.Desktop
found, isSupported(Action.BROWSE) returned true
FINE [org.netbeans.modules.extbrowser.SystemDefaultBrowser]:
java.awt.Desktop.browse support
FINE [org.netbeans.modules.extbrowser.SystemDefaultBrowser]: Calling
java.awt.Desktop.browse(file:/C:/Sw/NetBeans%206.0%20M2CAN/nb6.0/docs/quickstart_jump.html)

#
# An unexpected error has been detected by Java Runtime Environment:
#
#  EXCEPTION_FLT_STACK_CHECK (0xc0000092) at pc=0x0096cc69, pid=1988, tid=2800
#
# Java VM: Java HotSpot(TM) Client VM (1.6.0-rc-b89 mixed mode, sharing)
# Problematic frame:
# v  ~RuntimeStub::ic_miss_stub
#
# An error report file with more information is saved as hs_err_pid1988.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
Comment 22 Tomas Danek 2006-08-07 15:22:18 UTC
filed a jdk bug #6457572
Comment 23 Tomasz Slota 2006-08-07 16:36:13 UTC
There is no bug of such number in JVM nor NB bug databases, could you please provide a valid URL?
Comment 24 Tomasz Slota 2006-09-12 09:17:14 UTC
The URL for JVM bug in public bug database is:

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6457572


The fix is already available, pending to be back-ported from Dolphin (JVM 7)
Comment 25 Marian Mirilovic 2006-09-12 09:25:11 UTC
JDK bug -> wontfix
Comment 26 Marian Mirilovic 2011-06-09 09:55:57 UTC
v/c