Consider this Basic code: sub crash Dim args1(0) As New com.sun.star.beans.PropertyValue args1(0).Name = "Hidden" args1(0).Value = True doc = StarDesktop.loadComponentFromURL("private:factory/scalc", "_blank", 0, args1()) sheet = doc.Sheets(0) sheet.getCellRangeByName("A1").Formula = "values" sheet.getCellRangeByName("A2").Formula = "0" sheet.getCellRangeByName("A3").Formula = "1" frame = doc.CurrentController.Frame dispatcher = createUnoService("com.sun.star.frame.DispatchHelper") Dim args2(0) As New com.sun.star.beans.PropertyValue args2(0).Name = "ToPoint" args2(0).Value = "$A$1" dispatcher.executeDispatch(frame, ".uno:GoToCell", "", 0, args2()) dispatcher.executeDispatch(frame, ".uno:DataFilterAutoFilter", "", 0, Array()) doc.close(true) end sub It crashes on the dispatching of .uno:DataFilterAutoFilter.
Reproduced in Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: e6e7b8498aba69af8eee8edd1d3a1fb17c36836a CPU threads: 8; OS: Linux 6.1; UI render: default; VCL: gtk3 Locale: es-ES (es_ES.UTF-8); UI: en-US Calc: threaded and Version: 24.2.0.0.alpha1+ (X86_64) / LibreOffice Community Build ID: 898d5d470e24a55556f2fb244fec24df33ba8855 CPU threads: 8; OS: Linux 6.1; UI render: default; VCL: gtk3 Locale: es-ES (es_ES.UTF-8); UI: en-US Calc: threaded but not with Version: 7.0.7.0.0+ Build ID: 626ea4e62a3e5005fe9825923a1c0c5bdb61cc08 CPU threads: 8; OS: Linux 6.1; UI render: default; VCL: gtk3 Locale: es-ES (es_ES.UTF-8); UI: en-US Calc: threaded
https://gerrit.libreoffice.org/c/core/+/173435
Mike Kaganski committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/7cebd7df0cfcbf906848bfbbdee614fdbd90af8a tdf#162987: check return value of GetViewBindings It will be available in 25.2.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Mike Kaganski committed a patch related to this issue. It has been pushed to "libreoffice-24-8": https://git.libreoffice.org/core/commit/01ddcbbff6ac3a54c9bafdbd260820b6a4f75d18 tdf#162987: check return value of GetViewBindings It will be available in 24.8.2. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Mike Kaganski committed a patch related to this issue. It has been pushed to "libreoffice-24-2": https://git.libreoffice.org/core/commit/93a78d4a90cdc41d166e65d402ac244f4fa376ec tdf#162987: check return value of GetViewBindings It will be available in 24.2.7. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.