rwblinn Well-Known Member Licensed User Longtime User Jun 12, 2016 #1 Hi, while adding data from a serial line to a listview, received following log information: Code: com.sun.javafx.scene.control.skin.VirtualFlow addTrailingCells INFORMATION: index exceeds maxCellCount. Check size calculations for class anywheresoftware.b4j.objects.ListViewWrapper$MyCallBack$1 Tried to reproduce, but not able as lost the serial line data. Any hints what the cause could be? Last edited: Jun 12, 2016
Hi, while adding data from a serial line to a listview, received following log information: Code: com.sun.javafx.scene.control.skin.VirtualFlow addTrailingCells INFORMATION: index exceeds maxCellCount. Check size calculations for class anywheresoftware.b4j.objects.ListViewWrapper$MyCallBack$1 Tried to reproduce, but not able as lost the serial line data. Any hints what the cause could be?
I inakigarm Well-Known Member Licensed User Longtime User Jun 12, 2016 #2 Haave you seen this http://stackoverflow.com/questions/...ly-add-new-data-to-tableview-and-scroll-to-it
Haave you seen this http://stackoverflow.com/questions/...ly-add-new-data-to-tableview-and-scroll-to-it
rwblinn Well-Known Member Licensed User Longtime User Jun 12, 2016 #4 No it did not - just an info warning. looked at the hint from @inakigarm and it seems indeed a timing issue in getting newdata while completing the scrollto event. For this case: The listview logs incoming data from the serial line via asyncstream eg. newdata is added to the listview followed by a scrollto(items.size - 1) to see the last entry. So this warning can probably be ignored.
No it did not - just an info warning. looked at the hint from @inakigarm and it seems indeed a timing issue in getting newdata while completing the scrollto event. For this case: The listview logs incoming data from the serial line via asyncstream eg. newdata is added to the listview followed by a scrollto(items.size - 1) to see the last entry. So this warning can probably be ignored.