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 87716 - InvalidObjectException reported from org.netbeans.mdr.handlers.BaseObjectHandler
Summary: InvalidObjectException reported from org.netbeans.mdr.handlers.BaseObjectHandler
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: David Strupl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-21 11:16 UTC by dmitri616
Modified: 2010-09-23 11:42 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Latest log. Log for 19 p.m. and after on 21 Oct 2006 relates to the problem source (will attach) only. Did reopen NB once - didi not help. (2.41 MB, text/plain)
2006-10-21 11:22 UTC, dmitri616
Details
Source file that gives headache; couple of dependencies are most likely irrelevant. (4.39 KB, text/plain)
2006-10-21 11:24 UTC, dmitri616
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dmitri616 2006-10-21 11:16:22 UTC
Usual ocasional exceptions turned into complete inability to work with a class 
as soon as it had inner enum with inner classes. Any attempt to open, modify or 
analyze the file would block NB for a minute, reporting one or several 
InvalidObjectException or IllegalStateException. Commands like Save file, 
override methods, and all refactoring commands get disabled on this source file.
Comment 1 dmitri616 2006-10-21 11:22:28 UTC
Created attachment 35440 [details]
Latest log. Log for 19 p.m. and after on 21 Oct 2006 relates to the problem source (will attach) only. Did reopen NB once - didi not help.
Comment 2 dmitri616 2006-10-21 11:24:14 UTC
Created attachment 35441 [details]
Source file that gives headache; couple of dependencies are most likely irrelevant.
Comment 3 dmitri616 2006-10-21 17:28:44 UTC
Workaround found:
- close NetBeans,
- delete mdrstorage folder from <whatever_user_dir>\.netbeans\5.0\var\cache
- start NetBeans: corrupted cached data is replaced with fresh data,
and you can work again :)
Comment 4 David Strupl 2010-09-23 09:15:15 UTC
I am closing all reports in category Java/Unsupported as wontfix. These should
be dead issues --- if the reported cases are against some live part of the
NetBeans IDE please reopen and we can discuss to which category they belong.
Comment 5 dmitri616 2010-09-23 11:42:02 UTC
I tried to reproduce it with NB 6.8 - and the issues seems to be fixed anyway.