[MGNLUI-3205] NegativeArraySizeException while traversing big trees Created: 14/Oct/14  Updated: 05/Dec/14  Resolved: 21/Oct/14

Status: Closed
Project: Magnolia UI
Component/s: None
Affects Version/s: 5.2.2, 5.3.4
Fix Version/s: 5.2.11, 5.3.5

Type: Bug Priority: Neutral
Reporter: Zdenek Skodik Assignee: Aleksandr Pchelintcev
Resolution: Fixed Votes: 0
Labels: support
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File NegativeArraySizeException.log    
Issue Links:
relation
is related to MGNLUI-1530 Lazy loading doesn't play nice with p... Closed
is related to MGNLUI-282 Preparation for: Partial updates for ... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:

 Description   

To reproduce:

  • generate a tree of say 300 nodes at the same level, let the first node have also some children
  • expand the tree, use the scrollbar on the right to go to the bottom, and back to the top in order to click on the first node to collapse its subtree
  • an Internal error message should get rendered and the attached exception thrown (a video can be found at the linked ticket).


 Comments   
Comment by Aleksandr Pchelintcev [ 21/Oct/14 ]

When scrolling to the bottom and then back up - currentPageFirstItemIndex is not updated properly (the field is updated but with a wrong, stale value). This happens with our MagnoliaTreeTable as well as with stock Vaadin TreeTable iff partial row updates are forcibly enabled.

Generated at Mon Feb 12 09:04:16 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.