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.
[nb_dev](20040902120), [jdk1.5.0](b63) Last few days (2-3) I've seen a lot of FileNotFoundExceptions in messages.log files from our tests. I don't have exact steps to reproduce, because is hard to specifiy when expception rises, but it seems like it happens during test : Refresh folder with 50-100 java files - open project - create package "x.folder50javafiles" (externally) - refresh package "x" in projects view - expand package "x.folder50javafiles" in projects view - copy 50/100 java files to the folder "folder50javafiles" (externally) - push "Refresh folder " from popup menu over "x.folder50javafiles" node in projects view - measure time - collapse "x.folder50javafiles" - delete "x.folder50javafiles" - refresh "x" folder - repeat whole test 5 times I saw this problems on all our performance test machines : JDS2, LinuxRH9, Win2K, WinXP, Sol9 See attachments , I think the root off all next exceptions is FileNotFoundException in first attachment.
Created attachment 17341 [details] FileNotFoundException and NPE from ASTProvider
Created attachment 17342 [details] CompositionViolationException from mdr
Created attachment 17343 [details] InvalidObjectException: Object with MOFID
Created attachment 17344 [details] NullPointerException from BtreeDatabase.save(BtreeDatabase.java:553)
Seems to me that invalid FileObjects are used. Thus probably appropriate java.io.File already doesn't exist for such FileObject and all method calls must somehow fail. All attached stack traces comes from mdr. So, reassigned for next evaluation.
Changing comp->java/javacore
I fixed first exception. I hope other exception will not occur after this fix. Reopen this issue if the fix does not help. Checking in RepositoryUpdater.java; /cvs/java/javacore/src/org/netbeans/modules/javacore/RepositoryUpdater.java,v <-- RepositoryUpdater.java new revision: 1.18; previous revision: 1.17 done
Honza thanks, it seems like it works fine now verified in [nb_dev](200409051800)
Reorganization of java component