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 40790 - Typing "<>" at the beginning of jsp and html throw NPE
Summary: Typing "<>" at the beginning of jsp and html throw NPE
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: Sun Solaris
: P4 blocker (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-05 11:19 UTC by mtsuruta
Modified: 2004-08-13 12:12 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mtsuruta 2004-03-05 11:19:32 UTC
to reproduce this issue:
1. Create jsp and html.
2. Type <> at the beginning of the pages.
2. Throws following exception.

*********** Exception occurred ************ at Fri
Mar 05 20:14:31 JST 2004
java.lang.NullPointerException [catch] at
org.netbeans.editor.ext.html.HTMLFormatter.getReformatBlock(HTMLFormatter.java:144)
at
org.netbeans.editor.ext.ExtKit$ExtDefaultKeyTypedAction.checkIndentHotChars(ExtKit.java:806)
at
org.netbeans.editor.ext.ExtKit$ExtDefaultKeyTypedAction.actionPerformed(ExtKit.java:790)
at
org.netbeans.editor.BaseAction.actionPerformed(BaseAction.java:169)
...