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 146357

Summary: Import <ctrl-space> does not show javafx packages
Product: javafx Reporter: Lark Fitzgerald <lfitzgerald>
Component: EditorAssignee: David Strupl <dstrupl>
Status: VERIFIED WORKSFORME    
Severity: blocker    
Priority: P2    
Version: 6.x   
Hardware: All   
OS: Windows Vista   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 146952    
Attachments: exception text

Description Lark Fitzgerald 2008-09-05 19:03:54 UTC
Tested using FX Cont trunk build 103 on NB6.5:
Product Version: NetBeans IDE Dev (Build 200809051401)
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)

1. create or open javafx project
2. type: (note: import has a space after it)
import  
3. press <ctrl+space>

list shows:
abstract
class
for
function
if
import
insert
new
public
return
reverse
throw
try
var
while

Was expecting to also see:

com
java
javafx
javax
org
sun
sunw

along with my project package.
Comment 1 Lark Fitzgerald 2008-09-05 19:08:54 UTC
IDE log shows:
Error in syntactic analysis in Main.fx:
java.lang.NullPointerException
        at com.sun.tools.javafx.antlr.v4Parser.identifier(v4Parser.java:9438)
        at com.sun.tools.javafx.antlr.v4Parser.importId(v4Parser.java:942)


Full error attached.
Comment 2 Lark Fitzgerald 2008-09-05 19:10:49 UTC
Created attachment 69187 [details]
exception text
Comment 3 Lark Fitzgerald 2008-09-17 15:26:21 UTC
No longer reproducible.
Tested using FX Cont trunk build 178 (Sep 10, 2008 4:20:38 PM) 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)
Comment 4 Alexandr Scherbatiy 2008-09-18 10:57:27 UTC
verified in 2008-09-18_05-17-09.zip