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.
Dev build, Mustang. I am having problems with the MDR database again. I had opened nb_all/nbbuild and all subprojects in the previous IDE session, but because there were various database corruptions which made Find Usages not work, I shut down the IDE, delete $userdir/var/cache/, and restarted. This time the scanning progress went on for a while, and then I started getting NullPointerException's reported in the exception dialog. They kept appearing and I could not stop them. Had to "killall java", remove the cache again, and rm .../*OpenProjectListSettings.settings to return to normalcy. Opening all NB modules was working for me before, but maybe there are just too many of them now? Or perhaps more system file descriptors are being used up by the new modules in the IDE (each open JAR is a file descriptor). Looks to me like MDR should not be keeping a separate database file for each source root. It just doesn't work when you need to open a lot of projects.
Also, if there is a fatal I/O error when trying to open a database, MDR should probably recover more gracefully somehow. Or javacore scanning should halt if it encounters a database error, since it is likely that it is going to encounter a lot more soon.
Created attachment 22652 [details] messages.log from the failing IDE session (really big when uncompressed!)
Created attachment 22653 [details] Log from previous session, FYI (most printed exceptions are from MDR and/or javacore)
*** This issue has been marked as a duplicate of 57975 ***