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 29450 - Exception ERROR: attempting to add a file with same name as directory =classes
Summary: Exception ERROR: attempting to add a file with same name as directory =classes
Status: VERIFIED WORKSFORME
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: CVS (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: issues@versioncontrol
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-11 09:42 UTC by kzapico
Modified: 2007-01-04 17:14 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 kzapico 2002-12-11 09:42:33 UTC
The following exception keeps appearing. The ide appears 
to hang just before hand.

Stack trace

java.lang.Exception: Stack trace
        at java.lang.Thread.dumpStack(Thread.java:1071)
        at 
org.netbeans.modules.javacvs.caching.CvsCacheDir.addFile
(CvsCacheDir.java:729)
        at 
org.netbeans.modules.javacvs.caching.CvsCacheDir.readVirtua
lsFromDisk(CvsCacheDir.java:511)
        at 
org.netbeans.modules.javacvs.caching.JavaCvsCache.loadDir
(JavaCvsCache.java:351)
        at 
org.netbeans.modules.javacvs.caching.JavaCvsCache.getCacheF
ile(JavaCvsCache.java:87)
        at 
org.netbeans.modules.vcscore.cache.CacheHandler.getCacheFil
e(CacheHandler.java:233)
        at 
org.netbeans.modules.vcscore.cache.CacheHandler.getCacheFil
e(CacheHandler.java:218)
        at 
org.netbeans.modules.vcscore.cache.CacheHandler.getCacheFil
e(CacheHandler.java:211)
        at 
org.netbeans.modules.javacvs.caching.CvsFsCache.getDirConte
nt(CvsFsCache.java:323)
        at 
org.netbeans.modules.javacvs.JavaCvsFileSystem$ListImpl.chi
ldren(JavaCvsFileSystem.java:1201)
        at 
org.netbeans.modules.cvsclient.NbJavaCvsFileSystem$NbListIm
pl.children(NbJavaCvsFileSystem.java:546)
        at 
org.openide.filesystems.DefaultAttributes.children
(DefaultAttributes.java:152)
        at org.openide.filesystems.AbstractFileObject.list
(AbstractFileObject.java:75)
        at 
org.openide.filesystems.AbstractFolder.refreshFolder
(AbstractFolder.java:612)
        at org.openide.filesystems.AbstractFolder.refresh
(AbstractFolder.java:780)
        at 
org.openide.filesystems.AbstractFileObject.refresh
(AbstractFileObject.java:707)
        at 
org.openide.filesystems.AbstractFileObject.refresh
(AbstractFileObject.java:688)
        at org.openide.filesystems.AbstractFolder.refresh
(AbstractFolder.java:388)
        at org.openide.filesystems.FileObject.refresh
(FileObject.java:626)
        at 
org.netbeans.modules.cvsclient.NbJavaCvsFileSystem.doVirtua
lsRefresh(NbJavaCvsFileSystem.java:1504)
        at 
org.netbeans.modules.vcscore.util.virtuals.VcsRefreshReques
t.doLoop(VcsRefreshRequest.java:272)
        at 
org.netbeans.modules.vcscore.util.virtuals.VcsRefreshReques
t.run(VcsRefreshRequest.java:213)
        at org.openide.util.Task.run(Task.java:136)
        at org.openide.util.RequestProcessor$Processor.run
(RequestProcessor.java:629)
Comment 1 Martin Entlicher 2002-12-11 12:38:39 UTC
Can you please try to remove javacvs.cache and javacvs.virtuals files
from the appropriate CVS folder? That should solve the problem.
Comment 2 Jiri Kovalsky 2003-02-11 14:23:17 UTC
It works fine for me in FCS build #200208222340 of NetBeans 3.4. Did
you kevzapico do what Martin advised ? And can you reproduce it ?
Comment 3 Martin Entlicher 2003-02-20 12:16:38 UTC
I'm not able to reproduce it.
The removal of javacvs.cache and javacvs.virtuals files from the
appropriate CVS folder should help, since there were probably left
some old files.
Comment 4 Jiri Kovalsky 2003-02-20 12:40:02 UTC
Silence gets treated as satisfaction. Verifying issue as works fine.