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 8331 - Deadlock + multiple exceptions thrown upon startup after updating settings from stable30
Summary: Deadlock + multiple exceptions thrown upon startup after updating settings fr...
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: All All
: P1 major (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-11-09 17:43 UTC by Jan Chalupa
Modified: 2008-12-22 19:50 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log file. (54.49 KB, text/plain)
2001-07-20 20:46 UTC, Jan Chalupa
Details
Thread-dump captured during the dead-lock. (8.30 KB, text/plain)
2001-07-20 20:46 UTC, Jan Chalupa
Details
Thrown exception - Application30 (3.01 KB, text/plain)
2000-11-27 14:06 UTC, Marek Grummich
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Chalupa 2000-11-09 17:43:59 UTC
Used update.bat to transfer projects & settings from stable30 to release31.
During the first start of release31 multiple exceptions were thrown (see
attached ide.log) and the IDE froze at the splash screen with "Initializing
filesystems..." (see the attached thread-dump).

Upon the second start, a number of exceptions were thrown again and a few
dialog-boxes appeared:

Error reading filesystems...
Error reading services...
The window could not be opened due to problems with deserialization.

I'm filing this bug against core, although some of the exceptions may be caused
by other modules. I know for sure that the exception from the JspExecutor has
been already fixed in the 'boston' branch.
Comment 1 Jan Chalupa 2000-11-09 17:44:59 UTC
Created attachment 290 [details]
IDE log file.
Comment 2 Jan Chalupa 2000-11-09 17:45:59 UTC
Created attachment 291 [details]
Thread-dump captured during the dead-lock.
Comment 3 Jaroslav Tulach 2000-11-10 11:22:59 UTC
Looks like the second threaddump describes deadlock in JarFileSystem. That is
why I am assigning this to Radek. Fix it please and then reassign to me to fix
the rest.
Comment 4 rmatous 2000-11-10 13:19:59 UTC
I fixed deadlock in main trunk and releas31.
Comment 5 Marek Grummich 2000-11-27 14:04:59 UTC
[Build 15]
I tried to move a New->SampleForms->Application from NetBeans stable 3.0 to
NetBeans release 3.1 beta. When I wanted to execute one I got the exception (see
attachment). Message which was shown in the Exception window:"Exception occured
in the Request Processor"
Comment 6 Marek Grummich 2000-11-27 14:06:59 UTC
Created attachment 335 [details]
Thrown exception - Application30
Comment 7 Jaroslav Tulach 2000-11-29 11:32:59 UTC
One of the problems (the one I wanted to resolve) is that project module tries
to serialize and deserialize SystemFileSystem. It should not do it.

Martin, please can you somehow modify the filesystem not serialize and also
somehow silently handle if there is already serialized default file system?
Comment 8 Martin Ryzl 2000-11-29 12:03:59 UTC
I have made two changes in project module:

1) PSupport.setRepository() stores only filesystems their isDefault() method
returns false.

2) HandlerDiffSet deserializes only filesystems their name is not
SystemFileSystem

And because the default filesystem is never removed from repository during
project change, it should solve problems mentioned by Jarda.
Comment 9 Jaroslav Tulach 2000-11-30 11:57:59 UTC
The filesystem problem is fixed, the IDE starts without any exception dialog (at
least in my test case ;-) => I think we can close this bug. If some problems
persists either reopen or create another.
Comment 10 Quality Engineering 2003-07-01 16:23:30 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.