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 247213 - IllegalArgumentException: Copying to 443816 is greater then its size (443720).
Summary: IllegalArgumentException: Copying to 443816 is greater then its size (443720).
Status: RESOLVED DUPLICATE of bug 240803
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-09-17 12:27 UTC by stefan79
Modified: 2014-09-19 04:36 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 211084


Attachments
stacktrace (5.55 KB, text/plain)
2014-09-17 12:27 UTC, stefan79
Details

Note You need to log in before you can comment on or make changes to this bug.
Description stefan79 2014-09-17 12:27:27 UTC
Build: NetBeans IDE 8.0.1 (Build 201408251540)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.20-b23, Java(TM) SE Runtime Environment, 1.8.0_20-b26
OS: Windows 8

User Comments:
stefan79: Exception after editing.

GUEST: Error during editing file.

GUEST: Error during editing file.

GUEST: Editing a big mess of imported java
looking for classes and cleaning up imports




Stacktrace: 
java.lang.IllegalArgumentException: Copying to 443816 is greater then its size (443720).
   at org.netbeans.modules.java.source.save.CasualDiff.copyTo(CasualDiff.java:5383)
   at org.netbeans.modules.java.source.save.CasualDiff.copyTo(CasualDiff.java:5362)
   at org.netbeans.modules.java.source.save.CasualDiff.diffTrailingComments(CasualDiff.java:3823)
   at org.netbeans.modules.java.source.save.CasualDiff.diffTreeImpl(CasualDiff.java:5050)
   at org.netbeans.modules.java.source.save.CasualDiff.diffTree(CasualDiff.java:4709)
   at org.netbeans.modules.java.source.save.CasualDiff.diffTree(CasualDiff.java:4697)
Comment 1 stefan79 2014-09-17 12:27:29 UTC
Created attachment 149297 [details]
stacktrace
Comment 2 Jaroslav Havlin 2014-09-19 04:36:58 UTC

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