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.0 Beta (Build 201401141042) VM: Java HotSpot(TM) 64-Bit Server VM, 24.51-b03, Java(TM) SE Runtime Environment, 1.7.0_51-b13 OS: Windows 7 User Comments: Lolo_101: copy/past local field name. GUEST: Ctrl X in a Java editor gtzabari: Selected text, hit DEL button, exception thrown. choces: Copy and paste code. zdenek.rod: I deleted some line of file using ctrl+del. GUEST: Suppress a selection in Java editor Stacktrace: java.lang.IllegalArgumentException: Copying to 13464 is greater then its size (13344). at org.netbeans.modules.java.source.save.CasualDiff.copyTo(CasualDiff.java:5016) at org.netbeans.modules.java.source.save.CasualDiff.copyTo(CasualDiff.java:4995) at org.netbeans.modules.java.source.save.CasualDiff.diffTreeImpl(CasualDiff.java:4467) at org.netbeans.modules.java.source.save.CasualDiff.diffTree(CasualDiff.java:4398) at org.netbeans.modules.java.source.save.CasualDiff.diffTree(CasualDiff.java:4386) at org.netbeans.modules.java.source.save.CasualDiff.diffList(CasualDiff.java:3366)
Created attachment 145085 [details] stacktrace
The exception is thrown from java/Source. Reassigning. Please evaluate, thank you.
Created attachment 145254 [details] stacktrace Adding a type to a variable
Created attachment 146767 [details] stacktrace Exception occured while deleting lines in a java-file.
*** This bug has been marked as a duplicate of bug 217498 ***