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.
Ufff, a strange thing happen to me this morning on NB40dev-2002-1118-0100, jdk1.4.1 KDE3, kernel 2.4.18 #4, RH72 ===================================================== I left ide running during night and while today morning while I was reading emails...suddenly decades, hundreds of Warning messages flooded my screen:-((( I created snapshot for you and adding stacktrace of IAE which I found in hundrds in console *********** Exception occurred ************ at Tue Nov 19 08:42:36 CET 2002 Annotation: Line read: '' in file /home/dm103276/.A/Build.Test/CVS/ide/vcsgeneric/src/org/netbeans/modules/vcs/advanced/CVS/netbeans.cmd.cache [catch]java.lang.IllegalArgumentException: File name element is missing. at org.netbeans.modules.vcscore.caching.VcsCacheFile$VcsPersistentData.addSiblingsFromDisk(VcsCacheFile.java:378) at org.netbeans.modules.vcscore.caching.VcsCacheFile$VcsPersistentData.doWriteToDisk(VcsCacheFile.java:316) at org.netbeans.modules.vcscore.caching.VcsCacheFile$VcsPersistentData.doWriteToDisk(VcsCacheFile.java:296) at org.netbeans.modules.vcscore.cache.CacheFile$PersistentData.writeToDisk(CacheFile.java:221) at org.netbeans.modules.vcscore.cache.CacheReference.run(CacheReference.java:112) at org.openide.util.Utilities$ActiveQueue.run(Utilities.java:2057) at java.lang.Thread.run(Thread.java:536)
Created attachment 7983 [details] Warning messages on th screen
Sorry for P2 even though it is not reproductable, but I think it so serious and this shoudl never happen. I "LOVE" programs which are able to floods you with their thousands of warning if they don't like something.... Also another reasons for P2: - ide.log is getting bigger and bigger - You can't do nothing with your unsaved work- you have 2 choices: i) trying to click on each warning...but it is fery hard to be faster.... ii) kill the ide eg. in the case that it happen when your away Maybe that there should be a mechanism in ide's core to prevent such situation... so if you think taht is a problem of core,please reasigne (I fell more that it should be cared by ide's core, but definitely it cames now from your vcscore module)
Created attachment 7984 [details] egample of netbeans.cmd.cache
Actualy, it is hard to find on which files it happens, because in in ide.log there is repeatedly named just one file... But I find another "bad" cache file...attaching also I'm gonna attach ide.log
He... I found another 2 cache files: but they're empty: /ide/vcsgeneric/src/org/netbeans/modules/vcs/profiles/commands/CVS/netbeans.cmd.cache /ide/vcsgeneric/src/org/netbeans/modules/vcs/profiles/resources/CVS/netbeans.cmd .cache so, you must satisfiend with only ide.log
Created attachment 7985 [details] ide.log with warning about cache
This issue and issue #16295 has a common problem. There goes something wrong in the cache IO process and it needs to be gracefully reported.
Fixed in the main trunk. The error is reported just once per affected directory: /cvs/vcscore/src/org/netbeans/modules/vcscore/caching/VcsCacheDir.java,v <-- VcsCacheDir.java new revision: 1.46; previous revision: 1.45 /cvs/vcscore/src/org/netbeans/modules/vcscore/caching/VcsCacheFile.java,v <-- VcsCacheFile.java new revision: 1.15; previous revision: 1.14
I hope it's fixed. After long, long time nothing similar happen to me again. Verifying on: NetBeans IDE Dev (Build 200307030100) 1.4.2; Java HotSpot(TM) Client VM 1.4.2-b28