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 - IllegalArgumentException: Copying to 2018 is greater then its size (2015).
Summary: IllegalArgumentException: Copying to 2018 is greater then its size (2015).
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: Filesystems (show other bugs)
Version: Dev
Hardware: All All
: P3 normal (vote)
Assignee: Jaroslav Havlin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-10 21:09 UTC by muellermi
Modified: 2017-12-10 21:09 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 231134


Attachments
stacktrace (3.82 KB, text/plain)
2017-12-10 21:09 UTC, muellermi
Details

Note You need to log in before you can comment on or make changes to this bug.
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