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 189427

Summary: java.io.SyncFailedException in PackageRename$PackageRenamePlugin$RenameNonRecursiveFolder
Product: editor Reporter: knitter <knitter>
Component: RefactoringAssignee: Jan Becicka <jbecicka>
Status: RESOLVED FIXED    
Severity: normal CC: hanta, jbecicka, vv159170
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 171901
Attachments: stacktrace
stacktrace
stacktrace

Description knitter 2010-08-12 09:49:27 UTC
This bug was originally marked as duplicate of bug 131170, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 6.9 (Build 201006101454)
VM: Java HotSpot(TM) 64-Bit Server VM, 16.3-b01-279, Java(TM) SE Runtime Environment, 1.6.0_20-b02-279-10M3065
OS: Mac OS X

User Comments:
Knitter: Trying to rename a package.

GUEST: Trying to rename a package in a Java Project.




Stacktrace: 
java.io.SyncFailedException: /Users/sergiolopes/Working/Projects/jLusoSMS/src/org/sergiolopes/jlusosms
   at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj.createFolder(FolderObj.java:207)
   at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj.createFolderImpl(FolderObj.java:171)
   at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj$2.call(FolderObj.java:229)
   at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj$2.call(FolderObj.java:227)
   at org.netbeans.modules.masterfs.filebasedfs.FileBasedFileSystem.runAsInconsistent(FileBasedFileSystem.java:115)
   at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj.createFolder(FolderObj.java:232)
Comment 1 knitter 2010-08-12 09:49:31 UTC
Created attachment 101328 [details]
stacktrace
Comment 2 Jaroslav Tulach 2010-10-01 08:41:02 UTC
The call arrives from
refactoring.java.plugins.PackageRename$PackageRenamePlugin$RenameNonRecursiveFolder.atomicSetName
java.io.SyncFailedException is a subclass of IOException and filesystems have full right to throw it.
Comment 3 Jan Becicka 2010-10-07 11:46:54 UTC
Looks like Mac OS X specific...
Comment 4 Jan Becicka 2010-10-11 07:08:21 UTC
*** Bug 188347 has been marked as a duplicate of this bug. ***
Comment 5 Jan Becicka 2010-10-13 14:49:44 UTC
probably related to issue 188343
Comment 6 Vladimir Voskresensky 2010-12-23 20:39:09 UTC
it is not MacOS specific, I have it on Ubuntu 10.4 
http://statistics.netbeans.org/exceptions/exception.do?id=457930
and in my case I just crate project
Comment 7 Vladimir Voskresensky 2010-12-23 20:39:31 UTC
Created attachment 104466 [details]
stacktrace

creating C++ project from existing sources
Comment 8 Vladimir Voskresensky 2010-12-23 22:00:31 UTC
Created attachment 104467 [details]
stacktrace

create project
Comment 9 Jan Becicka 2010-12-23 22:40:02 UTC
Vladimir, this issue is about wrong handling of SyncFailed in refactoring module. Please file separate bug for your issue. Thanks
Comment 10 Vladimir Voskresensky 2010-12-23 22:48:07 UTC
Ok. I have extracted the latest 3 reports related to create project issue. Don't know where next exception will be attached here or there... hopefully exception reporter can do work correctly
Comment 11 Jan Becicka 2010-12-24 05:56:57 UTC
issue 193786
Comment 12 Jan Becicka 2011-01-06 11:54:24 UTC
btw no such report in 7.0 dev.
Comment 13 Jan Becicka 2011-02-16 15:13:58 UTC
seems to be fixed in 7.0 dev builds.