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 49871 - Unexpected exception repeated after startup - IOException
Summary: Unexpected exception repeated after startup - IOException
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: Martin Matula
URL:
Keywords: RANDOM
: 49811 49879 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-10-04 09:40 UTC by aver
Modified: 2006-03-24 09:58 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Log file as requested by Unexpected exception window (169.48 KB, text/plain)
2004-10-04 09:42 UTC, aver
Details
log file (2.92 MB, patch)
2004-10-06 01:14 UTC, ulfzibis
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description aver 2004-10-04 09:40:03 UTC
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.
Comment 1 aver 2004-10-04 09:42:56 UTC
Created attachment 18011 [details]
Log file as requested by Unexpected exception window
Comment 2 Milos Kleint 2004-10-04 10:56:35 UTC
mdr issue
Comment 3 Martin Matula 2004-10-04 16:02:40 UTC
*** Issue 49811 has been marked as a duplicate of this issue. ***
Comment 4 Martin Matula 2004-10-04 16:04:43 UTC
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.
Comment 5 Martin Matula 2004-10-04 16:08:20 UTC
*** Issue 49879 has been marked as a duplicate of this issue. ***
Comment 6 aver 2004-10-04 18:03:12 UTC
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.
Comment 7 ulfzibis 2004-10-04 19:34:19 UTC
I have the same behavier than aver except, that after start up many
more of these Exceptions will be thrown in unregular intervals.
Comment 8 aver 2004-10-05 09:20:22 UTC
Now I've installed new build (200410041800) and the problem doesn't
occure in this version. So I hope it's solved now :-)
Comment 9 ulfzibis 2004-10-06 01:14:15 UTC
Created attachment 18065 [details]
log file
Comment 10 ulfzibis 2004-10-06 01:15:07 UTC
For me with new build (200410041800) it's even worser. See attached
log-file.
Comment 11 Martin Matula 2004-10-06 09:34:58 UTC
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.
Comment 12 aver 2004-10-06 19:34:18 UTC
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.
Comment 13 ulfzibis 2004-10-06 21:07:37 UTC
Hi aver,
thanx for thinking on me. I use beta1 so long and wait for solving
until new releases.
Comment 14 ulfzibis 2004-10-08 18:13:14 UTC
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]
Comment 15 Martin Matula 2004-10-08 18:21:00 UTC
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).
Comment 16 ulfzibis 2004-10-08 18:37:12 UTC
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]?
Comment 17 Martin Matula 2004-10-11 15:10:22 UTC
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.
Comment 18 ulfzibis 2004-10-18 16:42:05 UTC
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 ?
Comment 19 Jiri Prox 2005-07-27 11:18:40 UTC
verified