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 - IDE freezes at .editor.HTML.indent()
Summary: IDE freezes at .editor.HTML.indent()
Status: VERIFIED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: HTML Editor (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Marek Fukala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-13 12:12 UTC by Martin Schovanek
Modified: 2009-05-18 10:47 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Full thread dump (13.02 KB, text/plain)
2007-04-13 12:13 UTC, Martin Schovanek
Details

Note You need to log in before you can comment on or make changes to this bug.
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)