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.
Simply selecting "View" on the contextual menu of an HTML file make the IDE "disappear". No error is generated in the IDE log file or when running using nb.exe. Using Help->Tutorials->Quick Start Guide also 'kills' the IDE, but strangely enough, not Help->Tutorials->NetBeans Platform Tutorial Web Browser is set to <Default System Browser> which isn't set to anything in advanced options. Switching to Internet Explorer or Adding Firefox 2.0.0.4 fixes the problem. Please provide a better OOTB behavior.
FWIW, I was not able to reproduce this when using M10 on WinXP. Instead, nothing happens. In other words, I click the "View" context menu entry for an .html file and the menu goes away but the IDE continues to run just fine. So either this got fixed in M10 or there is an additional factor involved in reproducing the problem....
This is using the full-blown M10 install.
Hmmm.... that's what I was using as well: the full blown M10 install, using JDK6u1 on WinXP. Raising priority to a P2 since at least one person can make this happen on M10.
More background: I have Firefox as my default WindowsXP browser, but HTML is being opened with IE 7 (not sure how that happened...).
Reassigning to "html" for evaluation...
This is most likely a variation of issue 92306, but there were no previous reports on JVM crash. It could be of great help if people who can reproduce it run the IDE with -J-Dorg.netbeans.modules.extbrowser=-1 option and attached produced IDE log files to the issue.
Starting IDE with -J-Dorg.netbeans.modules.extbrowser=-1, with Web Browser set to <Default System Browser>, and select Help>Tutorials>Quick Start Guide produces the attached messages.log file (nothing obvious there it seems). There is no JVM crash apparently. Also, changing the Windows config to have .html and .htm files be opened with FF rather than IE doesn't help.
Created attachment 44924 [details] IDE log
-J-Dorg.netbeans.modules.extbrowser.level=200 should log the data after migration to Logging API. At least we want to find if java.awt.Desktop.browse() is used or not. If this is the case we can try to run small standalone testcase.
java.awt.Desktop.browse() is not called (diff shows no change in the log file).
There should be at least some logging with mentioned property. I do not understand what 'diff shows no change in the log file' means. Also it is not clear to me whether customized 'Firefox 2.settings' has some impact on results. It can be worth to try with clean userdir.
Sorry I messed up looking at the log files. Here's what should be relevant: FIN [org.netbeans.modules.extbrowser]: org.netbeans.modules.extbrowser.ExtWebBrowser 1184587992500> init FIN [org.netbeans.modules.extbrowser.SystemDefaultBrowser]: java.awt.Desktop found, isDesktopSupported returned true FIN [org.netbeans.modules.extbrowser.SystemDefaultBrowser]: java.awt.Desktop found, isSupported(Action.BROWSE) returned true FIN [org.netbeans.modules.extbrowser.SystemDefaultBrowser]: java.awt.Desktop.browse support FIN [org.netbeans.modules.extbrowser]: 1184587992546> NbDdeBrowser: static initializer: INFO [org.netbeans.modules.extbrowser]: Cannot detect Firefox : org.netbeans.modules.extbrowser.NbBrowserException: RegOpenKeyEx() failed for SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\FIREFOX.exe. INFO [org.netbeans.modules.extbrowser]: Cannot detect Mozilla : org.netbeans.modules.extbrowser.NbBrowserException: RegOpenKeyEx() failed for SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\MOZILLA.exe. INFO [org.netbeans.modules.extbrowser]: Cannot detect Netscape 7 : org.netbeans.modules.extbrowser.NbBrowserException: RegOpenKeyEx() failed for SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\NETSCP.exe. INFO [org.netbeans.modules.extbrowser]: Cannot detect Netscape 6 : org.netbeans.modules.extbrowser.NbBrowserException: RegOpenKeyEx() failed for SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\NETSCP6.exe. INFO [org.netbeans.modules.extbrowser]: Cannot detect Netscape 4 : org.netbeans.modules.extbrowser.NbBrowserException: RegOpenKeyEx() failed for SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\NETSCAPE.exe. This is all I get before the IDE 'exits' itself on choosing "Help > Tutorials > Quick Start Guide".
Yes, this is just another variation of issue 92306. *** This issue has been marked as a duplicate of 92306 ***
v/c