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 147654 - NPE v4Lexer.mINVALIDC
Summary: NPE v4Lexer.mINVALIDC
Status: VERIFIED FIXED
Alias: None
Product: javafx
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All Windows Vista
: P2 blocker (vote)
Assignee: Rastislav Komara
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-18 20:13 UTC by Lark Fitzgerald
Modified: 2008-09-23 20:25 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
exception text (4.11 KB, text/plain)
2008-09-18 20:14 UTC, Lark Fitzgerald
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lark Fitzgerald 2008-09-18 20:13:32 UTC
Tested using FX Cont trunk build 191 on NB6.5:
Product Version: NetBeans IDE Dev (Build 20080916)
Java: 1.6.0_10-rc; Java HotSpot(TM) Client VM 11.0-b14
System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb)

Get NPE when typing one of the following chars in the editor:
\
`
~
!
@
^
&



java.lang.NullPointerException
	at org.netbeans.lib.javafx.lexer.v4Lexer.mINVALIDC(v4Lexer.java:4828)
	at org.netbeans.lib.javafx.lexer.v4Lexer.mTokens(v4Lexer.java:5683)
	at org.antlr.runtime.Lexer.nextToken(Lexer.java:84)

Full exception attached.
Comment 1 Lark Fitzgerald 2008-09-18 20:14:28 UTC
Created attachment 70118 [details]
exception text
Comment 2 David Strupl 2008-09-18 21:52:51 UTC
This one is for Rasta and is most probably caused by older lexer in the javafx.lexer module.
Comment 3 Rastislav Komara 2008-09-19 09:39:16 UTC
True. I try to fix it asap.
Comment 4 Rastislav Komara 2008-09-19 10:17:15 UTC
NPE was caused by null logger instance. Fixed and replaced by quiet logger.
Reported errors are visible if javafx.lexer log level is fine and lower.
Comment 5 Lark Fitzgerald 2008-09-23 20:25:00 UTC
Tested using FX Cont trunk build 229 with SDK:
Product: javafx-1.0dev Platform: windows-i586 Build-Number: 293 Build-ID: 2008-09-23_07-01-57  on NB6.5:
Product Version: NetBeans IDE Dev (Build 20080922)
Java: 1.6.0_10-rc; Java HotSpot(TM) Client VM 11.0-b14
System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb)