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 131170 - java.io.SyncFailedException: C:\Users\majoros\.netbeans\6.9\config\WebServices\application
Summary: java.io.SyncFailedException: C:\Users\majoros\.netbeans\6.9\config\WebService...
Status: RESOLVED FIXED
Alias: None
Product: webservices
Classification: Unclassified
Component: REST (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Denis Anisimov
URL: http://statistics.netbeans.org/except...
Keywords: RANDOM
: 113747 125195 143350 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-03-26 14:33 UTC by Lukas Hasik
Modified: 2010-09-23 03:01 UTC (History)
7 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 40582


Attachments
stacktrace (84 bytes, text/plain)
2008-08-25 20:05 UTC, Unknown
Details
stacktrace (1.65 KB, text/plain)
2009-09-06 21:09 UTC, rohitbrai
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lukas Hasik 2008-03-26 14:33:08 UTC
The exception reports a potentional problem in spring module code. The Filesystems isn't informat about existency of
folder. Please, review your code. You can follow http://wiki.netbeans.org/FileSystems

Build: NetBeans IDE Dev (Build 200803251204)
VM: Java HotSpot(TM) Client VM, 10.0-b19, Java(TM) SE Runtime Environment, 1.6.0_05-b13
OS: Windows XP, 5.1, x86
User comments: 1. Remove userdir.
2. Start IDE.

Result: SyncFailedException arises.
STACKTRACE: (first 10 lines)
java.io.SyncFailedException: C:\Documents and Settings\rm153204.GRIF\.netbeans-derby\sample
        at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj.createFolder(FolderObj.java:190)
        at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj.createFolderImpl(FolderObj.java:154)
        at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj$2.call(FolderObj.java:212)
        at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj$2.call(FolderObj.java:211)
        at org.netbeans.modules.masterfs.filebasedfs.FileBasedFileSystem.runAsInconsistent(FileBasedFileSystem.java:112)
        at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj.createFolder(FolderObj.java:215)
        at org.netbeans.modules.derby.api.DerbyDatabases.extractSampleDatabase(DerbyDatabases.java:326)
        at org.netbeans.modules.derby.api.DerbyDatabases.createSampleDatabase(DerbyDatabases.java:281)
        at org.netbeans.modules.derby.Installer$RegisterJDKDerby.registerSampleDatabase(Installer.java:108)
        at org.netbeans.modules.derby.Installer$RegisterJDKDerby.run(Installer.java:87)
Comment 1 John Baker 2008-08-09 00:58:37 UTC
I haven't been able to reproduce this yet
Comment 2 John Baker 2008-08-20 22:44:01 UTC
Could be a coincidence, but just after 130039 was fixed, users are encountering a SyncFailedException creating the
sample database directory.  Derby code hasn't changed since before 130039 was fixed.
I'm suspecting 130039 exposed some other problem.
Comment 3 John Baker 2008-08-21 06:48:26 UTC
*** Issue 143350 has been marked as a duplicate of this issue. ***
Comment 4 Unknown 2008-08-25 20:05:16 UTC
Build: NetBeans IDE Dev (Build 200808241401)
VM: Java HotSpot(TM) Client VM, 12.0-b01, Java(TM) SE Runtime Environment, 1.7.0-ea-b24
OS: Windows XP, 5.1, x86

User Comments: 


Stacktrace: 
java.io.SyncFailedException: C:\Documents and Settings\Bryan\.netbeans-derby\sample
Comment 5 Unknown 2008-08-25 20:05:28 UTC
Created attachment 68277 [details]
stacktrace
Comment 6 John Baker 2008-08-25 21:29:25 UTC
*** Issue 113747 has been marked as a duplicate of this issue. ***
Comment 7 John Baker 2008-08-25 21:37:11 UTC
*** Issue 125195 has been marked as a duplicate of this issue. ***
Comment 8 Exceptions Reporter 2008-08-26 14:11:20 UTC
This issue has already 100 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=40582
Comment 9 John Baker 2008-08-26 18:28:09 UTC
Shouldn't be a P1 , IDE isn't hanging
Comment 10 John Baker 2008-08-27 00:39:21 UTC
05f7e764bef9
Comment 11 John Baker 2008-08-27 00:42:37 UTC
sampleFO was shared by two threads - started Glassfish plugin and the Installer
Comment 12 Quality Engineering 2008-08-28 06:41:51 UTC
Integrated into 'main-golden', available in build *200808280201* on http://bits.netbeans.org/dev/nightly/
Changeset: http://hg.netbeans.org/main/rev/05f7e764bef9
User: John Baker <jbaker@netbeans.org>
Log: #131170 java.io.SyncFailedException: C:\Documents and Settings\rm153204.GRIF\.netbeans-derby\sample
Comment 13 John Baker 2008-12-16 17:43:27 UTC
carlosmx , did you see this in 6.5 ?
Comment 14 Exceptions Reporter 2009-02-03 22:37:48 UTC
Reopening - reproduced in NetBeans IDE Dev (Build 200812180001)
http://statistics.netbeans.org/exceptions/detail.do?id=40582
Comment 15 Jiri Rechtacek 2009-03-24 16:25:46 UTC
Any one report on NB6.7. It seems be fixed while refactoring in Nb6.7M1-2.
Comment 16 rohitbrai 2009-09-06 21:09:31 UTC
Build: NetBeans IDE 6.7.1 (Build 200907230233)
VM: Java HotSpot(TM) 64-Bit Server VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03
OS: Windows Vista, 6.0, amd64

User Comments: 


Stacktrace: 
java.io.SyncFailedException: C:\Users\Rohit\.netbeans\6.7\config\WebServices\application
        at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj.createFolder(FolderObj.java:201)
        at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj.createFolderImpl(FolderObj.java:165)
        at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj$2.call(FolderObj.java:223)
        at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj$2.call(FolderObj.java:221)
        at org.netbeans.modules.masterfs.filebasedfs.FileBasedFileSystem.runAsInconsistent(FileBasedFileSystem.java:112)
        at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj.createFolder(FolderObj.java:226)
Comment 17 rohitbrai 2009-09-06 21:09:42 UTC
Created attachment 87175 [details]
stacktrace
Comment 18 ymajoros 2010-09-13 14:13:01 UTC
not solved as of 6.9.1:

NetBeans Error Report Upload Complete
It has now been added to the database with id #422511. It has been classified as a duplicate of report #40582. 
This bug was already fixed.
Please update your build of NetBeans to the latest build of 6.7 where bug #131170 is fixed. If you are already using a newer build and your report meets certain criteria a new bug will be filed automatically.
Your previous reports
Thanks again for your help.  The NetBeans development team!
Comment 19 Jiri Rechtacek 2010-09-16 10:07:32 UTC
Wrong association this DB bug with similar bug websvc. All relevant 6.9 duplicates come from java.io.SyncFailedException: C:\Users\majoros\.netbeans\6.9\config\WebServices\application
        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)
        at org.netbeans.modules.websvc.saas.model.Saas.getSaasFolder(Saas.java:278)

Thus I reassigned to websvc.
Comment 20 Denis Anisimov 2010-09-22 07:22:39 UTC
Method getSaasFolder() could be called from concurrently from different threads.
It requires synchronization.

changeset:   177422:f0c2ef1bb69f
user:        Denis Anisimov <ads@netbeans.org>
date:        Wed Sep 22 11:16:42 2010 +0400
summary:     Fix for BZ#131170 -  java.io.SyncFailedException: C:\Users\majoros\.netbeans\6.9\config\WebServices\application
Comment 21 Quality Engineering 2010-09-23 03:01:20 UTC
Integrated into 'main-golden', will be available in build *201009230000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/f0c2ef1bb69f
User: Denis Anisimov <ads@netbeans.org>
Log: Fix for BZ#131170 -  java.io.SyncFailedException: C:\Users\majoros\.netbeans\6.9\config\WebServices\application