[CELUM-48] Pagination causes infinite loop of exceptions Created: 20/Jul/22 Updated: 02/Aug/22 Resolved: 02/Aug/22 |
|
| Status: | Closed |
| Project: | Celum DAM Connector |
| Component/s: | None |
| Affects Version/s: | 1.0.3 |
| Fix Version/s: | 1.0.4 |
| Type: | Bug | Priority: | Blocker |
| Reporter: | Tobias Szczepanski | Assignee: | Unassigned |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
| Template: | |
| Acceptance criteria: |
Empty
|
| Date of First Response: |
| Description |
Steps to reproduceUnfortunately we don't know. It works with one instance of Celum but not with the other. This screen recording shows the bug:
java.lang.IndexOutOfBoundsException: fromIndex = -190 at java.util.AbstractList.subListRangeCheck(AbstractList.java:505) ~[?:?] at java.util.ArrayList.subList(ArrayList.java:1138) ~[?:?] at info.magnolia.external.dam.celum.app.contentview.CelumListDataProvider.getItemsFromFolder(CelumListDataProvider.java:207) ~[celum-dam-connector-1.0.3.jar:?] at info.magnolia.external.dam.celum.app.contentview.CelumListDataProvider.fetchFromBackEnd(CelumListDataProvider.java:108) ~[celum-dam-connector-1.0.3.jar:?] at com.vaadin.data.provider.AbstractBackEndDataProvider.fetch(AbstractBackEndDataProvider.java:61) ~[vaadin-server-8.14.1.jar:8.14.1] at com.vaadin.data.provider.DataProviderWrapper.fetch(DataProviderWrapper.java:91) ~[vaadin-server-8.14.1.jar:8.14.1] at info.magnolia.ui.contentapp.FilterableListDataProvider.fetch(FilterableListDataProvider.java:61) ~[magnolia-ui-framework-6.2.18.jar:?] at com.vaadin.data.provider.DataCommunicator.fetchItemsWithRange(DataCommunicator.java:419) ~[vaadin-server-8.14.1.jar:8.14.1] at com.vaadin.data.provider.DataCommunicator.sendDataToClient(DataCommunicator.java:392) ~[vaadin-server-8.14.1.jar:8.14.1] at com.vaadin.data.provider.DataCommunicator.beforeClientResponse(DataCommunicator.java:354) ~[vaadin-server-8.14.1.jar:8.14.1] at com.vaadin.server.communication.UidlWriter.write(UidlWriter.java:126) ~[vaadin-server-8.14.1.jar:8.14.1] at com.vaadin.server.communication.UidlRequestHandler.writeUidl(UidlRequestHandler.java:125) ~[vaadin-server-8.14.1.jar:8.14.1] at com.vaadin.server.communication.UidlRequestHandler.synchronizedHandleRequest(UidlRequestHandler.java:93) ~[vaadin-server-8.14.1.jar:8.14.1] at com.vaadin.server.SynchronizedRequestHandler.handleRequest(SynchronizedRequestHandler.java:40) ~[vaadin-server-8.14.1.jar:8.14.1] at com.vaadin.server.VaadinService.handleRequest(VaadinService.java:1637) ~[vaadin-server-8.14.1.jar:8.14.1] at com.vaadin.server.VaadinServlet.service(VaadinServlet.java:464) ~[vaadin-server-8.14.1.jar:8.14.1] at info.magnolia.admincentral.AdmincentralServlet.service(AdmincentralServlet.java:119) ~[magnolia-admincentral-6.2.18.jar:?] at javax.servlet.http.HttpServlet.service(HttpServlet.java:764) ~[servlet-api.jar:4.0.FR]
Expected resultsAny asset can be selected without an error in the UI. Actual resultsThe UI runs into an infinite loop of errors (see screen recording). WorkaroundN/A Development notesMaybe this would best be verified through unit tests? The issue seems to be happening only within the root folder. Chris Chard are you able to check whether the asset "Kathrin Goebel - Pampas.jpg" (ID 911) and the folder "kuratierte Bilder" (ID 42559) are available on the Celum instance? It might be they have been deleted. |
| Comments |
| Comment by Christopher Chard [ 20/Jul/22 ] |
|
Magnolia UAT restart:
|