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.
Summary: | JavaFX NetBeans promoted installer can not be launched | ||
---|---|---|---|
Product: | javafx | Reporter: | mhuang <mhuang> |
Component: | Unsupported | Assignee: | dlipin <dlipin> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | sunflower |
Priority: | P1 | Keywords: | REGRESSION |
Version: | 6.x | ||
Hardware: | Macintosh | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
mhuang
2008-12-14 08:37:26 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
The workaround is removing the NB userdir under administrator before the NB launching.
> sudo rm -rf .netbeans/6.5
Hi, That should be fixed in the recent build (starting with 62). Dmitry verified in JavaFX_NB_Plugin_NB65_promoted_installer: #62 14-Dec-2008 19:48:26 |