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.
After start with open files (I mean when some tabs with source files were open before closing of NB IDE), an Unexpected exception window with java.io.IOException opens. After I close it, I have few seconds before next Unexpected exception with java.io.IOException opens. After it again a again this exception. So I have to close tabs with source files, close IDE and start it again. If I start without open source tabs only one Unexpected exception is showh but only for a fraction of second. After it I can open sources and work normaly.
Created attachment 18011 [details] Log file as requested by Unexpected exception window
mdr issue
*** Issue 49811 has been marked as a duplicate of this issue. ***
I am not able to reproduce this problem. Anyway, I have added some debug output. If this exception occurs again in the latest build, please attach more information.
*** Issue 49879 has been marked as a duplicate of this issue. ***
Just guessing the cause: When I first ran NetBeans, I didn't close it normally, but it was shut down with Windows shutdown. So maybe the IDE shutdown wasn't completed correctly... But I will download new build when it will be ready and attach new debug output if the problem will occur again.
I have the same behavier than aver except, that after start up many more of these Exceptions will be thrown in unregular intervals.
Now I've installed new build (200410041800) and the problem doesn't occure in this version. So I hope it's solved now :-)
Created attachment 18065 [details] log file
For me with new build (200410041800) it's even worser. See attached log-file.
I need one more answer. When was the last time you deleted MDR storage files (under $nbuser/var/cache/mdrcache) or used a clean userdir? I am asking because I think this error is a consequence of a bug we fixed a few days ago. It caused the metadata repository to get corrupted sometimes on IDE shutdown. Is it possible that you were using older userdir containing this corruption? If so, this should be fixed by us forcing deletion of the old storage files upon installation of the next build.
I never deleted anything in this folder. Since NetBeans IDE 3.5.1 on every upgrade I let it to import settings from previous version. But now it seems to work fine on my computer, so I will not delete it. Maybe it can help UlfZibis to solve his problem.
Hi aver, thanx for thinking on me. I use beta1 so long and wait for solving until new releases.
I never deleted MDR storage; all files and subfolders in ....var/mdrstorage(not mdrcache) are created 1. October 2004, 02:02:00 MEZ and last changed 6. October 2004, 02:03:58 MEZ. After installation, and before the first start of beta2 I copied the following folders from the beta1-userdir: - $nbuser\config\Editors - $nbuser\config\Services - $nbuser\config\Toolbars - $nbuser\config\vcs - $nbuser\config\VCSMount I don't think, that I copied the $nbuser\var folder, but I'm not sure. *** Is there a better way, to import old ide-settings and project-cvs-settings ? *** I also needed to change the name of the userdir as explained in [Issue 49813]
OK, it seems that this is really a consequence of a bug that was fixed on Oct. 1 after 4pm CET. In one of the later builds we also forced MDR databases to be automatically rebuild upon upgrading, so with the latest build this bug should no longer occur. Thanks for your help. To Ulf - IDE settings should be imported automatically when you start beta 2 for the first time (it asks you using a dialog).
To Martin Matula: Thanx for your fast answer. So should I uninstall beta2 and then install newly the last daily build (which is the best with regard to stability)? What you think about [Issue 49813]?
There should be a new q-build this Wednesday. That will probably be best to download. Sorry, I am not competent to comment on issue 49813.
Hi Martin, please apologize, that I ask once more, because I didn't recognize any q-build since 1 week. Will it come later, or is it one of the daily-builds ? Is it better to uninstall the bad beta2-installation before installing the q-build ?
verified