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.

Bug 241763 - IllegalArgumentException: Copying to 13464 is greater then its size (13344).
Summary: IllegalArgumentException: Copying to 13464 is greater then its size (13344).
Status: RESOLVED DUPLICATE of bug 217498
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-12 12:34 UTC by Exceptions Reporter
Modified: 2014-06-06 11:58 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 206350


Attachments
stacktrace (5.46 KB, text/plain)
2014-02-12 12:34 UTC, Exceptions Reporter
Details
stacktrace (6.72 KB, text/plain)
2014-02-16 14:40 UTC, choces
Details
stacktrace (5.46 KB, text/plain)
2014-04-15 13:35 UTC, stefan79
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2014-02-12 12:34:44 UTC
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)
Comment 1 Exceptions Reporter 2014-02-12 12:34:46 UTC
Created attachment 145085 [details]
stacktrace
Comment 2 Jaroslav Havlin 2014-02-13 06:22:30 UTC
The exception is thrown from java/Source. Reassigning. Please evaluate, thank you.
Comment 3 choces 2014-02-16 14:40:29 UTC
Created attachment 145254 [details]
stacktrace

Adding a type to a variable
Comment 4 stefan79 2014-04-15 13:35:24 UTC
Created attachment 146767 [details]
stacktrace

Exception occured while deleting lines in a java-file.
Comment 5 Svata Dedic 2014-06-06 11:58:41 UTC

*** This bug has been marked as a duplicate of bug 217498 ***