libreoffice-6.2.2.2 component context fails to supply service com.sun.star.ui.ModuleUIConfigurationManager

Stephan Bergmann sbergman at redhat.com
Mon Apr 15 06:56:50 UTC 2019


On 15/04/2019 08:19, John Frankish wrote:
> Libreoffice-6.2.2.2 compiles on a 32-bit linux system, but will not run.
> 
> Strace does not show anything obvious - is there a way to debug the following error?
> 
> LibreOffice 6.2 - Fatal Error: The application cannot be started.
> component context fails to supply service com.sun.star.ui.ModuleUIConfigurationManager of type com.sun.star.ui.XModuleUIConfigurationManager2: an error occurred during file opening

That's an atypical combination of "component context fails to supply 
service ..." (thrown from generated code, presumably during 
css::ui::ModuleUIConfigurationManager::createDefault in 
ModuleUIConfigurationManagerSupplier::getUIConfigurationManager, 
framework/source/uiconfiguration/moduleuicfgsupplier.cxx) and "an error 
occurred during file opening" (the underlying error, generated in 
fileaccess::throw_handler, ucb/source/ucp/file/filglob.cxx) errors. 
Maybe an `strace -f` output would tell more after all---if you can put 
it somewhere I can have a look.

Another place that might be useful to debug is the 
ModuleUIConfigurationManager constructor in 
framework/source/uiconfiguration/moduleuiconfigurationmanager.cxx, if it 
is reached at all.  Also, configuring the build with --enable-debug or 
even --enable-dbgutil (where adding at least the latter requires a 
from-scratch rebuild via `make clean`, though) might give further useful 
stderr output.

What's the configure switches for your build?


More information about the LibreOffice mailing list