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 255103 - IllegalArgumentException: Copying to 2195 is greater then its size (1821).
Summary: IllegalArgumentException: Copying to 2195 is greater then its size (1821).
Status: RESOLVED DUPLICATE of bug 240803
Alias: None
Product: platform
Classification: Unclassified
Component: Filesystems (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Jaroslav Havlin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-08 17:10 UTC by khamberg
Modified: 2015-09-09 08:56 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 219790


Attachments
stacktrace (5.89 KB, text/plain)
2015-09-08 17:10 UTC, khamberg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description khamberg 2015-09-08 17:10:20 UTC
This bug was originally marked as duplicate of bug 217498, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 8.1 Beta (Build 201508041349)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.60-b23, Java(TM) SE Runtime Environment, 1.8.0_60-b27
OS: Windows 7

User Comments:
khamberg: Cutting a small chunk of java code from one function and pasting it into another in the same file




Stacktrace: 
java.lang.IllegalArgumentException: Copying to 2195 is greater then its size (1821).
   at org.netbeans.modules.java.source.save.CasualDiff.copyTo(CasualDiff.java:5502)
   at org.netbeans.modules.java.source.save.CasualDiff.copyTo(CasualDiff.java:5481)
   at org.netbeans.modules.java.source.save.CasualDiff.diffClassDef(CasualDiff.java:914)
   at org.netbeans.modules.java.source.save.CasualDiff.diffTreeImpl0(CasualDiff.java:4955)
   at org.netbeans.modules.java.source.save.CasualDiff.diffTreeImpl(CasualDiff.java:4871)
   at org.netbeans.modules.java.source.save.CasualDiff.diffTree(CasualDiff.java:4803)
Comment 1 khamberg 2015-09-08 17:10:21 UTC
Created attachment 155975 [details]
stacktrace
Comment 2 Jaroslav Havlin 2015-09-09 08:56:15 UTC
Duplicate of bug 240803.
Thank you for reporting.

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