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 146131 - NPE in editor: javac.util.Name.append
Summary: NPE in editor: javac.util.Name.append
Status: VERIFIED WORKSFORME
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: 146952
  Show dependency tree
 
Reported: 2008-09-04 08:41 UTC by Alexandr Scherbatiy
Modified: 2008-09-18 10:55 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log file (58.13 KB, text/plain)
2008-09-04 08:41 UTC, Alexandr Scherbatiy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandr Scherbatiy 2008-09-04 08:41:09 UTC
Project JavaFX_NB_Plugin_NB65_daily: #229 	04-Sep-2008 02:01:21
Product Version         = NetBeans IDE Dev (Build 200809031401)
Operating System        = Windows XP version 5.1 running on x86
Java; VM; Vendor        = 1.6.0_10-beta; Java HotSpot(TM) Client VM 11.0-b11; Sun Microsystems Inc.

Steps to reproduce:

- Create a JavaFX Script project
- Type 'System.'
  The NPE pops up:

java.lang.NullPointerException
	at com.sun.tools.javac.util.Name.append(Name.java:314)
	at com.sun.tools.javac.code.Symbol$TypeSymbol.formFullName(Symbol.java:508)
	at com.sun.tools.javac.code.Symbol$ClassSymbol.<init>(Symbol.java:696)
	at com.sun.tools.javac.code.Type$ErrorType.<init>(Type.java:1190)
	at com.sun.tools.javafx.comp.JavafxAttr.selectSym(JavafxAttr.java:729)
	at com.sun.tools.javafx.comp.JavafxAttr.visitSelect(JavafxAttr.java:601)
	at com.sun.tools.javafx.tree.JFXSelect.accept(JFXSelect.java:52)
	at com.sun.tools.javafx.comp.JavafxAttr.attribTree(JavafxAttr.java:266)
	at com.sun.tools.javafx.comp.JavafxAttr.attribExpr(JavafxAttr.java:302)
	at com.sun.tools.javafx.comp.JavafxAttr.visitBlockExpression(JavafxAttr.java:1237)
	at com.sun.tools.javafx.tree.JFXBlock.accept(JFXBlock.java:78)
	at com.sun.tools.javafx.comp.JavafxAttr.attribTree(JavafxAttr.java:266)
	at com.sun.tools.javafx.comp.JavafxAttr.attribExpr(JavafxAttr.java:292)
Comment 1 Alexandr Scherbatiy 2008-09-04 08:41:30 UTC
Created attachment 69014 [details]
IDE log file
Comment 2 Lark Fitzgerald 2008-09-17 15:11:59 UTC
This error no longer occurs.  Now the completion list appears with no exception.

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 3 Alexandr Scherbatiy 2008-09-18 10:55:42 UTC
verified in 2008-09-18_05-17-09.zip