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 143856

Summary: IDE hangs while switching to another document
Product: platform Reporter: Samaresh Panda <samaresh>
Component: TextAssignee: mslama <mslama>
Status: RESOLVED DUPLICATE    
Severity: blocker CC: issues, mmirilovic
Priority: P1 Keywords: THREAD
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: hung ide
thread dumps
java project

Description Samaresh Panda 2008-08-14 05:22:26 UTC
I had four documents open in the editor. I wanted to switch from one to the other and IDE hangs. See attached picture
and thread dump.
Comment 1 Samaresh Panda 2008-08-14 05:26:02 UTC
Created attachment 67356 [details]
hung ide
Comment 2 Samaresh Panda 2008-08-14 05:27:33 UTC
Created attachment 67357 [details]
thread dumps
Comment 3 Samaresh Panda 2008-08-14 05:29:30 UTC
I was switching from newXMLDocument1.xml to newXMLDocument_1.xml.
Comment 4 Samaresh Panda 2008-08-14 06:00:40 UTC
I have to admit that the file newXMLDocument_1.xml is pretty big. See attached project which contains these two files.
Comment 5 Samaresh Panda 2008-08-14 06:02:42 UTC
Created attachment 67363 [details]
java project
Comment 6 Samaresh Panda 2008-08-14 06:09:07 UTC
Windows Vista/JDK1.6.0_05.
Comment 7 Jan Lahoda 2008-08-14 07:50:14 UTC
There is a NPE in the dumps.txt that is possibly the cause. The AWT is waiting (forever?) somewhere in CloneableEditor.
Comment 8 mslama 2008-08-15 12:57:49 UTC
Please attach IDE log. Is it reproducible?
Comment 9 mslama 2008-08-15 13:12:55 UTC
It is already filed as #133236. It happens during IDE start when editor contains big XML or SQL file.

*** This issue has been marked as a duplicate of 133236 ***