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 201503050001) VM: Java HotSpot(TM) 64-Bit Server VM, 25.31-b07, Java(TM) SE Runtime Environment, 1.8.0_31-b13 OS: Windows 8 User Comments: akobberup: Tryint to implement an interface in an inner class Stacktrace: java.lang.IllegalArgumentException: Invalid end offset: 275, start is: 305 at org.netbeans.spi.editor.fold.FoldInfo.<init>(FoldInfo.java:126) at org.netbeans.spi.editor.fold.FoldInfo.range(FoldInfo.java:117) at org.netbeans.modules.java.editor.fold.JavaElementFoldManager$JavaElementFoldTask$1.createInnerClassFold(JavaElementFoldManager.java:242) at org.netbeans.modules.java.editor.fold.JavaElementFoldManager$JavaElementFoldTask$1.createInnerClassFold(JavaElementFoldManager.java:234) at org.netbeans.modules.java.editor.base.fold.JavaElementFoldVisitor.visitClass(JavaElementFoldVisitor.java:209) at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:725)
Created attachment 152483 [details] stacktrace
Could you please attach the source file, or at least the part with the innerclass declaration ? I could not reproduce the defect so far.
I have not had this exception in the last week at least - so i guess that the exact conditions that triggered it are no longer present in my source, or i have not had been editing the file that caused the error (i have no recollection of what file that were). Please just close the issue, and i will reopen if i get the exception again.