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 192558 - Typing in editor hangs IDE
Summary: Typing in editor hangs IDE
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Painting & Printing (show other bugs)
Version: 6.x
Hardware: PC Windows 7 x64
: P1 normal (vote)
Assignee: David Strupl
URL:
Keywords:
: 192487 194024 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-11-27 03:04 UTC by _ gtzabari
Modified: 2011-01-06 08:43 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
thread-dump (11.87 KB, text/plain)
2010-11-27 03:04 UTC, _ gtzabari
Details

Note You need to log in before you can comment on or make changes to this bug.
Description _ gtzabari 2010-11-27 03:04:09 UTC
JDK build 1.7.0-ea-b119 64-bit
Netbeans 6.9.1

jdk6 works fine but when I try using JDK7 the IDE hangs within 15 seconds of use. Repro steps:

1) Install Netbeans (configure it to use JDK7)
2) Load Netbeans
3) Create new Java application Project
4) Open any file in the editor and begin typing random characters in the Javadoc comment section.
5) A few seconds later the entire IDE hangs

This issue is reproducible in Netbeans 7.0 beta as well.
Comment 1 _ gtzabari 2010-11-27 03:04:46 UTC
Created attachment 103396 [details]
thread-dump
Comment 2 David Strupl 2010-11-29 12:19:46 UTC
Milo, this looks it is JDK7 specific. And duplicates are starting to come.
Comment 3 David Strupl 2010-11-29 12:19:59 UTC
*** Bug 192548 has been marked as a duplicate of this bug. ***
Comment 4 Miloslav Metelka 2010-11-29 12:32:53 UTC
If it happens in 7.0 beta as well then it's not related to new view hierarchy since there's LockView in the attached thread dump which is old view hierarchy specific.
We need to reproduce and find the culprit.
Comment 5 _ gtzabari 2010-11-30 00:31:09 UTC
I believe this is a regression relative to Netbeans 6.9.0
Comment 6 Miloslav Metelka 2010-12-05 13:04:56 UTC
The GlyphGutter's FoldHierarchyListener must be changed not to trigger AWT tree lock-ing. I'll fix it.
Comment 7 David Strupl 2010-12-06 16:24:06 UTC
*** Bug 192487 has been marked as a duplicate of this bug. ***
Comment 8 David Strupl 2010-12-06 17:11:37 UTC
I will do it when Mila is out of office. Mila please review.
Comment 9 David Strupl 2010-12-06 17:15:05 UTC
Should be fixed by
http://hg.netbeans.org/jet-main/rev/f21b2d1a1a5d
Comment 10 Miloslav Metelka 2010-12-09 15:11:38 UTC
I approve the fix.
Davide, thanks a lot.
Comment 11 David Strupl 2011-01-06 08:43:48 UTC
*** Bug 194024 has been marked as a duplicate of this bug. ***