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 100951

Summary: IDE freezes at .editor.HTML.indent()
Product: web Reporter: Martin Schovanek <mschovanek>
Component: HTML EditorAssignee: Marek Fukala <mfukala>
Status: VERIFIED FIXED    
Severity: blocker CC: pjiricka
Priority: P1    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: Full thread dump

Description Martin Schovanek 2007-04-13 12:12:23 UTC
[#070412-embedding_60 branch, jdk1.5.0]

to reproduce:
-------------
1) open Tools > Options dialog
2) choose Editor > Code Templates > HTML
3) add a new template
4) type in Expanded Text text-area:
|</ul>
5) press Enter

ERROR: IDE freezes with 100% CPU usage, see thread dump:
Comment 1 Martin Schovanek 2007-04-13 12:13:02 UTC
Created attachment 40881 [details]
Full thread dump
Comment 2 Martin Schovanek 2007-04-13 12:51:33 UTC
Reproducible in plain .html as well, create a new .html with only one line:
|</ul>
and press Enter.
Comment 3 Marek Fukala 2007-04-17 15:07:21 UTC
fixed

Checking in HTML.nbs;
/cvs/html/editor/src/org/netbeans/modules/html/editor/resources/HTML.nbs,v  <--
 HTML.nbs
new revision: 1.3; previous revision: 1.2
done
Comment 4 Jindrich Sedek 2007-11-08 15:37:57 UTC
verified.
NetBeans IDE 6.0 RC1 (Build 200711080000)