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 253622 - Dead lock when editing a java file
Summary: Dead lock when editing a java file
Status: RESOLVED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 8.0.2
Hardware: PC Linux
: P3 normal (vote)
Assignee: Martin Kozeny
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-21 15:12 UTC by scanti
Modified: 2015-09-24 01:29 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
first thread dump (72.23 KB, application/octet-stream)
2015-07-21 15:12 UTC, scanti
Details
Second thread dump (72.22 KB, application/octet-stream)
2015-07-21 15:12 UTC, scanti
Details

Note You need to log in before you can comment on or make changes to this bug.
Description scanti 2015-07-21 15:12:09 UTC
Created attachment 154769 [details]
first thread dump

I was editing a .java fie. I got a popup telling me a lenghty operation was in progress and the wizard froze for a long time. Attaching the thread dumps
Comment 1 scanti 2015-07-21 15:12:57 UTC
Created attachment 154770 [details]
Second thread dump
Comment 2 Dusan Balek 2015-09-21 09:35:35 UTC
AWT-EventQueue is blocked when expanding a code template waiting for a document lock. The document lock is held by Format action that waits for an extremely slow project classpath initialization.
Comment 3 Tomas Zezula 2015-09-22 09:18:03 UTC
apisupport project
Comment 4 Tomas Zezula 2015-09-22 13:29:42 UTC
IO contention on slow disk.
The disk is slow due to heavy load caused by refresh fs and 2 thread trying to verify jar headers. There is threading problem causing that the treads are 2.

Fixed jet-main b7e5fc296a49.

Unfortunately I cannot do anything with the refresh.
Comment 5 Quality Engineering 2015-09-24 01:29:25 UTC
Integrated into 'main-silver', will be available in build *201509240002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/b7e5fc296a49
User: Tomas Zezula <tzezula@netbeans.org>
Log: #253622:Dead lock when editing a java file