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 8.1 (Build 201510222201) VM: Java HotSpot(TM) 64-Bit Server VM, 25.60-b23, Java(TM) SE Runtime Environment, 1.8.0_60-b27 OS: Windows 8.1 User Comments: stefan79: Exception occured while editing in a java-file. Stacktrace: java.lang.StringIndexOutOfBoundsException: String index out of range: -9 at java.lang.String.substring(String.java:1931) at org.netbeans.modules.java.source.save.CasualDiff.diffTopLevel(CasualDiff.java:588) at org.netbeans.modules.java.source.save.CasualDiff.diffTreeImpl0(CasualDiff.java:4951) at org.netbeans.modules.java.source.save.CasualDiff.diffTreeImpl(CasualDiff.java:4873) at org.netbeans.modules.java.source.save.CasualDiff.diffTree(CasualDiff.java:4805) at org.netbeans.modules.java.source.save.CasualDiff.diffTree(CasualDiff.java:4788)
Created attachment 157410 [details] stacktrace
Reassigning to java/Source. Please evaluate.
Marking as duplicate. I added more diagnostic output in jet-main#f1cb612082e7. I used the origtext found in log to recreate the environment but I could not reproduce the defect. Part of the formatting optiosn did not print properly, so I've extended the output. *** This bug has been marked as a duplicate of bug 226498 ***
Integrated into 'main-silver', will be available in build *201604280002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/f1cb612082e7 User: Svata Dedic <sdedic@netbeans.org> Log: #226498, #256688: diagnostic output added