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.
Build: NetBeans IDE Dev (Build 201003250201) VM: Java HotSpot(TM) Client VM, 14.1-b02, Java(TM) SE Runtime Environment, 1.6.0_15-b03 OS: Windows XP User Comments: sunflower: - Create a JavaFX project - Format the code in the editor Stacktrace: java.lang.AssertionError: Empty highlight at offset=276 at org.netbeans.modules.editor.lib2.view.HighlightsViewFactory.fetchNextHighlight(HighlightsViewFactory.java:183) at org.netbeans.modules.editor.lib2.view.HighlightsViewFactory.updateHighlight(HighlightsViewFactory.java:162) at org.netbeans.modules.editor.lib2.view.HighlightsViewFactory.createView(HighlightsViewFactory.java:127) at org.netbeans.modules.editor.lib2.view.ViewBuilder.createNextView(ViewBuilder.java:261) at org.netbeans.modules.editor.lib2.view.ViewBuilder.createViews(ViewBuilder.java:215) at org.netbeans.modules.editor.lib2.view.ViewUpdates.removeUpdate(ViewUpdates.java:332)
Created attachment 95901 [details] stacktrace
Affects the NB JavaFX plugin
Created attachment 96670 [details] stacktrace
No mention of empty highlights in Highlighting API so I have fixed views code to be prepared for that. http://hg.netbeans.org/jet-main/rev/104a7e578ca9
Integrated into 'main-golden', will be available in build *201004070201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/104a7e578ca9 User: Miloslav Metelka <mmetelka@netbeans.org> Log: #182854 - AssertionError: Empty highlight at offset=276.