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.
Created attachment 145013 [details] Console error screenshot [ Build 201401141042 ] [ Java: 1.7.0_51 ] [ Windows XP SP3 x86 ] Product Version: NetBeans IDE 8.0 Beta (Build 201401141042) Java: 1.7.0_51; Java HotSpot(TM) Client VM 24.51-b03 Runtime: Java(TM) SE Runtime Environment 1.7.0_51-b13 System: Windows XP version 5.1 running on x86; Cp1251; ru_RU (nb) [ I'm using Russian versions of NetBeans and Windows. ] STEPS: 1. Create a new Java FX application. 2. In "Projects" view, select the root node of the previously created JavaFX project. 3. Expand the toolbar combobox and select "Run in Browser" configuration. 4. Run the project. ACTUAL: I've got an error, that default browser selection isn't recognisable (see attachment). The path to default browser is valid (see another attachment). "Run in browser" option is working ONLY when I manually choose particular browser in options (Chrome for example). EXPECTED: Default browser is started with the application applet.
Created attachment 145014 [details] System browser path
I can't reproduce this issue on the latest dev build, JDK 7u51, Win7 x64. Therefore closing as worksforme. Please try it once again with latest dev build and clean user directory. Then after you create a new JavaFX project, look in <project_dir>/nbproject/private/private.properties file and find property "javafx.run.inbrowser.path". As a value there should be valid path to your system default browser. Thanks!
(In reply to Roman Svitanic from comment #2) > I can't reproduce this issue on the latest dev build, JDK 7u51, Win7 x64. > Therefore closing as worksforme. > > Please try it once again with latest dev build and clean user directory. > Then after you create a new JavaFX project, look in > <project_dir>/nbproject/private/private.properties file and find property > "javafx.run.inbrowser.path". As a value there should be valid path to your > system default browser. > > Thanks! Roman, how exactly should I open this private.properties file?
(In reply to SIvakin from comment #3) > Roman, how exactly should I open this private.properties file? Go to files tab or press CTRL+2 (key 2 in the first row under F-keys, not in numeric part of keyboard). And there expand your project. Navigate to nbproject/private/private.properties and double-click on that file.
(In reply to Roman Svitanic from comment #4) > (In reply to SIvakin from comment #3) > > Roman, how exactly should I open this private.properties file? > > Go to files tab or press CTRL+2 (key 2 in the first row under F-keys, not in > numeric part of keyboard). And there expand your project. Navigate to > nbproject/private/private.properties and double-click on that file. Roman, I'm so sorry for taking your time! With the latest (today's) build it works just fine and I can see the path to default browser in these private.properties file (I couldn't see it on previous version that was installed on my PC). Thanks!
NetBeans 8.0 RCS build showed kind of the same problem. When I choose "Run in browser" configuration from combobox (as in "Steps") - it's not working. When I go to Properties>Run>Run in browser - it works! Environment: Product Version: NetBeans IDE 8.0 (Build 201403052200) Java: 1.7.0_51; Java HotSpot(TM) Client VM 24.51-b03 Runtime: Java(TM) SE Runtime Environment 1.7.0_51-b13 System: Windows XP version 5.1 running on x86; Cp1251; ru_RU (nb) [ I'm using Russian versions of NetBeans and Windows. ] STEPS: 1. Create a new Java FX application. 2. In "Projects" view, select the root node of the previously created JavaFX project. 3. Expand the toolbar combobox and select "Run in Browser" configuration. 4. Run the project. ACTUAL: I've got an error, that default browser selection isn't recognisable (see attachment). EXPECTED: Default browser is started with the application applet. Private properties file: auxiliary.org-netbeans-modules-projectapi.issue214819_5f_fx_5f_enabled=true compile.on.save=true do.depend=false do.jar=true # Нет необходимости в изменении этого свойства до настройки инфраструктуры задачи JavaFX Ant endorsed.javafx.ant.classpath=. javac.debug=true javadoc.preview=true javafx.run.as=embedded javafx.run.inbrowser=<Браузер системы по умолчанию> javafx.run.inbrowser.path=C:\\Documents and Settings\\GOODFELLA\\Local Settings\\Application Data\\Google\\Chrome\\Application\\chrome.exe user.properties.file=C:\\Documents and Settings\\GOODFELLA\\Application Data\\NetBeans\\8.0\\build.properties
I have the same or similar error using: Product Version = NetBeans IDE 8.0 (Build 201403052200) Operating System = Linux version 3.2.0-59-generic running on amd64 Java; VM; Vendor = 1.8.0 Runtime = Java HotSpot(TM) 64-Bit Server VM 25.0-b70
When this issue occurs, could you please verify value of the property "javafx.run.inbrowser.path" in <project_dir>/nbproject/private/private.properties? And also right-click on the project node in "Projects" view and select "Generate Javadoc" action. Does javadoc open in the default browser?
1. This is strange, but now I can't see this properties at all. Previous time you told me to do that - I saw many properties in that file. Now it's only: "auxiliary.org-netbeans-modules-projectapi.issue214819_5f_fx_5f_enabled=true # Нет необходимости в изменении этого свойства до настройки инфраструктуры задачи JavaFX Ant endorsed.javafx.ant.classpath=. user.properties.file=C:\\Documents and Settings\\GOODFELLA\\Application Data\\NetBeans\\8.0\\build.properties " 2. Yes, javadoc opens in the default browser. (In reply to Roman Svitanic from comment #8) > When this issue occurs, could you please verify value of the property > "javafx.run.inbrowser.path" in > <project_dir>/nbproject/private/private.properties? And also right-click on > the project node in "Projects" view and select "Generate Javadoc" action. > Does javadoc open in the default browser?
1. In <project_dir>/nbproject/private/private.properties auxiliary.org-netbeans-modules-projectapi.issue214819_5f_fx_5f_enabled=true # No need to modify this property unless customizing JavaFX Ant task infrastructure endorsed.javafx.ant.classpath=. user.properties.file=/home/ldasaro/.netbeans/8.0/build.properties 2. Yes javadoc opens in default browser. NetBeans IDE 8.0 (Build 201403052200) Java: 1.8.0; Java HotSpot(TM) 64-Bit Server VM 25.0-b70 Runtime: Java(TM) SE Runtime Environment 1.8.0-b132 System: Ubuntu 12.04 (Linux version 3.2.0-59-generic running on amd64)
Testing on NetBeans 8.1 Beta verifies that this anomaly no longer occurs, at least for me... Marking as Fixed.
Verified FIXED using: Product Version: NetBeans IDE 8.1 RC2 (Build 201510122201) Java: 1.8.0_66-ea; Java HotSpot(TM) Client VM 25.66-b02 Runtime: Java(TM) SE Runtime Environment 1.8.0_66-ea-b02 System: Windows 8.1 version 6.3 running on x86; Cp1252; en_US (nb)