LibreOffice Base report failure to open

I am experiencing the following error when opening a LOBase report file

SQL Status: S1000

The document "MyReport" could not be opened. at /home/abuild/rpmbuild/BUILD/libreoffice-24.2.4.2/connectivity/source/commontools/dbexception.cxx:179

at /home/abuild/rpmbuild/BUILD/libreoffice-24.2.4.2/connectivity/source/commontools/dbexception.cxx:179

[jni_uno bridge error] UNO calling Java method execute: non-UNO exception occurred: java.lang.NoClassDefFoundError: Could not initialize class org.jfree.report.JFreeReportBoot
java stack trace:
java.lang.NoClassDefFoundError: Could not initialize class org.jfree.report.JFreeReportBoot
	at org.libreoffice.report.pentaho.PentahoReportEngine.<init>(PentahoReportEngine.java:34)
	at org.libreoffice.report.pentaho.SOReportJobFactory$_SOReportJobFactory.createReportJob(SOReportJobFactory.java:352)
	at org.libreoffice.report.pentaho.SOReportJobFactory$_SOReportJobFactory.execute(SOReportJobFactory.java:236)
 at /home/abuild/rpmbuild/BUILD/libreoffice-24.2.4.2/bridges/source/jni_uno/jni_uno2java.cxx:783 at /home/abuild/rpmbuild/BUILD/libreoffice-24.2.4.2/dbaccess/source/ui/misc/linkeddocuments.cxx:330

I am now running the following LO version

Version: 24.2.4.2 (X86_64) / LibreOffice Community
Build ID: 420(Build:2)
CPU threads: 2; OS: Linux 6.4; UI render: default; VCL: gtk3
Locale: en-GB (en_GB.UTF-8); UI: en-GB
Calc: threaded

The report had been working under LO version 7.1.6 and it also worked from LO version 24.2.4.2 obtained directly from the LO project site. Must I suspect an OpenSUSE Leap integration error?

Maybe the solution from Existing Base Report now opens with error - #10 works again?
Further information: 1195634 – Base Report does not work

Yes, you are right. The workaround in Bug 1195634 solves the problem.

i.e. LO / Tools / Options / Advanced then add classpath "/usr/share/java/apache-commons-logging.jar". Restart LO - reports work.

Whereby, I note that the addition of the classpath is done via Add Archive

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.