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 103317 - NPE when cursor on last line in css file
Summary: NPE when cursor on last line in css file
Status: VERIFIED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: CSS Visual Tools (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Marek Fukala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-04 13:33 UTC by Radim Roska
Modified: 2008-04-28 13:37 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
exception (881 bytes, text/plain)
2007-05-04 13:33 UTC, Radim Roska
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Radim Roska 2007-05-04 13:33:03 UTC
NetBeans IDE Dev (Build 070504)
1.6.0_02-ea; Java HotSpot(TM) Client VM 1.6.0_02-ea-b02
Linux version 2.6.17-11-generic running on i386
en_US (nb); UTF-8

For example create new css file and click on 18th line ( or you can move there
by keyboard). NPE is fired. 18th line is not yet edited line. If you move there
by pressing enter, its ok.
Comment 1 Radim Roska 2007-05-04 13:33:49 UTC
Created attachment 42131 [details]
exception
Comment 2 Marek Fukala 2007-05-04 13:45:13 UTC
fixed in Schlieman

Checking in BraceHighlighting.java;
/cvs/languages/engine/src/org/netbeans/modules/languages/features/BraceHighlighting.java,v
 <--  BraceHighlighting.java
new revision: 1.5; previous revision: 1.4
done
Comment 3 Radim Roska 2007-05-07 14:43:39 UTC
VERIFIED