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 135909

Summary: NPE in TreePath expanding some templates
Product: javafx Reporter: Lark Fitzgerald <lfitzgerald>
Component: EditorAssignee: Rastislav Komara <moonko>
Status: VERIFIED WORKSFORME    
Severity: blocker    
Priority: P2    
Version: 6.x   
Hardware: All   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:
Bug Depends on: 132764    
Bug Blocks:    
Attachments: full exception

Description Lark Fitzgerald 2008-05-27 16:29:17 UTC
fx trunk plugin: 574
nb trunk: netbeans-trunk-nightly-200805270004-javaee.zip

Type Bo and press Tab to expand

Editor trows NPE.  This happens for In, Nu, St, br and wh.  I see a different NPE when expanding other templates.


java.lang.NullPointerException
	at com.sun.source.util.TreePath.access$000(TreePath.java:38)
	at com.sun.source.util.TreePath$1.hasNext(TreePath.java:123)
Comment 1 Lark Fitzgerald 2008-05-27 16:29:54 UTC
Created attachment 61994 [details]
full exception
Comment 2 Lark Fitzgerald 2008-06-10 21:02:59 UTC
This is no longer reproducible using build:
Product Version: NetBeans IDE 6.1 (Build 200804211638)
Java: 1.6.0_10-beta; Java HotSpot(TM) Client VM 11.0-b11
System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb)
fx NB61 cb plugin: 260
Comment 3 Lark Fitzgerald 2008-06-13 14:47:13 UTC
verified again with nightly build 60.