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.
JavaFX_NB_Plugin_NB65_daily: #291 Product Version = NetBeans IDE Dev (Build 200809151401) Operating System = Windows XP version 5.1 running on x86 Java; VM; Vendor = 1.5.0_09; Java HotSpot(TM) Client VM 1.5.0_09-b03; Sun Microsystems Inc. Steps to reproduce: - Create a JavaFX Script project - Create a Stage - Go to Project properties - Select Run-> Run in Browser - Run the project The sample is not shown in the Browser.
From time to time it works on Windows. It never works on Mac OS. Safari always shows nothing.
Please attach verbose log from Ant. You should see there a command line that starts the browser, please try to execute the same command line outside NetBeans.
Created attachment 71834 [details] Verbose log from Ant
Detected Java version: 1.5 in: /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home Detected OS: Mac OS X Build sequence for target(s) `run' is [-pre-init, -init-private, -init-user, -init-project, -do-init, -post-init, -init-check, init, deps-jar, -pre-compile, - do-compile, -post-compile, compile, jar, standard-run, browser-run, jws-run, midp-run, run] Complete build sequence is [-pre-init, -init-private, -init-user, -init-project, -do-init, -post-init, -init-check, init, deps-jar, -pre-compile, -do- compile, -post-compile, compile, jar, standard-run, browser-run, jws-run, midp-run, run, -javadoc-build, -javadoc-browse, javadoc, JavaFXApplication2-impl.-javadoc-browse, -debug-start-debuggee, JavaFXApplication2-impl.-init-project, JavaFXApplication2-impl.-debug-start- debugger, JavaFXApplication2-impl.-do-clean, JavaFXApplication2-impl.deps-clean, JavaFXApplication2-impl.-javadoc-build, JavaFXApplication2-impl.- pre-compile, -do-clean, default, JavaFXApplication2-impl.-debug-start-debuggee, JavaFXApplication2-impl.-debug-start-debugger-stepinto, JavaFXApplication2-impl.init, -debug-start-debugger-stepinto, -debug-javaws-debuggee, -debug-midp-debuggee, debug-stepinto, JavaFXApplication2-impl.run, JavaFXApplication2-impl.-do-init, JavaFXApplication2-impl.browser-run, -post-clean, JavaFXApplication2-impl.javadoc, JavaFXApplication2-impl.midp-run, JavaFXApplication2-impl.-init-user, -debug-start-debugger, debug, JavaFXApplication2-impl.-debug-javaws- debuggee, JavaFXApplication2-impl.deps-jar, JavaFXApplication2-impl.-post-compile, JavaFXApplication2-impl.jws-run, JavaFXApplication2-impl.-post- clean, JavaFXApplication2-impl.-do-compile, JavaFXApplication2-impl.compile, JavaFXApplication2-impl.-init-private, JavaFXApplication2-impl.debug, JavaFXApplication2-impl.standard-run, JavaFXApplication2-impl.default, JavaFXApplication2-impl.-init-check, deps-clean, clean, JavaFXApplication2- impl.-debug-midp-debuggee, JavaFXApplication2-impl.jar, JavaFXApplication2-impl.-pre-init, JavaFXApplication2-impl.-post-init, JavaFXApplication2- impl.debug-stepinto, JavaFXApplication2-impl.clean, ] -pre-init: -init-private: creating macro http://www.netbeans.org/ns/javafx-project/1:property Loading /Users/javafx/NetBeansProjects/temp/01/02/JavaFXApplication2/nbproject/private/config.properties Property "config" has not been set Loading /Users/javafx/NetBeansProjects/temp/01/02/JavaFXApplication2/nbproject/private/configs/${config}.properties Unable to find property file: /Users/javafx/NetBeansProjects/temp/01/02/JavaFXApplication2/nbproject/private/configs/${config}.properties Loading /Users/javafx/NetBeansProjects/temp/01/02/JavaFXApplication2/nbproject/private/private.properties -init-user: Loading /Users/javafx/.netbeans/dev/build.properties Property "j2ee.platform.classpath" has not been set -init-project: Property "config" has not been set Loading /Users/javafx/NetBeansProjects/temp/01/02/JavaFXApplication2/nbproject/configs/${config}.properties Unable to find property file: /Users/javafx/NetBeansProjects/temp/01/02/JavaFXApplication2/nbproject/configs/${config}.properties Loading /Users/javafx/NetBeansProjects/temp/01/02/JavaFXApplication2/nbproject/project.properties Property "build.classes.dir" has not been set Property "build.classes.dir" has not been set Property "build.classes.dir" has not been set -do-init: Property "platforms.default_fx_platform.javadoc" has not been set Property "platform.home" has not been set Override ignored for property "platform.javadoc" Property "no.dependencies" has not been set Override ignored for property "javadoc.preview" Override ignored for property "source.encoding" Override ignored for property "javafx.profile" -post-init: -init-check: init: deps-jar: -pre-compile: -do-compile: Current OS is Mac OS X Executing '/Users/javafx/.netbeans/dev/javafx-sdk1.0dev/bin/javafxpackager' with arguments: '-src' 'src' '-workdir' '/Users/javafx/NetBeansProjects/temp/01/02/JavaFXApplication2/build' '-d' '/Users/javafx/NetBeansProjects/temp/01/02/JavaFXApplication2/dist' '-appname' 'JavaFXApplication2' '-appvendor' 'javafx' '-appwidth' '200' '-appheight' '200' '-appclass' 'javafxapplication2.Main' '-p' 'desktop' '-v' '' '' '-cp' '' The ' characters around the executable and arguments are not part of the command. using profile: DESKTOP Java compilation nothing to compile JavaFX compilation executing commandline: [/Users/javafx/.netbeans/dev/javafx-sdk1.0dev/bin/../bin/javafxc, -target, 1.5, - Xbootclasspath/p:/Users/javafx/.netbeans/dev/javafx-sdk1.0dev/bin/../lib/shared/javafxc.jar;/Users/javafx/.netbeans/dev/javafx- sdk1.0dev/bin/../lib/shared/javafxrt.jar, -classpath, /Users/javafx/.netbeans/dev/javafx-sdk1.0dev/bin/../lib/desktop/Decora-D3D- Native.jar;/Users/javafx/.netbeans/dev/javafx-sdk1.0dev/bin/../lib/desktop/Decora-D3D.jar;/Users/javafx/.netbeans/dev/javafx- sdk1.0dev/bin/../lib/desktop/Decora-HW.jar;/Users/javafx/.netbeans/dev/javafx-sdk1.0dev/bin/../lib/desktop/Decora- OGL.jar;/Users/javafx/.netbeans/dev/javafx-sdk1.0dev/bin/../lib/desktop/Scenario.jar;/Users/javafx/.netbeans/dev/javafx- sdk1.0dev/bin/../lib/desktop/gluegen-rt.jar;/Users/javafx/.netbeans/dev/javafx-sdk1.0dev/bin/../lib/desktop/javafx- swing.jar;/Users/javafx/.netbeans/dev/javafx-sdk1.0dev/bin/../lib/desktop/javafxgui.jar;/Users/javafx/.netbeans/dev/javafx- sdk1.0dev/bin/../lib/desktop/jmc.jar;/Users/javafx/.netbeans/dev/javafx-sdk1.0dev/bin/../lib/desktop/jogl.jar;/Users/javafx/.netbeans/dev/javafx- sdk1.0dev/bin/../lib/desktop/websvc.jar::/Users/javafx/NetBeansProjects/temp/01/02/JavaFXApplication2/build/compiled, -d, /Users/javafx/NetBeansProjects/temp/01/02/JavaFXApplication2/build/compiled, @/Users/javafx/NetBeansProjects/temp/01/02/JavaFXApplication2/build/javafxc9701sources] copying: src into: /Users/javafx/NetBeansProjects/temp/01/02/JavaFXApplication2/build/compiled using filter: RESOURCES copying: src/javafxapplication2 into: /Users/javafx/NetBeansProjects/temp/01/02/JavaFXApplication2/build/compiled/javafxapplication2 using filter: RESOURCES copying runtime libraris repackaging libraries Could not open library: signing libraries Pack200 & gzip compression of libraries application Jar packaging application Pack200 compression application Pack200 decompression generating temporary keystore for self-signing executing commandline: [/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/keytool, -genkey, -keystore, /Users/javafx/NetBeansProjects/temp/01/02/JavaFXApplication2/build/.keystore, -storepass, password, -alias, key1, -keypass, password, -dname, CN=javafx] signing Jar: /Users/javafx/NetBeansProjects/temp/01/02/JavaFXApplication2/dist/JavaFXApplication2.jar executing commandline: [/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/jarsigner, -keystore, /Users/javafx/NetBeansProjects/temp/01/02/JavaFXApplication2/build/.keystore, -storepass, password, -keypass, password, /Users/javafx/NetBeansProjects/temp/01/02/JavaFXApplication2/dist/JavaFXApplication2.jar, key1] Warning: The signer certificate will expire within six months. Pack200 & gzip compression of jar: /Users/javafx/NetBeansProjects/temp/01/02/JavaFXApplication2/dist/JavaFXApplication2.jar generating JNLP launcher generating JNLP launcher generating HTML applet page -post-compile: compile: jar: standard-run: Skipped because property 'standard.execution.trigger' not set. browser-run: Override ignored for property "browser" Current OS is Mac OS X Executing 'open' with arguments: '' '/Users/javafx/NetBeansProjects/temp/01/02/JavaFXApplication2/dist/JavaFXApplication2.html' The ' characters around the executable and arguments are not part of the command. spawned process java.lang.UNIXProcess@9a5fda jws-run: Skipped because property 'jnlp.execution.trigger' not set. midp-run: Skipped because property 'midp.execution.trigger' not set. run: BUILD SUCCESSFUL (total time: 2 seconds)
is this still an issue? It works for me in both FF 3.0 and Safari on MacOS/X 10.5.5. However, when running the app from NetBeans, it opens up the project folder in browser, not the html file.
Yes. The issue is that selecting Run in Browser platform and running the project does not open applet in browser.
This issue is no longer reproducible. We now see: http://www.netbeans.org/issues/show_bug.cgi?id=150755
Product Version: NetBeans IDE 6.5 RC1 (Build 200810171318) Java: 1.5.0_13; Java HotSpot(TM) Client VM 1.5.0_13-119 System: Mac OS X version 10.5.4 running on i386; MacRoman; en_US (nb) Promoted Installer build 13 - contains SDK 43 (Oct 24, 2008 4:06:31 AM) The application is opened. It doesn't work, but it opens.