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.
Tested using FX Cont trunk build 349 with SDK: Product: javafx-1.0dev, Platform: windows-i586, Build-Number: 708, Build-ID: 2008-10-13_03-09-52 on NB6.5: Product Version: NetBeans IDE Dev (Build 200810060201) 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 .fx file and paste following class Test { } 2. Go to end of file and press enter. Get NPE java.lang.NullPointerException at org.netbeans.api.javafx.lexer.JFXTokenId.isComment(JFXTokenId.java:498) at org.netbeans.modules.javafx.editor.JavaFXEditorKit$JavaInsertBreakAction.beforeBreak (JavaFXEditorKit.java:410) full source attached.
Created attachment 71686 [details] exception
Fixed.
Tested using FX Cont trunk build 370 with SDK: Product: javafx-1.0dev, Platform: windows-i586, Build-Number: 742, Build-ID: 2008-10-14_19-32-24 on NB6.5: Product Version: NetBeans IDE Dev (Build 200810130704) 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)