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.
NetBeans IDE freezes while trying to open/parse HTML file. The file is standard HTML, but it contains PHPTAL template engine tags. The other HTML+PHPTAL files I'm editing seem to open normally. I'm unable to generate memory snapshot as IDE hangs completely, taking 100% CPU. The end of messages.log is filled with following lines: [...] INFO [org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer]: Disabled an invalid highlighting layer: hlStartOffset=13997 < previous hlEndOffset=14002 for layer=org.netbeans.modules.html.editor.coloring.EmbeddingHighlightsContainer@1dbff66 INFO [org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer]: Disabled an invalid highlighting layer: hlStartOffset=18678 < previous hlEndOffset=18682 for layer=org.netbeans.modules.html.editor.coloring.EmbeddingHighlightsContainer@1dbff66 INFO [org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer]: Disabled an invalid highlighting layer: hlStartOffset=16840 < previous hlEndOffset=16842 for layer=org.netbeans.modules.html.editor.coloring.EmbeddingHighlightsContainer@1dbff66 [...] Product Version = NetBeans IDE 7.3 (Build 201302132200) (#93e87decaddf) Operating System = Windows Vista version 6.0 running on x86 Java; VM; Vendor = 1.7.0_15; Java HotSpot(TM) Client VM 23.7-b01; Oracle Corporation Runtime = Java(TM) SE Runtime Environment 1.7.0_15-b03 Java Home = C:\Program Files\Java\jre7
The same situation under Arch Linux. Allso there is stacktrace in log file INFO [org.netbeans.spi.lexer.MutableTextInput]: !!WARNING!! Missing READ-LOCK when accessing TokenHierarchy: input-source:org.netbeans.modules.editor.NbEditorDocument@1f22a21f, mimeType='text/html', kitClass=null, length=311, version=1, file=org.netbeans.modules.html.HtmlDataObject@33883f44[/home/user/NetBeansProjects/test/src/java/com/stranger/Hello.html@ea2bb08c:dd5b353] java.lang.Exception at org.netbeans.lib.lexer.TokenHierarchyOperation.ensureReadLocked(TokenHierarchyOperation.java:397) at org.netbeans.lib.lexer.TokenHierarchyOperation.tokenSequence(TokenHierarchyOperation.java:422) at org.netbeans.api.lexer.TokenHierarchy.tokenSequence(TokenHierarchy.java:201) at org.netbeans.modules.web.wicket.tree.HtmlTreeBuilder.analyze(HtmlTreeBuilder.java:67) at org.netbeans.modules.web.wicket.tree.HtmlTreeBuilder.getTree(HtmlTreeBuilder.java:57) at org.netbeans.modules.web.wicket.verification.WicketProblemAnnotationProvider.annotate(WicketProblemAnnotationProvider.java:188) at org.netbeans.modules.web.wicket.verification.WicketProblemAnnotationProvider.annotate(WicketProblemAnnotationProvider.java:175) at org.netbeans.modules.web.wicket.verification.WicketProblemAnnotationProvider.annotate(WicketProblemAnnotationProvider.java:118) at org.netbeans.modules.web.wicket.verification.WicketProblemAnnotationProvider.annotate(WicketProblemAnnotationProvider.java:88) at org.openide.text.CloneableEditorSupport.ensureAnnotationsLoaded(CloneableEditorSupport.java:420) at org.openide.text.CloneableEditor$DoInitialize$3.run(CloneableEditor.java:870) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1432) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2044) FINE [org.netbeans.modules.web.wicket.verification]: Missing markup container tree for java file null NetBeans 7.3 jdk 1.7.0_21-b11
Please attach the file. I can do nothing w/o it. Thank you. The messages are likely unrelated. BTW you may take several threaddumps in the console, that would be almost as good as the snapshot.