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 135910

Summary: NPE in JFXIndentTask when 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 text.

Description Lark Fitzgerald 2008-05-27 16:34:44 UTC
See issue: http://www.netbeans.org/issues/show_bug.cgi?id=135909 and http://www.netbeans.org/issues/show_bug.cgi?
id=135796

fx trunk plugin: 574
nb trunk: netbeans-trunk-nightly-200805270004-javaee.zip

type ab and press Tab to expand

Get NPE:
java.lang.NullPointerException
	at org.netbeans.modules.javafx.editor.format.JFXIndentTask.applyAdjustments(JFXIndentTask.java:286)

This exception does not happen for all templates but it does happen for the following:
ab, as, at, bi, ca, cn, de, do, dol, el, eli, ex, fa, fi, for, fore, fu, if, ife, im, ind, ins, insa, insb, insf, 
insl, inv, iof, pa, pe, pr, pu, re, ro, selfi, selfiw, serr, so, sout, st, su, th, tof, tr, trid, trii, trin, trir, 
tw, var, we.
Comment 1 Lark Fitzgerald 2008-05-27 16:35:18 UTC
Created attachment 61995 [details]
full exception text.
Comment 2 Lark Fitzgerald 2008-06-10 21:08:15 UTC
This issue is no longer reproducible with 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:48:11 UTC
verified again using nightly build 60.