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 182770 - NullPointerException at org.netbeans.modules.javafx.editor.hints.ExtImportWarningTaskFactory$1$1.visitImport
Summary: NullPointerException at org.netbeans.modules.javafx.editor.hints.ExtImportWar...
Status: VERIFIED FIXED
Alias: None
Product: javafx
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P2 normal (vote)
Assignee: Karol Harezlak
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-25 13:03 UTC by Alexandr Scherbatiy
Modified: 2010-03-26 11:48 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 167018


Attachments
stacktrace (1.82 KB, text/plain)
2010-03-25 13:03 UTC, Alexandr Scherbatiy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandr Scherbatiy 2010-03-25 13:03:53 UTC
Build: NetBeans IDE Dev (Build 201003250201)
VM: Java HotSpot(TM) Client VM, 14.1-b02, Java(TM) SE Runtime Environment, 1.6.0_15-b03
OS: Windows XP

Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.javafx.editor.hints.ExtImportWarningTaskFactory$1$1.visitImport(ExtImportWarningTaskFactory.java:90)
   at org.netbeans.modules.javafx.editor.hints.ExtImportWarningTaskFactory$1$1.visitImport(ExtImportWarningTaskFactory.java:86)
   at com.sun.tools.javafx.tree.JFXImport.accept(JFXImport.java:56)
   at com.sun.javafx.api.tree.JavaFXTreePathScanner.scan(JavaFXTreePathScanner.java:63)
   at com.sun.javafx.api.tree.JavaFXTreeScanner.scan(JavaFXTreeScanner.java:94)
   at com.sun.javafx.api.tree.JavaFXTreeScanner.scanAndReduce(JavaFXTreeScanner.java:111)
Comment 1 Alexandr Scherbatiy 2010-03-25 13:03:56 UTC
Created attachment 95797 [details]
stacktrace
Comment 2 Alexandr Scherbatiy 2010-03-25 13:24:06 UTC
Steps to reproduce:

- Type 'import '
- Invoke Code Completion
- Press Esc

The exception pops up
Comment 3 Karol Harezlak 2010-03-25 13:30:53 UTC
fixed,

http://hg.netbeans.org/javafx/rev/ffad1bfbcc5a
Comment 4 Alexandr Scherbatiy 2010-03-26 11:48:31 UTC
verified in NetBeans-JavaFX-Soma: #197