Community
Participate
Working Groups
!ENTRY org.eclipse.orion.server.git 4 0 2012-01-16 09:40:46.784 !MESSAGE An error occured when listing tags for file/a9/ !STACK 0 java.lang.IndexOutOfBoundsException: Index: 1, Size: 1 at java.util.ArrayList.RangeCheck(Unknown Source) at java.util.ArrayList.get(Unknown Source) at org.eclipse.orion.server.git.jobs.ListTagsJob.performJob(ListTagsJob.java:138) at org.eclipse.orion.server.core.tasks.TaskJob.run(TaskJob.java:124) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) This happens when the page size is bigger than the actual size of the tag list. For example you have 3 tags and you are requesting ?page=1&pageSize=5. In my case the following change in ListTagsJob line 137 helped: for (int i = firstTag; (i <= lastTag && i < tags.size()); i++) {
fixed