Apache OpenOffice (AOO) Bugzilla – Issue 12795
Unable to create instance of com.sun.start.office.SplashScreen
Last modified: 2004-05-26 10:15:28 UTC
If soffice does not get started from within the program dir a message window pops up telling me: The application could not be started: Unable to create instance of com.sun.start.office.SplashScreen Any ideas where to look and how to fix this ?
Hi Lars, please have check this problem. Looks like your service cannot be created during OOo startup.
The SplashScreen service gets registered at install time. If it cannot be instantiated, startup aborts because the installation could be flawed - but this will be changed, so we can start without it. Since it works when you start inside the program directory but the SpalshScreen is the first UNO service that gets instanciated I belive that teh UNO runtime is not able to load the component; could be an LD_LIBRARY_PATH related issue. Usually the soffice startscript takes care of including the program-dir in LD_LIBRARY_PATH.
Hi, Note that it happens with or without soffice script. If I set LD_LIBRARY_PATH manually to the program dir, the error is still the same. So this is a different issue :( Martin
The usage of the splashscreen can be disabled quit easily. in desktop/source/app/app.cxx:1231 rSplashScreen is created disable this line and all calls to XStatusIndicator::start(), setValue() and end() in app.cxx (setvalue is used throughou Desktop::Main()) and line 1551, the splashscreen is closed. If this solves your problem, there is a special problem with the splashscreen service which I will fix, when the next UNO service (ConfigMgr) fails too, we might have a problem with the UNO runtime.
sorry, there is also calls to setValue in desktop/src/wrp/offwrp/wrapper.cxx, those need to be disabled aswell
the depency on splashscreenm service will be removed with workspace fwk01
bugfix integrated in srx644m9s1 via fwk01
closing