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 34795 - Unreadible Warning
Summary: Unreadible Warning
Status: RESOLVED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: vcscore (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P4 blocker (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on: 32089
Blocks:
  Show dependency tree
 
Reported: 2003-07-08 14:14 UTC by kosherjava
Modified: 2005-01-12 16:27 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot of warning (4.26 KB, image/gif)
2003-07-08 14:16 UTC, kosherjava
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kosherjava 2003-07-08 14:14:20 UTC
I recently upgraded to 3.5 from 3.4. After a power outage I 
started getting the following warnings at startup:
Line read:''
The following is from the ide.log
*********** Exception occurred ************ at Tue Jul 08 
08:45:09 EDT 2003
Annotation: Line 
read: '                                                     
                                 '
java.lang.IllegalArgumentException: File name element is 
missing.
	at 
org.netbeans.modules.vcscore.caching.VcsCacheFile.readFileCa
cheName(VcsCacheFile.java:111)
[catch] at 
org.netbeans.modules.vcscore.caching.VcsCacheDir.readChildNa
mesFromDisk(VcsCacheDir.java:536)
	at 
org.netbeans.modules.vcscore.caching.VcsCacheDir.readDirFrom
Disk(VcsCacheDir.java:770)
	at 
org.netbeans.modules.vcscore.cache.CacheDir.getSubDirs
(CacheDir.java:122)
	at 
org.netbeans.modules.vcscore.caching.VcsCacheDir.populateWit
hLocal(VcsCacheDir.java:376)
	at 
org.netbeans.modules.vcscore.cache.FileSystemCache.loadDir
(FileSystemCache.java:197)
	at 
org.netbeans.modules.vcscore.caching.VcsCache.loadDir
(VcsCache.java:256)
	at 
org.netbeans.modules.vcscore.caching.VcsCache.getCacheFile
(VcsCache.java:317)
	at 
org.netbeans.modules.vcscore.cache.CacheHandler.getCacheFile
(CacheHandler.java:237)
	at 
org.netbeans.modules.vcscore.caching.VcsFSCache.getFileOrDir
(VcsFSCache.java:410)
	at 
org.netbeans.modules.vcscore.caching.VcsFSCache.readDirFromD
iskCache(VcsFSCache.java:499)
	at 
org.netbeans.modules.vcscore.caching.VcsFSCache.readDirFromD
iskCache(VcsFSCache.java:491)
	at 
org.netbeans.modules.vcscore.VcsFileSystem.children
(VcsFileSystem.java:3082)
	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:627)
	at org.openide.filesystems.AbstractFolder.refresh
(AbstractFolder.java:795)
	at 
org.openide.filesystems.AbstractFileObject.refresh
(AbstractFileObject.java:708)
	at 
org.openide.filesystems.AbstractFileObject.refresh
(AbstractFileObject.java:689)
	at org.openide.filesystems.AbstractFolder.check
(AbstractFolder.java:531)
	at org.openide.filesystems.AbstractFolder.find
(AbstractFolder.java:224)
	at 
org.openide.filesystems.AbstractFileSystem.findResource
(AbstractFileSystem.java:151)
	at 
org.netbeans.modules.web.context.WebContextLoader.isWebAppli
cation(WebContextLoader.java:151)
	at 
org.netbeans.modules.web.context.ProjectViewManager.register
WebContext(ProjectViewManager.java:104)
	at 
org.netbeans.modules.web.context.ProjectViewManager.run
(ProjectViewManager.java:83)
	at org.openide.util.Task.run(Task.java:136)
	at org.openide.util.RequestProcessor$Task.run
(RequestProcessor.java:328)
	at org.openide.util.RequestProcessor$Processor.run
(RequestProcessor.java:670)
Comment 1 kosherjava 2003-07-08 14:16:55 UTC
Created attachment 10886 [details]
Screenshot of warning
Comment 2 kosherjava 2003-07-08 14:18:30 UTC
I am using ClearCase VCS.
I get about 8 of the popups at startup.
Comment 3 Martin Entlicher 2003-07-30 13:37:48 UTC
This is a problem with corrupted cache files on disk, that store file
status information.

This is something that should be perhaps more hidden from the user.
The cache files will be repaired by the refresh of the affected
folder. So perhaps no warning should be presented and the file status
cache should behave like when the cache file is missing. In that case
it would run refresh automatically to repair the cache file.

Scheduling to NetBeans 4.0.
Comment 4 Martin Entlicher 2004-04-20 14:30:35 UTC
Issue #32089 on which this depends on is scheduled for promotion D,
therefore changing the target milestone to promotion D (4.0).
Comment 5 Richard Gregor 2004-09-24 10:15:08 UTC
I think this is rather P4 then P3. As such it will be fixed by caching
system redesign.
Comment 6 _ pkuzel 2005-01-12 16:27:31 UTC
This codebase is dead, replaced by new implementation.