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 271901

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

Description muellermi 2017-12-10 21:09:31 UTC
Build: NetBeans IDE Dev (Build 201712050002)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.151-b12, Java(TM) SE Runtime Environment, 1.8.0_151-b12
OS: Linux

User Comments:
muellermi: auto remove redundant if




Stacktrace: 
java.lang.IllegalArgumentException: Copying to 2018 is greater then its size (2015).
   at org.netbeans.modules.java.source.save.CasualDiff.copyTo(CasualDiff.java:5765)
   at org.netbeans.modules.java.source.save.CasualDiff.copyTo(CasualDiff.java:5744)
   at org.netbeans.modules.java.source.save.CasualDiff.diffReturn(CasualDiff.java:2052)
   at org.netbeans.modules.java.source.save.CasualDiff.diffTreeImpl0(CasualDiff.java:5279)
   at org.netbeans.modules.java.source.save.CasualDiff.diffTreeImpl(CasualDiff.java:5112)
   at org.netbeans.modules.java.source.save.CasualDiff.diffTree(CasualDiff.java:5040)
Comment 1 muellermi 2017-12-10 21:09:43 UTC
Created attachment 165550 [details]
stacktrace