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 155425 - JavaFX NetBeans promoted installer can not be launched
Summary: JavaFX NetBeans promoted installer can not be launched
Status: VERIFIED FIXED
Alias: None
Product: javafx
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 6.x
Hardware: Macintosh All
: P1 blocker (vote)
Assignee: dlipin
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2008-12-14 08:37 UTC by mhuang
Modified: 2009-01-12 13:08 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 mhuang 2008-12-14 08:37:26 UTC
Install NB promoted installer #60 on Mac 10.4.11 and 10.5.5.
After installation, launch NetBeans failed. 
At the beginning, NetBeans icon is jumping from the deck for a few times, and then disappears.

We need to test JavaFX samples (SDK 1.0.1 b02) using the NetBeans (which has SDK 1.0.1 b02 bundled).
Please fix this problem A.S.A.P.
Comment 1 Alexandr Scherbatiy 2008-12-14 11:48:55 UTC
Dmitry Lipin wrote:
> Hi,
> 
> Yep, there is an issue with permissions. The thing is that installation 
> is done under one user (say, root or admin) and further work is done 
> under normal user.
> The real issue is that during installations some files/directories are 
> created and thus owned by the root user only that`s why we got different 
> exceptions on NB startup.
> 
> Dmitry

Below is the exception that ./bin/netbeans file throws after executing.
Dima  is investigating the issue.

java.io.FileNotFoundException: /Users/javafx/.netbeans/6.5/var/cache/lastModified/all-checksum.txt (No such file or
directory)
    at java.io.FileOutputStream.open(Native Method)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
    at org.netbeans.Stamps.compareAndUpdateFile(Stamps.java:415)
    at org.netbeans.Stamps.stamp(Stamps.java:322)
    at org.netbeans.Stamps.moduleJARs(Stamps.java:285)
    at org.netbeans.Stamps.lastModified(Stamps.java:108)
    at org.netbeans.Archive.<init>(Archive.java:111)
    at org.netbeans.JarClassLoader.initializeCache(JarClassLoader.java:93)
    at org.netbeans.MainImpl$BootClassLoader.run(MainImpl.java:299)
    at org.netbeans.CLIHandler.initialize(CLIHandler.java:495)
    at org.netbeans.CLIHandler.initialize(CLIHandler.java:346)
    at org.netbeans.MainImpl.execute(MainImpl.java:195)
    at org.netbeans.MainImpl.main(MainImpl.java:76)
    at org.netbeans.Main.main(Main.java:75)
Dec 12, 2008 6:27:47 PM org.netbeans.Stamps discardCachesImpl
WARNING: Cannot create /Users/javafx/.netbeans/6.5/.lastModified
java.io.IOException: No such file or directory 
Comment 2 Alexandr Scherbatiy 2008-12-14 11:51:57 UTC
The workaround is removing the NB userdir under administrator before the NB launching.

> sudo rm -rf .netbeans/6.5
Comment 3 Adam Sotona 2008-12-15 09:47:32 UTC
Hi,

That should be fixed in the recent build (starting with 62).


Dmitry
Comment 4 Alexandr Scherbatiy 2008-12-15 11:22:02 UTC
verified in JavaFX_NB_Plugin_NB65_promoted_installer: #62 14-Dec-2008 19:48:26