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 146362 - NPE after typing public in a class
Summary: NPE after typing public in a class
Status: VERIFIED WORKSFORME
Alias: None
Product: javafx
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All Windows Vista
: P2 blocker (vote)
Assignee: David Strupl
URL:
Keywords:
Depends on:
Blocks: 146952
  Show dependency tree
 
Reported: 2008-09-05 19:25 UTC by Lark Fitzgerald
Modified: 2008-09-18 10:59 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
exception text (1.45 KB, text/plain)
2008-09-05 19:26 UTC, Lark Fitzgerald
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lark Fitzgerald 2008-09-05 19:25:35 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. open/create a fx project
2. right click package > New > JavaFX Class (take the defaults)
3. move cursor inside NewJavaFXClass and type:
public

This generates a NPE:
java.lang.NullPointerException
	at com.sun.tools.javafx.comp.JavafxMemberEnter.memberEnter(JavafxMemberEnter.java:399)
	at com.sun.tools.javafx.comp.JavafxMemberEnter.memberEnter(JavafxMemberEnter.java:411)

Full error attached.
Comment 1 Lark Fitzgerald 2008-09-05 19:26:09 UTC
Created attachment 69188 [details]
exception text
Comment 2 Lark Fitzgerald 2008-09-17 15:29:24 UTC
This issue is 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 3 Alexandr Scherbatiy 2008-09-18 10:59:25 UTC
verified in 2008-09-18_05-17-09.zip