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

Summary: Dead lock when editing a java file
Product: apisupport Reporter: scanti <scanti>
Component: ProjectAssignee: Martin Kozeny <mkozeny>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 8.0.2   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: first thread dump
Second thread dump

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