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 146151 - NPE from semantic highlighter
Summary: NPE from semantic highlighter
Status: VERIFIED FIXED
Alias: None
Product: javafx
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: David Strupl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-04 10:32 UTC by David Strupl
Modified: 2008-09-09 18:49 UTC (History)
0 users

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 David Strupl 2008-09-04 10:32:25 UTC
In NB 6.5 after each key stroke ...

java.lang.NullPointerException
        at org.netbeans.modules.javafx.editor.semantic.SemanticHighlighter.setHighlights(SemanticHighlighter.java:163)
        at org.netbeans.modules.javafx.editor.semantic.SemanticHighlighter.process(SemanticHighlighter.java:136)
        at org.netbeans.modules.javafx.editor.semantic.SemanticHighlighter.run(SemanticHighlighter.java:117)
        at org.netbeans.modules.javafx.editor.semantic.SemanticHighlighter.run(SemanticHighlighter.java:82)
[catch] at org.netbeans.modules.javafx.source.scheduler.CompilationJob.run(CompilationJob.java:199)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:619)
Comment 1 David Strupl 2008-09-04 10:39:08 UTC
I'll fix this.
Comment 2 David Strupl 2008-09-04 10:45:15 UTC
Fixed by 1038:3bc89338d7d7
Comment 3 Lark Fitzgerald 2008-09-09 18:49:21 UTC
Tested using FX Cont trunk build 130 (Sep 9, 2008 4:49:22 PM) on NB6.5:
Product Version: NetBeans IDE Dev (Build 200809081401)
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)