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 186194 - NullPointerException at org.netbeans.lib.lexer.LexerUtilsConstants.innerLanguage
Summary: NullPointerException at org.netbeans.lib.lexer.LexerUtilsConstants.innerLanguage
Status: VERIFIED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Lexer (show other bugs)
Version: 6.x
Hardware: All All
: P2 normal (vote)
Assignee: issues@editor
URL:
Keywords: REGRESSION
Depends on: 183998
Blocks:
  Show dependency tree
 
Reported: 2010-05-14 23:49 UTC by emiddio
Modified: 2010-06-07 13:03 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 169645


Attachments
stacktrace (4.43 KB, text/plain)
2010-05-14 23:49 UTC, emiddio
Details
stacktrace (4.45 KB, text/plain)
2010-05-18 08:07 UTC, aldobrucale
Details

Note You need to log in before you can comment on or make changes to this bug.
Description emiddio 2010-05-14 23:49:07 UTC
Build: NetBeans IDE Dev (Build 201005132200)
VM: Java HotSpot(TM) 64-Bit Server VM, 16.3-b01, Java(TM) SE Runtime Environment, 1.6.0_20-b02
OS: Windows 7

Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.lib.lexer.LexerUtilsConstants.innerLanguage(LexerUtilsConstants.java:175)
   at org.netbeans.api.lexer.TokenChange.language(TokenChange.java:94)
   at org.netbeans.api.lexer.TokenHierarchyEvent.tokenChange(TokenHierarchyEvent.java:96)
   at org.netbeans.modules.editor.java.TokenBalance$LanguageHandler.handleEvent(TokenBalance.java:189)
   at org.netbeans.modules.editor.java.TokenBalance.tokenHierarchyChanged(TokenBalance.java:96)
   at org.netbeans.lib.lexer.TokenHierarchyOperation.fireTokenHierarchyChanged(TokenHierarchyOperation.java:517)
Comment 1 emiddio 2010-05-14 23:49:11 UTC
Created attachment 99034 [details]
stacktrace
Comment 2 aldobrucale 2010-05-18 08:07:56 UTC
Created attachment 99118 [details]
stacktrace

ctrl-z in java code
Comment 3 Vitezslav Stejskal 2010-05-18 09:45:23 UTC
This looks like a regression caused by fixing issue #183998 - see http://hg.netbeans.org/jet-main/rev/3fc9e777caa9.
Comment 4 Miloslav Metelka 2010-05-19 14:38:54 UTC
This problem should be fixed by issue 186240 which is both in trunk and release69.
Comment 5 Peter Pis 2010-06-07 13:03:49 UTC
V. NetBeans IDE 6.9 (Build 201006041701)