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 169717 - Deadlock during closing projects
Summary: Deadlock during closing projects
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Text (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: mslama
URL:
Keywords:
: 170445 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-08-03 10:19 UTC by Martin Schovanek
Modified: 2009-08-24 09:11 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Thread Dump (13.69 KB, text/plain)
2009-08-03 10:19 UTC, Martin Schovanek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Schovanek 2009-08-03 10:19:17 UTC
[#200908030201, jdk 1.6]

Closed several Web, Java, EJB project.

See attached thread dump.
Comment 1 Martin Schovanek 2009-08-03 10:19:43 UTC
Created attachment 85679 [details]
Thread Dump
Comment 2 Sergey Lunegov 2009-08-03 10:27:48 UTC
Alex, please look at this. Most probably this is NOT xml related issue. So please reassign to more appropriate category.
Comment 3 _ alexpetrov 2009-08-03 20:13:26 UTC
I'm not sure that this bug was caused by some problem in the module "xml.text".
In my opinion the attached thread dump doesn't allow to make this assertion.
Anyway, I'm afraid it will be very difficult to reproduce this issue - I think a result will depend on many conditions:
- how many different projects are opened
- in which order
- a sequence of user actions
and so on...
So, I think it's possible to change the value of "Component" of this bug from XML to OPENIDEX for the future investigation.
Comment 4 Milos Kleint 2009-08-04 09:49:05 UTC
you probably meant platform/text
Comment 5 mslama 2009-08-04 16:53:25 UTC
Deadlock is between loading and closing document.
Comment 6 mslama 2009-08-05 13:01:05 UTC
jet-main #bc8cfb8bbe86

fireDocumentChange outside of document lock.
Comment 7 Quality Engineering 2009-08-06 05:59:02 UTC
Integrated into 'main-golden', will be available in build *200908060201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/bc8cfb8bbe86
User: Marek Slama <mslama@netbeans.org>
Log: #169717: fireDocumentChange outside of document lock.
Comment 8 mslama 2009-08-07 11:47:29 UTC
jet-main #67e4515edada

Test added
Comment 9 Quality Engineering 2009-08-08 07:04:06 UTC
Integrated into 'main-golden', will be available in build *200908080201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/67e4515edada
User: Marek Slama <mslama@netbeans.org>
Log: #169717: Test that ChangeEvent is not fired under document lock during loading document.
Comment 10 mslama 2009-08-24 09:11:25 UTC
*** Issue 170445 has been marked as a duplicate of this issue. ***