vuu icon indicating copy to clipboard operation
vuu copied to clipboard

Exception when removing a column that is part of the current Sort

Open stonesmi opened this issue 3 months ago • 0 comments

Bug Report

Steps to Reproduce:

Create a view port Sort on a column Remove the sorted column from the view port

Expected Result:

Column is removed and the grid is no longer sorted by it.

Actual Result:

Exception is thrown and the view port is closed on the server side

Environment:

Vuu 0.9.87

Additional Context:

2025-09-19T11:09:36.725Z  WARN 1 --- [MemberAdminGUI] [tLoopGroup-4-14] o.f.v.n.w.WebSocketServerHandler         : Exception: Closing context

java.util.NoSuchElementException: None.get
        at scala.None$.get(Option.scala:627) ~[scala-library-2.13.16.jar:?]
        at scala.None$.get(Option.scala:626) ~[scala-library-2.13.16.jar:?]
        at org.finos.vuu.viewport.ViewPortContainer.$anonfun$parseSort$1(ViewPortContainer.scala:440) ~[vuu-0.9.87.jar:?]
        at scala.collection.immutable.List.map(List.scala:247) ~[scala-library-2.13.16.jar:?]
        at org.finos.vuu.viewport.ViewPortContainer.parseSort(ViewPortContainer.scala:440) ~[vuu-0.9.87.jar:?]
        at org.finos.vuu.viewport.ViewPortContainer.create(ViewPortContainer.scala:596) ~[vuu-0.9.87.jar:?]
        at org.finos.vuu.core.CoreServerApiHandler.process(CoreServerApiHandler.scala:339) ~[vuu-0.9.87.jar:

stonesmi avatar Sep 19 '25 14:09 stonesmi