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.
[ JDK VERSION : other ] STEPS: * Java SE 7 Update 55 * Start NetBeans IDE from Ubuntu user account ACTUAL: INFO [org.netbeans.modules.netbinox]: Install area set to file:/usr/local/netbeans-8.0/ !SESSION 2014-06-02 22:17:27.683 ----------------------------------------------- eclipse.buildId=unknown java.version=1.7.0_55 java.vendor=Oracle Corporation BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=de_DE !ENTRY org.eclipse.osgi 4 0 2014-06-02 22:17:27.684 !MESSAGE Error reading configuration: Keine Berechtigung !STACK 0 java.io.IOException: Keine Berechtigung at java.io.UnixFileSystem.createFileExclusively(Native Method) at java.io.File.createNewFile(File.java:1006) at java.io.File.createTempFile(File.java:1989) at org.eclipse.osgi.storagemanager.StorageManager.initializeInstanceFile(StorageMan ager.java:188) at org.eclipse.osgi.storagemanager.StorageManager.open(StorageManager.java:708) at org.eclipse.osgi.internal.baseadaptor.BaseStorage.initFileManager(BaseStorage.ja va:220) at org.eclipse.osgi.internal.baseadaptor.BaseStorage.initialize(BaseStorage.java:15 4) at org.eclipse.osgi.baseadaptor.BaseAdaptor.initializeStorage(BaseAdaptor.java:123) at org.eclipse.osgi.framework.internal.core.Framework.<init>(Framework.java:192) at org.eclipse.osgi.framework.internal.core.EquinoxLauncher.internalInit(EquinoxLau ncher.java:67) at org.eclipse.osgi.framework.internal.core.EquinoxLauncher.init(EquinoxLauncher.ja va:37) at org.eclipse.osgi.launch.Equinox.init(Equinox.java:178) at org.netbeans.modules.netbinox.Netbinox.init(Netbinox.java:84) at org.netbeans.core.netigso.Netigso.prepare(Netigso.java:167) at org.netbeans.NetigsoHandle.turnOn(NetigsoHandle.java:127) at org.netbeans.ModuleManager.enable(ModuleManager.java:1182) at org.netbeans.ModuleManager.enable(ModuleManager.java:1017) at org.netbeans.core.startup.ModuleList.installNew(ModuleList.java:340) at org.netbeans.core.startup.ModuleList.trigger(ModuleList.java:276) at org.netbeans.core.startup.ModuleSystem.restore(ModuleSystem.java:301) at org.netbeans.core.startup.Main.getModuleSystem(Main.java:181) at org.netbeans.core.startup.Main.getModuleSystem(Main.java:150) at org.netbeans.core.startup.Main.start(Main.java:307) at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:123) at java.lang.Thread.run(Thread.java:744) java.lang.RuntimeException: Keine Berechtigung at org.eclipse.osgi.framework.internal.core.Framework.<init>(Framework.java:194) at org.eclipse.osgi.framework.internal.core.EquinoxLauncher.internalInit(EquinoxLau ncher.java:67) at org.eclipse.osgi.framework.internal.core.EquinoxLauncher.init(EquinoxLauncher.ja va:37) at org.eclipse.osgi.launch.Equinox.init(Equinox.java:178) at org.netbeans.modules.netbinox.Netbinox.init(Netbinox.java:84) at org.netbeans.core.netigso.Netigso.prepare(Netigso.java:167) at org.netbeans.NetigsoHandle.turnOn(NetigsoHandle.java:127) at org.netbeans.ModuleManager.enable(ModuleManager.java:1182) at org.netbeans.ModuleManager.enable(ModuleManager.java:1017) at org.netbeans.core.startup.ModuleList.installNew(ModuleList.java:340) at org.netbeans.core.startup.ModuleList.trigger(ModuleList.java:276) at org.netbeans.core.startup.ModuleSystem.restore(ModuleSystem.java:301) at org.netbeans.core.startup.Main.getModuleSystem(Main.java:181) at org.netbeans.core.startup.Main.getModuleSystem(Main.java:150) at org.netbeans.core.startup.Main.start(Main.java:307) at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:123) at java.lang.Thread.run(Thread.java:744) Caused by: java.io.IOException: Keine Berechtigung at java.io.UnixFileSystem.createFileExclusively(Native Method) at java.io.File.createNewFile(File.java:1006) at java.io.File.createTempFile(File.java:1989) at org.eclipse.osgi.storagemanager.StorageManager.initializeInstanceFile(StorageMan ager.java:188) at org.eclipse.osgi.storagemanager.StorageManager.open(StorageManager.java:708) at org.eclipse.osgi.internal.baseadaptor.BaseStorage.initFileManager(BaseStorage.ja va:220) at org.eclipse.osgi.internal.baseadaptor.BaseStorage.initialize(BaseStorage.java:15 4) at org.eclipse.osgi.baseadaptor.BaseAdaptor.initializeStorage(BaseAdaptor.java:123) at org.eclipse.osgi.framework.internal.core.Framework.<init>(Framework.java:192) ... 16 more EXPECTED: Log message should provide path and file name where the permission is missing.
Is that an Ubuntu package install or how did you get Netbeans installed to /usr/local ?
I installed with: sudo ./netbeans-8.0-javase-linux.sh Thanks for your question and help offer, but on this bug I wanted to focus on the better information in the log in general. The installer issue, I'm trying to solve at NetCAT@netbeans.org.
Libor, the problem might be caused by the module system generated caches created by root (when installer run as root) and then accessed by the regular user. The user claims that the files in his cache folder are owned by root. How can that happen? If a regular user copies a file, the copy should owned by the regular user, not by the owner of the original file. ls -l /home/user/.cache/netbeans/8.0 insgesamt 29184 -rw-r--r-- 1 root root 196 Mai 27 01:42 all-clusters.dat -rw-r--r-- 1 root root 121598 Mai 27 01:42 all-files.dat -rw-r--r-- 1 root root 220872 Mai 27 01:42 all-installer.dat -rw-r--r-- 1 root root 1232622 Mai 27 01:42 all-layers.dat -rw-r--r-- 1 root root 0 Mai 27 01:42 all-local-layers.dat -rw-r--r-- 1 root root 983293 Mai 27 01:42 all-manifests.dat -rw-r--r-- 1 root root 448903 Mai 27 01:42 all-modules.dat -rw-r--r-- 1 root root 26647278 Mai 27 01:42 all-resources.dat drwxrwxr-x 3 user user 4096 Mai 27 00:16 catalogcache drwxrwxr-x 2 user user 4096 Mai 27 00:16 lastModified -rw-r--r-- 1 root root 33988 Mai 27 01:42 localeVariants drwxr-xr-x 5 root root 4096 Mai 27 01:43 netigso -rw-r--r-- 1 root root 32029 Mai 27 01:42 netigso-bundles -rw-r--r-- 1 root root 2 Mai 27 01:42 package-attrs.dat -rw-r--r-- 1 root root 120099 Mai 27 01:42 splash.png drwxrwxr-x 2 user user 4096 Mai 27 00:19 svncache drwxrwxr-x 3 user user 4096 Mai 27 00:16 welcome ls -l /home/user/.cache/netbeans/8.0/netigso insgesamt 12 drwxr-xr-x 3 root root 4096 Mai 27 01:43 org.eclipse.core.runtime drwxr-xr-x 3 root root 4096 Mai 27 01:43 org.eclipse.equinox.app drwxr-xr-x 4 root root 4096 Mai 27 01:43 org.eclipse.osgi
(In reply to Antonin Nebuzelsky from comment #3) > Libor, the problem might be caused by the module system generated caches > created by root (when installer run as root) ... Please treat installer problem at bug 244866. On this bug I wanted to focus on the better information in the log in general.
I agree with the idea that the log should provide more info. But don't consider it P3 bug. So decreasing priority to P4.