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 49042 - IDE doesn't start after: SyncFailedException: File PROPERTIES.settings already exists in XXXX
Summary: IDE doesn't start after: SyncFailedException: File PROPERTIES.settings alread...
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Filesystems (show other bugs)
Version: 4.x
Hardware: PC Windows XP
: P1 blocker (vote)
Assignee: rmatous
URL:
Keywords: T9Y
: 49107 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-09-15 07:48 UTC by Marian Mirilovic
Modified: 2008-12-22 20:48 UTC (History)
0 users

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 Marian Mirilovic 2004-09-15 07:48:13 UTC
[nb_dev](200409141800), [jdk1.5.0](rc)

It seems like IDE doesn't start after exception on
start :

-------------
Annotation: File PROPERTIES.settings already
exists in E:\space\xtest\work\sys\ide\config.
java.io.SyncFailedException: File
PROPERTIES.settings already exists in
E:\space\xtest\work\sys\ide\config.
	at
org.openide.filesystems.LocalFileSystem.createData(LocalFileSystem.java:212)
	at
org.openide.filesystems.LocalFileSystem$Impl.createData(LocalFileSystem.java:463)
	at
org.openide.filesystems.AbstractFileObject.createData(AbstractFileObject.java:381)
	at
org.openide.filesystems.FileUtil.createData(FileUtil.java:266)
	at
org.openide.filesystems.MultiFileObject.createData(MultiFileObject.java:931)
	at
org.openide.filesystems.FileUtil.createData(FileUtil.java:266)
	at
org.openide.filesystems.MultiFileObject.createData(MultiFileObject.java:931)
	at
org.openide.loaders.InstanceDataObject.storeSettings(InstanceDataObject.java:314)
	at
org.openide.loaders.InstanceDataObject.access$1000(InstanceDataObject.java:62)
	at
org.openide.loaders.InstanceDataObject$Creator.run(InstanceDataObject.java:1401)
	at
org.openide.filesystems.EventControl.runAtomicAction(EventControl.java:89)
	at
org.openide.filesystems.FileSystem.runAtomicAction(FileSystem.java:432)
	at
org.openide.loaders.DataObjectPool.runAtomicActionSimple(DataObjectPool.java:159)
	at
org.openide.loaders.InstanceDataObject$Creator.createInstanceDataObject(InstanceDataObject.java:1415)
	at
org.openide.loaders.InstanceDataObject.create(InstanceDataObject.java:296)
	at
org.openide.loaders.InstanceDataObject.create(InstanceDataObject.java:272)
[catch] at
org.netbeans.core.windows.persistence.PersistenceManager.saveTopComponents(PersistenceManager.java:646)
	at
org.netbeans.core.windows.persistence.PersistenceManager.saveWindowSystem(PersistenceManager.java:1081)
	at
org.netbeans.core.windows.PersistenceHandler.save(PersistenceHandler.java:240)
	at
org.netbeans.core.windows.WindowSystemImpl.save(WindowSystemImpl.java:46)
	at
org.netbeans.core.NbTopManager$3.run(NbTopManager.java:479)
	at
org.netbeans.core.modules.ModuleManager.shutDown(ModuleManager.java:1528)
	at
org.netbeans.core.modules.ModuleSystem.shutDown(ModuleSystem.java:266)
	at
org.netbeans.core.NbTopManager.doExit(NbTopManager.java:488)
	at
org.netbeans.core.NbTopManager.access$200(NbTopManager.java:58)
	at
org.netbeans.core.NbTopManager$2.run(NbTopManager.java:457)
	at
java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
	at
java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
	at
org.netbeans.jemmy.QueueTool$JemmyQueue.dispatchEvent(QueueTool.java:581)
	at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
	at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
	at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
	at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
	at
java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
----------
Comment 1 Marian Mirilovic 2004-09-15 07:51:19 UTC
I saw it on both Windows : Win2K and WinXP.
IDE starts after closing dialog ...
Comment 2 Marian Mirilovic 2004-09-15 07:54:01 UTC
see issue 48888
Comment 3 Marian Mirilovic 2004-09-15 07:55:28 UTC
Radek, 
I've found it ;)

your fix of issue 48888 :
-----------------
  +        if (Utilities.isWindows() && isMacOS()) {
-----------------

should be rather 
-----------------
  +        if (Utilities.isWindows() || isMacOS()) {
-----------------
Comment 4 rmatous 2004-09-15 08:14:03 UTC
/cvs/openide/src/org/openide/filesystems/FileUtil.java
new revision: 1.116; previous revision: 1.115
Comment 5 rmatous 2004-09-15 08:14:39 UTC
Plus test:

/cvs/openide/test/unit/src/org/openide/filesystems/FileUtilTestHidden.java
new revision: 1.5; previous revision: 1.4
Comment 6 Marian Mirilovic 2004-09-15 16:40:14 UTC
*** Issue 49107 has been marked as a duplicate of this issue. ***
Comment 7 _ gtzabari 2004-09-15 16:44:50 UTC
Is this going to be part of the Sept 15 release? The download page
says Sept 14 is the latest dev build.
Comment 8 Marian Mirilovic 2004-09-18 19:33:03 UTC
verified in [nb_dev](200409161800)