Bug 69040

Summary: Disabling Java gives unhelpful error message for Java adding registration - Could not create Java implementation loader
Product: LibreOffice Reporter: Christian Fries <email>
Component: LibreofficeAssignee: Not Assigned <libreoffice-bugs>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: medium CC: jbfaure
Version: 4.1.0.4 release   
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Christian Fries 2013-09-06 15:12:29 UTC
Registrating a Java UNO Addin in an LibreOffice for which the JRE is disabled (by
disabling "Use a Java runtime environment" in Perferences->Advanced) will result in the error message

Could not create Java implementation loader

This message is unhelpful.

Fix: Improve the error message to s.th. like
"This add in requires a Java runtime. Please enable the Java runtime in ...."
Comment 1 Christian Fries 2013-09-06 15:13:39 UTC
To reproduce:

- Disable Java runtime in Preferences->Advanced

- Download Obba.zip from http://www.obba.info and install Obba.oxt from "Obba for OpenOffice"
Comment 2 Jean-Baptiste Faure 2013-11-16 14:00:06 UTC
I reproduce the problem with LibreOffice 4.1.4.0.0+ and the master.
This exception is triggered here : http://opengrok.libreoffice.org/s?defs=CannotRegisterImplementationException&project=core

I agree that a more clear error message would be better.

Note: in fact the extension is installed (try a second time to install, you will get a message asking for reinstalling or canceling). 

Best regards. JBF

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.