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 228066

Summary: IllegalArgumentException: Copying to 3660 is greater then its size (3657).
Product: java Reporter: alied <alied>
Component: SourceAssignee: Svata Dedic <sdedic>
Status: RESOLVED INCOMPLETE    
Severity: normal CC: sdedic
Priority: P3    
Version: 7.3   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 199986
Attachments: stacktrace

Description alied 2013-03-28 21:24:20 UTC
Build: NetBeans IDE 7.3 (Build 201302132200)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.7-b01, Java(TM) SE Runtime Environment, 1.7.0_15-b03
OS: Windows 7

User Comments:
alied: dragging an drop from a method to another.




Stacktrace: 
java.lang.IllegalArgumentException: Copying to 3660 is greater then its size (3657).
   at org.netbeans.modules.java.source.save.CasualDiff.copyTo(CasualDiff.java:3761)
   at org.netbeans.modules.java.source.save.CasualDiff.copyTo(CasualDiff.java:3740)
   at org.netbeans.modules.java.source.save.CasualDiff.diffCommentLists(CasualDiff.java:3073)
   at org.netbeans.modules.java.source.save.CasualDiff.diffPrecedingComments(CasualDiff.java:2992)
   at org.netbeans.modules.java.source.save.CasualDiff.diffPrecedingComments(CasualDiff.java:2982)
   at org.netbeans.modules.java.source.save.CasualDiff.diffTreeImpl(CasualDiff.java:3234)
Comment 1 alied 2013-03-28 21:24:22 UTC
Created attachment 133190 [details]
stacktrace
Comment 2 Svata Dedic 2013-07-26 10:44:34 UTC
Cannot reproduce on 7.3 release or dev version - please attach your java formatting settings (export your options - Tools | Options -> Export, be sure to check All or Formatting)