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: M0 NB: 6.0 Steps to reproduce: IndexOutOfBoundsException pops up when copy a sample to the JavaFX editor if the preview mode is enabled - Enable the preview mode - Copy the Tree sample code from the link to the JavaFX editor https://openjfx.dev.java.net/Getting_Started_With_JavaFX.html#trees The exceptions pops up: uncaught FX exception: java.lang.IndexOutOfBoundsException java.lang.IndexOutOfBoundsException: Illegal OffsetKind[offset=-1] in org.netbeans.modules.editor.javafx.FXDocument@b937ac, kitClass=class org.netbeans.modules.editor.javafx.FXKit, docLen=1235 used by org.openide.text.SimpleES@722368.
Fixed in trunk
Unable to reproduce the issue. Verified in Netbeans 6.0 Beta1 with JavaFX plugin version 1.0.2