Description: After version 6.3 java language scripts cannot use classes other than the one containing the method started with the macro, despite being in the same jar file. Steps to Reproduce: I am attaching an ods file Actual Results: Type: com.sun.star.reflection.InvocationTargetException Message: Scripting Framework error executing script TargetException: Type: com.sun.star.script.provider.ScriptExceptionRaisedException Message: java.lang.NoClassDefFoundError: com/mypackages/lo/Test$InnerClass. Expected Results: No error Reproducible: Always User Profile Reset: No Additional Info: No other information
Created attachment 183332 [details] ods with java macro
No error }all button works] in Version: 7.5.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: cfc8a8f5d841b3f84d207196153be67da7f60652 CPU threads: 4; OS: Linux 5.15; UI render: default; VCL: gtk3 Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US Calc: threaded and Version: 7.4.2.3 / LibreOffice Community Build ID: 382eef1f22670f7f4118c8c2dd222ec7ad009daf CPU threads: 4; OS: Linux 5.15; UI render: default; VCL: gtk3 Locale: cs-CZ (cs_CZ.UTF-8); UI: cs-CZ Calc: threaded please test with actual version. Thank you.
Works. I'm sorry. I haven't tested my macros on the latest version of libreoffice.