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 186360

Summary: CVS Update can produce neverending warning messages
Product: versioncontrol Reporter: brucec
Component: CVSAssignee: Ondrej Vrabec <ovrabec>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description brucec 2010-05-19 08:37:25 UTC
While doing a CVS Update, NetBeans started producing excessive warning messages with a title of "Warning" saying that it was copying from ~/.netbeans/6.8/var/cache/cvscache/7.bin to ~/.netbeans/6.8/var/cache/cvscache/7.bin.new

These continued at a rate of about 2 per second until Xorg stopped responding. Meanwhile, the window manager was using 100% CPU.

SEVERE: Missing 22344312 bytes.
org.openide.ErrorManager$AnnException: msg
        at org.openide.ErrorManager$AnnException.findOrCreate(ErrorManager.java:863)
        at org.openide.ErrorManager$DelegatingErrorManager.annotate(ErrorManager.java:650)
        at org.openide.ErrorManager.annotate(ErrorManager.java:452)
        at org.netbeans.modules.versioning.system.cvss.DiskMapTurboProvider.writeEntry(DiskMapTurboProvider.java:216)
        at org.netbeans.modules.turbo.Turbo.storeEntry(Turbo.java:306)
        at org.netbeans.modules.turbo.Turbo.writeEntry(Turbo.java:284)
        at org.netbeans.modules.versioning.system.cvss.FileStatusCache.refreshNow(FileStatusCache.java:310)
        at org.netbeans.modules.versioning.system.cvss.FileStatusCache.refresh(FileStatusCache.java:330)
        at org.netbeans.modules.versioning.system.cvss.FileStatusCache.clearVirtualDirectoryContents(FileStatusCache.java:412)
        at org.netbeans.modules.versioning.system.cvss.ui.actions.update.UpdateExecutor.commandFinished(UpdateExecutor.java:157)
        at org.netbeans.modules.versioning.system.cvss.ExecutorSupport.commandTerminated(ExecutorSupport.java:419)
        at org.netbeans.modules.versioning.system.cvss.ClientRuntime$1.taskFinished(ClientRuntime.java:179)
        at org.openide.util.Task.notifyFinished(Task.java:228)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:608)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1084)
msg
Caused: java.io.EOFException: Missing 22344312 bytes.
        at org.netbeans.modules.versioning.system.cvss.DiskMapTurboProvider.copyStreams(DiskMapTurboProvider.java:321)
        at org.netbeans.modules.versioning.system.cvss.DiskMapTurboProvider.writeEntry(DiskMapTurboProvider.java:211)
        at org.netbeans.modules.turbo.Turbo.storeEntry(Turbo.java:306)
        at org.netbeans.modules.turbo.Turbo.writeEntry(Turbo.java:284)
        at org.netbeans.modules.versioning.system.cvss.FileStatusCache.refreshNow(FileStatusCache.java:310)
        at org.netbeans.modules.versioning.system.cvss.FileStatusCache.refresh(FileStatusCache.java:330)
        at org.netbeans.modules.versioning.system.cvss.FileStatusCache.clearVirtualDirectoryContents(FileStatusCache.java:412)
        at org.netbeans.modules.versioning.system.cvss.ui.actions.update.UpdateExecutor.commandFinished(UpdateExecutor.java:157)
        at org.netbeans.modules.versioning.system.cvss.ExecutorSupport.commandTerminated(ExecutorSupport.java:419)
        at org.netbeans.modules.versioning.system.cvss.ClientRuntime$1.taskFinished(ClientRuntime.java:179)
        at org.openide.util.Task.notifyFinished(Task.java:228)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:608)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1084)
ALL [null]: Copy: /user/bcran/.netbeans/6.8/var/cache/cvscache/7.bin to: /user/bcran/.netbeans/6.8/var/cache/cvscache/7.bin.new
Comment 1 Ondrej Vrabec 2010-05-19 08:49:01 UTC
it's probably that the file's content is corrupted, please try to delete ~/.netbeans/6.8/var/cache/cvscache/7.bin.
Comment 2 brucec 2010-05-19 08:58:56 UTC
That fixed the problem. But the IDE should recover and not cause the whole system to stop responding.