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 190973

Summary: IndexOutOfBoundsException: Source does not fit in dest
Product: versioncontrol Reporter: Jaromir Uhrik <juhrik>
Component: SubversionAssignee: Tomas Stupka <tstupka>
Status: VERIFIED FIXED    
Severity: normal CC: jglick
Priority: P1    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 172991
Attachments: stacktrace

Description Jaromir Uhrik 2010-10-13 10:13:35 UTC
Build: NetBeans IDE 7.0 M2 (Build 201010121358)
VM: Java HotSpot(TM) 64-Bit Server VM, 16.3-b01-279, Java(TM) SE Runtime Environment, 1.6.0_20-b02-279-9M3165
OS: Mac OS X

User Comments:
jglick: Show Annotations on stapler-parent pom.xml.

juhrik: got this exception when called Show Annotations on a file that is remotely modified...




Stacktrace: 
java.lang.IndexOutOfBoundsException: Source does not fit in dest
   at java.util.Collections.copy(Collections.java:531)
   at org.netbeans.modules.subversion.ui.blame.AnnotationMarkProvider.setMarks(AnnotationMarkProvider.java:65)
   at org.netbeans.modules.subversion.ui.blame.AnnotationBar.run(AnnotationBar.java:773)
   at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
   at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1960)
Comment 1 Jaromir Uhrik 2010-10-13 10:13:39 UTC
Created attachment 102386 [details]
stacktrace
Comment 2 Jaromir Uhrik 2010-10-13 13:32:45 UTC
100% reproducible in the the mentioned build. Just call Show Annotations at any svn file and the exception arises. So this needs to be fixed to M2. Increasing the priority to P1.
Comment 3 Tomas Stupka 2010-10-13 14:03:46 UTC
fixed in http://hg.netbeans.org/cdev/rev/ef668312abdb
Comment 4 Ondrej Vrabec 2010-10-13 14:18:22 UTC
fixed also in 7.0 M2 as http://hg.netbeans.org/releases/rev/e8f50cce8a78
Comment 5 Marian Mirilovic 2010-10-18 10:10:04 UTC
verified in NB 7.0 M2