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 134723 - Freeze moving off JSP with hints displayed
Summary: Freeze moving off JSP with hints displayed
Status: RESOLVED DUPLICATE of bug 132662
Alias: None
Product: editor
Classification: Unclassified
Component: Hints & Annotations (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@editor
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-08 09:55 UTC by soupdragon
Modified: 2008-05-22 09:33 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Stack trace from event queue thread (4.14 KB, text/plain)
2008-05-08 09:56 UTC, soupdragon
Details
Complete stackdump from hung Netbeans (22.69 KB, text/plain)
2008-05-22 09:05 UTC, soupdragon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description soupdragon 2008-05-08 09:55:17 UTC
Three times now I've had the IDE Freeze solid trying to copy a block from a JSP. It happens when I click a document tab
to move to the JSP I'm trying to copy into (or, it seems, any other document window).

JConsole shows the trace for the AWT-Eventqueue I've attached. The headline is:

Name: AWT-EventQueue-1
State: WAITING on org.openide.text.CloneableEditor$DoInitialize@1724bdb
Total blocked: 376  Total waited: 1,622

Stack trace: 
java.lang.Object.wait(Native Method)
java.lang.Object.wait(Object.java:485)
org.openide.text.CloneableEditor$DoInitialize.initDocument(CloneableEditor.java:351)
org.openide.text.CloneableEditor$DoInitialize.initVisual(CloneableEditor.java:367)
org.openide.text.CloneableEditor.getEditorPane(CloneableEditor.java:812)
org.netbeans.modules.java.hints.infrastructure.HintAction.getCurrentFile(HintAction.java:100)

(A wait on the dispatcher thread is never a good sign. Netbeans has always liked to fail by freezing the GUI. Can we
have a JMX operation to save all files and close for when this happens?)
Comment 1 soupdragon 2008-05-08 09:56:09 UTC
Created attachment 61161 [details]
Stack trace from event queue thread
Comment 2 Vitezslav Stejskal 2008-05-18 17:37:23 UTC
The stacktrace of the event queue thread is not enough to diagnose the problem.  Could you please generate full thread
dump (eg. see http://wiki.netbeans.org/GenerateThreadDump)? If there was a deadlock the FTD should show it. Thank you
Comment 3 soupdragon 2008-05-22 09:05:56 UTC
Created attachment 61739 [details]
Complete stackdump from hung Netbeans
Comment 4 soupdragon 2008-05-22 09:07:55 UTC
Here's the stack dump from jstack. It was depressing easy to get the IDE to hang, in fact I can't do anything productive
on netbeans6.1 at all at the moment (at least where JSPs are involved).

Comment 5 Jan Lahoda 2008-05-22 09:33:15 UTC
Please see issue #132662, thanks for the report.

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