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 149468 - [Mac] Run in Browser does not work
Summary: [Mac] Run in Browser does not work
Status: VERIFIED WORKSFORME
Alias: None
Product: javafx
Classification: Unclassified
Component: Deployment (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Adam Sotona
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-08 10:02 UTC by Alexandr Scherbatiy
Modified: 2008-10-24 16:09 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Verbose log from Ant (75.21 KB, text/plain)
2008-10-15 10:07 UTC, Alexandr Scherbatiy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandr Scherbatiy 2008-10-08 10:02:29 UTC
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.
Comment 1 Alexandr Scherbatiy 2008-10-08 10:09:24 UTC
From time to time it works on Windows.
It never works on Mac OS. Safari always shows nothing.
Comment 2 Adam Sotona 2008-10-13 12:32:17 UTC
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.
Comment 3 Alexandr Scherbatiy 2008-10-15 10:07:45 UTC
Created attachment 71834 [details]
Verbose log from Ant
Comment 4 Alexandr Scherbatiy 2008-10-15 10:12:58 UTC
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)

Comment 5 Martin Ryzl 2008-10-15 17:24:27 UTC
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.
Comment 6 Alexandr Scherbatiy 2008-10-16 09:42:31 UTC
Yes. The issue is that selecting Run in Browser platform and running
the project does not open applet in browser.

Comment 7 Lark Fitzgerald 2008-10-20 18:24:33 UTC
This issue is no longer reproducible.  We now see: http://www.netbeans.org/issues/show_bug.cgi?id=150755
Comment 8 Lark Fitzgerald 2008-10-24 16:09:15 UTC
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.