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 182379 - IDE hangs after code formatting
Summary: IDE hangs after code formatting
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Parsing & Indexing (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P2 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-19 14:12 UTC by Alexandr Scherbatiy
Modified: 2010-04-02 05:06 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE screenshot (274.21 KB, image/png)
2010-03-19 14:12 UTC, Alexandr Scherbatiy
Details
IDE Thread Dump (21.43 KB, text/plain)
2010-03-19 14:13 UTC, Alexandr Scherbatiy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandr Scherbatiy 2010-03-19 14:12:13 UTC
NetBeans-JavaFX-Soma: #190


  Product Version         = NetBeans IDE Dev (Build 201003180200) (#b6d5e694ca8b)
  Operating System        = Windows XP version 5.1 running on x86
  Java; VM; Vendor        = 1.6.0_15; Java HotSpot(TM) Client VM 14.1-b02; Sun Microsystems Inc.


I invoked the code formatting, the Lengthy operation in progress dialog 
pops up and the IDE hanged after that.
Comment 1 Alexandr Scherbatiy 2010-03-19 14:12:49 UTC
Created attachment 95442 [details]
IDE screenshot
Comment 2 Alexandr Scherbatiy 2010-03-19 14:13:24 UTC
Created attachment 95443 [details]
IDE Thread Dump
Comment 3 Alexandr Scherbatiy 2010-03-19 14:13:45 UTC
"AWT-EventQueue-1" prio=6 tid=0x07212400 nid=0x1f8 in Object.wait() [0x07a4c000]
   java.lang.Thread.State: WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	- waiting on <0x14a78cd0> (a org.netbeans.modules.javafx.editor.JavaFXDocument)
	at java.lang.Object.wait(Object.java:485)
	at javax.swing.text.AbstractDocument.readLock(AbstractDocument.java:1372)
	- locked <0x14a78cd0> (a org.netbeans.modules.javafx.editor.JavaFXDocument)
	at org.netbeans.editor.BaseDocument.render(BaseDocument.java:1376)
	at org.openide.text.NbDocument$DocumentRenderer.renderToInt(NbDocument.java:679)
	at org.openide.text.NbDocument.findLineNumber(NbDocument.java:144)
	at org.netbeans.modules.editor.errorstripe.AnnotationView.getCurrentLine(AnnotationView.java:276)
	at org.netbeans.modules.editor.errorstripe.AnnotationView.paintComponent(AnnotationView.java:297)
	at javax.swing.JComponent.paint(JComponent.java:1029)
	at javax.swing.JComponent.paintChildren(JComponent.java:864)
	- locked <0x12003ec8> (a java.awt.Component$AWTTreeLock)
	at javax.swing.JComponent.paint(JComponent.java:1038)
	at javax.swing.JComponent.paintChildren(JComponent.java:864)
	- locked <0x12003ec8> (a java.awt.Component$AWTTreeLock)
	at javax.swing.JComponent.paint(JComponent.java:1038)
	at javax.swing.JComponent.paintChildren(JComponent.java:864)
	- locked <0x12003ec8> (a java.awt.Component$AWTTreeLock)
	at javax.swing.JComponent.paint(JComponent.java:1038)
	at javax.swing.JComponent.paintChildren(JComponent.java:864)
	- locked <0x12003ec8> (a java.awt.Component$AWTTreeLock)
	at javax.swing.JComponent.paint(JComponent.java:1038)
	at javax.swing.JComponent.paintChildren(JComponent.java:864)
	- locked <0x12003ec8> (a java.awt.Component$AWTTreeLock)
Comment 4 Tomas Zezula 2010-03-31 08:54:55 UTC
Fixed in jet-main 75d08ab52891
Comment 5 Quality Engineering 2010-04-02 05:06:43 UTC
Integrated into 'main-golden', will be available in build *201004020200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/75d08ab52891
User: Tomas Zezula <tzezula@netbeans.org>
Log: #182379:IDE hangs after code formatting