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 197248 - org.openide.filesystems.FSException: Folder org already exists in /home/ondra/.netbeans/dev/config (/home/ondra/.netbeans/dev/config/Preferences/org).
Summary: org.openide.filesystems.FSException: Folder org already exists in /home/ondra...
Status: RESOLVED WORKSFORME
Alias: None
Product: platform
Classification: Unclassified
Component: Options&Settings (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 normal (vote)
Assignee: Theofanis Oikonomou
URL:
Keywords:
: 199232 (view as bug list)
Depends on:
Blocks: 185135
  Show dependency tree
 
Reported: 2011-03-30 17:34 UTC by pekarna
Modified: 2012-12-13 11:47 UTC (History)
6 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 161471


Attachments
stacktrace (2.11 KB, text/plain)
2011-03-30 17:35 UTC, pekarna
Details
stacktrace (2.12 KB, text/plain)
2012-03-30 15:29 UTC, Max Sauer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pekarna 2011-03-30 17:34:58 UTC
Build: NetBeans IDE Dev (Build 201103300400)
VM: Java HotSpot(TM) 64-Bit Server VM, 19.1-b02, Java(TM) SE Runtime Environment, 1.6.0_24-b07
OS: Linux

User Comments:
leopard2av: building a one-jar as in http://wiki.netbeans.org/PackagingADistributableJavaApp#Installing_OneJAR

pekarna: Installed new nightly, re-using pre-exising .netbeans/dev dir.

jeanclaybr: I was reporting a bug.  Now there is a stack trace being sent to the console continuously:
[catch] at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
INFO [org.netbeans.JarClassLoader]: Cannot open /home/jeans/netbeans-dev-200911030222/ide12/modules/org-netbeans-spi-navigator.jar
java.util.zip.ZipException: error in opening zip file
	at java.util.zip.ZipFile.open(Native Method)
	at java.util.zip.ZipFile.<init>(ZipFile.java:114)
	at java.util.jar.JarFile.<init>(JarFile.java:133)
	at java.util.jar.JarFile.<init>(JarFile.java:112)
	at org.netbeans.JarClassLoader$JarSource$1.call(JarClassLoader.java:443)
	at org.netbeans.JarClassLoader$JarSource$1.call(JarClassLoader.java:440)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
	at org.netbeans.JarClassLoader$JarSource.getJarFile(JarClassLoader.java:456)
	at org.netbeans.JarClassLoader$JarSource.resource(JarClassLoader.java:489)
	at org.netbeans.




Stacktrace: 
org.openide.filesystems.FSException: Folder org already exists in /home/ondra/.netbeans/dev/config (/home/ondra/.netbeans/dev/config/Preferences/org).
   at org.openide.filesystems.LocalFileSystem.createFolder(LocalFileSystem.java:218)
   at org.openide.filesystems.LocalFileSystem$Impl.createFolder(LocalFileSystem.java:553)
   at org.openide.filesystems.AbstractFileObject.createFolder(AbstractFileObject.java:415)
   at org.openide.filesystems.FileUtil.createFolder(FileUtil.java:864)
   at org.openide.filesystems.MultiFileObject.createFolder(MultiFileObject.java:1079)
   at org.openide.filesystems.FileUtil.createFolder(FileUtil.java:864)
Comment 1 pekarna 2011-03-30 17:35:01 UTC
Created attachment 107388 [details]
stacktrace
Comment 2 Jaroslav Tulach 2011-04-07 10:09:14 UTC
The caller is NbPreferences.flushSpi it should be ready for IOException or prevent them by better synchronization.
Comment 3 Jesse Glick 2011-06-07 21:16:11 UTC
*** Bug 199232 has been marked as a duplicate of this bug. ***
Comment 4 Jesse Glick 2011-06-07 21:19:23 UTC
(In reply to comment #2)
> The caller is NbPreferences.flushSpi it should be ready for IOException

Probably true, though the problem only seems to appear on Linux and I suspect that the user's IDE is simply running out of file handles (thus the ZIP problems) and so the entire application is busted. Thus, bug #185135.
Comment 5 Max Sauer 2012-03-30 15:29:20 UTC
Created attachment 117560 [details]
stacktrace

Running Unit Test in a NB Platform project.
Comment 6 Stanislav Aubrecht 2012-12-13 09:40:39 UTC
There are no reports from NetBeans 7.2 or from recent dev builds. Also all reports are from JDK 1.6 update < 27.
I suggest closing as worksforme
Comment 7 Theofanis Oikonomou 2012-12-13 11:47:21 UTC
closing then. Thank you