Jan-Peter RuschGetting an error 500 when listing the space inventory... Anyway, some good ideas implemented which can be solved with user macros (User Inventory).
2017-06-02 08:28:37,063 ERROR [ajp-nio-192.168.x.y-8009-exec-13] [common.error.jersey.ThrowableExceptionMapper] toResponse Uncaught exception thrown by REST service: Index: 0, Size: 0
-- referer: https://OURCONFLUENCESITE/confluence/plugins/servlet/confluence-support/admin/space-inventory-ajax | url: /confluence/rest/confluence-support/1.0/admin/space-info | traceId: df954688ad6e6d5d | userName: xyz
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.rangeCheck(ArrayList.java:653)
at java.util.ArrayList.get(ArrayList.java:429)
at com.keysight.confluence.support.rest.RestAdminService.getSpaceInfo(RestAdminService.java:202)
We've got about 65 global spaces & 55 personal spaces.
Was this review helpful?•
Vendor logoKeysight Technologies
Thanks for your feedback. Is there any more information you can provide about the 500 error?
Thanks for the update. Would you be so kind as to let me know how many spaces our instance has? The view uses javascript and the Confluence REST interface to get a list of all the spaces and then sequence through them. From the error message it looks like there is a condition where it's being asked to iterate through a list with no members and that is causing the problem - so it may be related to the number of spaces on your instance. (I did it this way because we have a lot of spaces and the web page times out if I try and pre-populate the list.)