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 149327 - [MAC] Projects do not run
Summary: [MAC] Projects do not run
Status: VERIFIED FIXED
Alias: None
Product: javafx
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 6.x
Hardware: Macintosh All
: P1 blocker (vote)
Assignee: Andrey Yamkovoy
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-07 08:52 UTC by Alexandr Scherbatiy
Modified: 2011-10-19 12:04 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandr Scherbatiy 2008-10-07 08:52:39 UTC
JavaFX_NB_Plugin_NB65_daily:  #288  2008-10-07_02-01-58.zip
  Product Version         = NetBeans IDE Dev (Build 200809251401)
  Operating System        = Mac OS X version 10.5.5 running on i386
  Java; VM; Vendor        = 1.5.0_13; Java HotSpot(TM) Client VM 1.5.0_13-119; Apple Inc.


Steps to reproduce:

- Create a JavaFX Script project
- Drag and drop a Stage component from the Palette to the Main file
- Run the project

init:
deps-jar:
/Users/javafx/NetBeansProjects/temp/01/JavaFXApplication3/nbproject/build-impl.xml:124: Execute failed: java.io.IOException: 
/Users/javafx/.netbeans/dev/javafx-sdk1.0dev/bin/javafxpackager: cannot execute
BUILD FAILED (total time: 0 seconds)
Comment 1 Alexandr Scherbatiy 2008-10-07 08:54:35 UTC
> cd javafx-sdk1.0dev/bin
> ls -l
total 32
-rw-r--r--  1 javafx  staff  3225 Oct  7 08:48 javafx
-rw-r--r--  1 javafx  staff  3308 Oct  7 08:48 javafxc
-rw-r--r--  1 javafx  staff  3465 Oct  7 08:48 javafxdoc
-rw-r--r--  1 javafx  staff  1295 Oct  7 08:48 javafxpackager

The files do not have execute permissions.
Comment 2 Alexandr Scherbatiy 2008-10-07 08:56:00 UTC
> chmod a+x *
> ls -l
total 32
-rwxr-xr-x  1 javafx  staff  3225 Oct  7 08:48 javafx
-rwxr-xr-x  1 javafx  staff  3308 Oct  7 08:48 javafxc
-rwxr-xr-x  1 javafx  staff  3465 Oct  7 08:48 javafxdoc
-rwxr-xr-x  1 javafx  staff  1295 Oct  7 08:48 javafxpackager

- Run the JavaFX Script project

init:
deps-jar:
using profile: DESKTOP
Java compilation
nothing to compile
JavaFX compilation
executing commandline: [/Users/javafx/.netbeans/dev/javafx-sdk1.0dev/bin/../bin/javafxc, -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:;, -d, /Users/javafx/NetBeansProjects/temp/01/JavaFXApplication3/build/compiled, 
@/Users/javafx/NetBeansProjects/temp/01/JavaFXApplication3/build/javafxc7141sources]
copying: src into: /Users/javafx/NetBeansProjects/temp/01/JavaFXApplication3/build/compiled using filter: RESOURCES
copying: src/javafxapplication3 into: /Users/javafx/NetBeansProjects/temp/01/JavaFXApplication3/build/compiled/javafxapplication3 using filter: 
RESOURCES
copying runtime libraris
repackaging libraries
Pack200 compression: ; into: /Users/javafx/NetBeansProjects/temp/01/JavaFXApplication3/build/lib/;.pack
Exception in thread "main" java.util.zip.ZipException: No such file or directory
        at java.util.zip.ZipFile.open(Native Method)
        at java.util.zip.ZipFile.<init>(ZipFile.java:203)
        at java.util.jar.JarFile.<init>(JarFile.java:132)
        at java.util.jar.JarFile.<init>(JarFile.java:97)
        at com.sun.tools.javafx.packager.Main.repackLibs(Main.java:524)
        at com.sun.tools.javafx.packager.Main.execute(Main.java:824)
        at com.sun.tools.javafx.packager.Main.main(Main.java:154)
/Users/javafx/NetBeansProjects/temp/01/JavaFXApplication3/nbproject/build-impl.xml:124: exec returned: 1
BUILD FAILED (total time: 1 second)

Comment 3 Alexey Butenko 2008-10-07 12:35:33 UTC
Adam, when you are planning to commit your changes? 
Right now I'm blocked by this issue, because I'm not able to Run & Debug JavaFX Applications
on Mac and Ubuntu.
Comment 4 Adam Sotona 2008-10-07 14:29:41 UTC
I've fixed path parsing in javafxpackager in SDK.
Please check it in the next SDK build.
Comment 5 Alexandr Scherbatiy 2008-10-08 09:43:43 UTC
Path parsing in javafxpackager is fixed.
There is a separation issue 149466 about SDK files access.
Comment 6 David Strupl 2011-10-19 12:04:58 UTC
Cleaning bugzilla categories ....