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 - IndexOutOfBoundsException: Source does not fit in dest
Summary: IndexOutOfBoundsException: Source does not fit in dest
Status: VERIFIED FIXED
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Subversion (show other bugs)
Version: 6.x
Hardware: All All
: P1 normal (vote)
Assignee: Tomas Stupka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-13 10:13 UTC by Jaromir Uhrik
Modified: 2010-10-18 10:10 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 172991


Attachments
stacktrace (1.34 KB, text/plain)
2010-10-13 10:13 UTC, Jaromir Uhrik
Details

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