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 267517

Summary: IllegalArgumentException: Copying to 4288 is greater then its size (4285).
Product: platform Reporter: anton0xf <anton0xf>
Component: FilesystemsAssignee: Jaroslav Havlin <jhavlin>
Status: NEW ---    
Severity: normal CC: muellermi
Priority: P3    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 225703
Attachments: stacktrace
stacktrace
stacktrace
stacktrace

Description anton0xf 2016-08-10 08:58:58 UTC
This bug was originally marked as duplicate of bug 240803, 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 20160325-unknown-revn)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.102-b14, Java(TM) SE Runtime Environment, 1.8.0_102-b14
OS: Linux

User Comments:
anton0xf: nothing




Stacktrace: 
java.lang.IllegalArgumentException: Copying to 4288 is greater then its size (4285).
   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.diffClassDef(CasualDiff.java:914)
   at org.netbeans.modules.java.source.save.CasualDiff.diffTreeImpl0(CasualDiff.java:4957)
   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 anton0xf 2016-08-10 08:59:00 UTC
Created attachment 161618 [details]
stacktrace
Comment 2 muellermi 2018-02-23 17:38:42 UTC
Created attachment 165643 [details]
stacktrace

let NB create method
Comment 3 Exceptions Reporter 2018-02-23 17:38:47 UTC
This bug already has 20 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=225703
Comment 4 muellermi 2018-02-23 17:41:41 UTC
Created attachment 165644 [details]
stacktrace

let NB create method - wich does not create any
Comment 5 muellermi 2018-02-23 17:47:42 UTC
Created attachment 165645 [details]
stacktrace

let NB create method