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 6.8 (Build 200912041610) VM: Java HotSpot(TM) Client VM, 16.0-b13, Java(TM) SE Runtime Environment, 1.6.0_18-b07 OS: SunOS Stacktrace: java.lang.IndexOutOfBoundsException: Illegal OffsetKind[offset=-1] in org.netbeans.modules.javafx.editor.JavaFXDocument@1934cb3, mimeType = 'text/x-fx', kitClass = null, length = 415, file=org.netbeans.modules.javafx.dataloader.JavaFXDataObject@eca6a8[/export/home/tester/NetBeansProjects/temp/01/MultiDim/src/mathematics/multidimensional/shape/MDSegment.fx] used by org.netbeans.modules.javafx.dataloader.JavaFXDataObject$JavaFXEditorSupport@15327cb. at org.openide.text.PositionRef$Manager$OffsetKind.<init>(PositionRef.java:657) at org.openide.text.PositionRef.<init>(PositionRef.java:84) at org.openide.text.CloneableEditorSupport.createPositionRef(CloneableEditorSupport.java:1523) at org.netbeans.modules.javafx.refactoring.impl.RenameRefactoringElement.getPosition(RenameRefactoringElement.java:128) at org.netbeans.modules.refactoring.spi.RefactoringElementsBag.isGuarded(RefactoringElementsBag.java:204) at org.netbeans.modules.refactoring.spi.RefactoringElementsBag.add(RefactoringElementsBag.java:109)
Created attachment 93557 [details] stacktrace
Solaris OS. NB 6.8 patch1. Steps to reproduce: - Open the attached project in the IDE https://netbeans.org/bugzilla/attachment.cgi?id=92506 - Open the mathematics.multidimensional.shape.MDShape class - Refactor->Rename the 'dim' attribute to 'dim2'
Created attachment 93561 [details] stacktrace The same is on the Mac OS
Fixed in release68_fixes branch, resp. not reproducible after merging TreePathHandle -> ElementLocation refactoring of "Refactoring". Please verify on NB 6.8 Fixes build #37+
Verified in NB 6.8 Patch1 2010-01-28_00-36-51