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 167876 - NPE MarkOccurrencesHighlighter.getJFXKind
Summary: NPE MarkOccurrencesHighlighter.getJFXKind
Status: VERIFIED FIXED
Alias: None
Product: javafx
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Anton Chechel
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-30 11:45 UTC by Alexandr Scherbatiy
Modified: 2009-07-01 13:01 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 Alexandr Scherbatiy 2009-06-30 11:45:34 UTC
marina-netbeans-plugin: #188

  Product Version         = NetBeans IDE 6.7 (Build 200906212001)
  Operating System        = Windows XP version 5.1 running on x86
  Java; VM; Vendor        = 1.6.0_12-ea; Java HotSpot(TM) Client VM 11.2-b01; Sun Microsystems Inc.


Steps to reproduce:

- Type 'import ja' in the editor
- Press <Ctrl+Space>
- Select javafx
The NPE pops up:

java.lang.NullPointerException
	at org.netbeans.modules.javafx.editor.semantic.MarkOccurrencesHighlighter.getJFXKind(MarkOccurrencesHighlighter.java:537)
	at org.netbeans.modules.javafx.editor.semantic.MarkOccurrencesHighlighter.processImpl(MarkOccurrencesHighlighter.java:200)
	at org.netbeans.modules.javafx.editor.semantic.MarkOccurrencesHighlighter.run(MarkOccurrencesHighlighter.java:115)
	at org.netbeans.modules.javafx.editor.semantic.MarkOccurrencesHighlighter.run(MarkOccurrencesHighlighter.java:84)
	at org.netbeans.modules.javafx.source.scheduler.CompilationJob.run(CompilationJob.java:200)
	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)
[catch] at java.lang.Thread.run(Thread.java:619)
Comment 1 Anton Chechel 2009-06-30 12:45:01 UTC
fixed
Comment 2 Alexandr Scherbatiy 2009-07-01 13:01:15 UTC
verified in marina-netbeans-plugin: #190