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 258052

Summary: IllegalArgumentException: Copying to 11529 is greater then its size (11524).
Product: platform Reporter: crosati <crosati>
Component: FilesystemsAssignee: Jaroslav Havlin <jhavlin>
Status: NEW ---    
Severity: normal CC: bteklu, crosati, theshadow27
Priority: P3    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 222602
Attachments: stacktrace
stacktrace
stacktrace

Description crosati 2016-02-18 15:29:08 UTC
This bug was originally marked as duplicate of bug 250312, 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 (Build 201510222201)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.74-b02, Java(TM) SE Runtime Environment, 1.8.0_74-b02
OS: Mac OS X

User Comments:
crosati: -




Stacktrace: 
java.lang.IllegalArgumentException: Copying to 11529 is greater then its size (11524).
   at org.netbeans.modules.java.source.save.CasualDiff.copyTo(CasualDiff.java:5504)
   at org.netbeans.modules.java.source.save.CasualDiff.copyTo(CasualDiff.java:5483)
   at org.netbeans.modules.java.source.save.CasualDiff.diffTrailingComments(CasualDiff.java:3886)
   at org.netbeans.modules.java.source.save.CasualDiff.diffTreeImpl0(CasualDiff.java:5167)
   at org.netbeans.modules.java.source.save.CasualDiff.diffTreeImpl(CasualDiff.java:4873)
   at org.netbeans.modules.java.source.save.CasualDiff.diffTree(CasualDiff.java:4805)
Comment 1 crosati 2016-02-18 15:29:10 UTC
Created attachment 158558 [details]
stacktrace
Comment 2 theshadow27 2017-04-24 17:46:13 UTC
Created attachment 164177 [details]
stacktrace

copy and paste variable name over top of another variable
Comment 3 Exceptions Reporter 2017-06-06 12:58:07 UTC
Created attachment 164476 [details]
stacktrace

Has crashed.