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.
Deadlock.netbeans build 2043 (0725) build XP JDK1.6.0_01, 1.6.0_02 Glassfish V2 b56 #1 1. created a 1.4 vwp project. 2. switch to jsp view and attempt to edit 3. get hang (see attachments for thread dumps) >have to quit IDE task via taskmanager to recover #2 1. created an ee5 plain web project 2. attempt to edit opened jsp file >IDE hangs similarly #3 1. in a vwp ee5 project, created on webpages node in project view, a new cascading style sheet 2. open file and attempt to paste some copied data >IDE hangs
Created attachment 45737 [details] hangjspvw
Created attachment 45738 [details] hangplain
Created attachment 45739 [details] hangcss
AWT event dispatch thread is busy repainting the content of the editor - the same code running in all of the threaddumps: "AWT-EventQueue-1" prio=6 tid=0x3116f800 nid=0x1574 runnable [0x31d2d000..0x31d2fd14] java.lang.Thread.State: RUNNABLE at java.util.ArrayList.get(ArrayList.java:322) at java.util.AbstractList$Itr.next(AbstractList.java:345) at java.util.Collections$UnmodifiableCollection$1.next(Collections.java:1010) at org.netbeans.api.languages.ASTItem.findPath(ASTItem.java:148) at org.netbeans.api.languages.ASTItem.findPath(ASTItem.java:135) at org.netbeans.modules.languages.features.SemanticHighlightsLayer$Highlights.moveNext(SemanticHighlightsLayer.java:88) at org.netbeans.spi.editor.highlighting.support.OffsetsBag.addAllHighlightsImpl(OffsetsBag.java:552) at org.netbeans.spi.editor.highlighting.support.OffsetsBag.addAllHighlights(OffsetsBag.java:160) - locked <0x05ea1bd0> (a org.netbeans.modules.editor.lib2.highlighting.OffsetGapList) at org.netbeans.modules.editor.lib2.highlighting.CompoundHighlightsContainer.updateCach ... looks like an apparent regression of the Hanz recent migration from old DrawLayer-s api to the new highlight layers. Reassigning to Hanz for evaluation.
*** Issue 111099 has been marked as a duplicate of this issue. ***
*** Issue 111130 has been marked as a duplicate of this issue. ***
Has already been fixed: User: jjancura Date: 2007/07/26 02:08:56 Modified: languages/engine/src/org/netbeans/modules/languages/features/SemanticHighlightsLayer.java Log: fixing cycle File Changes: Directory: /languages/engine/src/org/netbeans/modules/languages/features/ ========================================================================= File [changed]: SemanticHighlightsLayer.java Url: http://languages.netbeans.org/source/browse/languages/engine/src/org/netbeans/modules/languages/features/SemanticHighlightsLayer.java?r1=1.2&r2=1.3 Delta lines: +2 -0 ------------------- --- SemanticHighlightsLayer.java 25 Jul 2007 12:12:29 -0000 1.2 +++ SemanticHighlightsLayer.java 26 Jul 2007 09:08:53 -0000 1.3 @@ -117,6 +117,8 @@ if (endOffset1 > startOffset1) return true; endOffset1 = path.getLeaf ().getEndOffset (); + if (endOffset1 == startOffset1) + endOffset1++; } while (endOffset1 < endOffset); return false; } --------------------------------------------------------------------- To unsubscribe, e-mail: cvs-unsubscribe@languages.netbeans.org For additional commands, e-mail: cvs-help@languages.netbeans.org
Verified fixed.