Apache OpenOffice (AOO) Bugzilla – Issue 98302
Disabling the OOo Feedback Extension causesOOo to stop responding
Last modified: 2009-03-09 09:32:04 UTC
This bug occours with: OOo_3.0.1rc2_20090112_MacOSXIntel_install_en-US I was not able to find a OOo 3.0.1 RC2 field in "Found in Version:" thus I've selected OOo 3.0. Now back to the bug: Problem: In 3.0.1rc2_20090112 an attempt to disable the extension causes the program to stop responding, requiring a force quit. Here's the dialogue that accompanies the problem: http://n2.nabble.com/file/n2187774/xcu%2Bdoes%2Bnot%2Bexist.png Similarly, an attempt to remove the extension causes a problem. So, am I fairly stuck with it, or is there a simple approach to dealing with extensions that can not be removed? I removed the contents of ~/Library/Application Support/OpenOffice.org/3/user/uno_packages/cache/ and now all that remains are the three spelling-related extensions. I had a number of others installed, but they're all gone. OOo use of a cache seems to differ from my definition of a cache. I never imagined that clearing a cache could lead to apparent removal of features/extensions. Expected result: - Allow to disable Extensions, even if they don't work correctly. - Add a Safe Mode to OOo which disable all extensions
cc'ing Björn
reassigned
*** Issue 96352 has been marked as a duplicate of this issue. ***
cc'ing jl (as in Issue 96352) I think I might have found the reason for this issue: The extension contains a xcs-File at registry/schema/org/openoffice/Office/OOoImprovement.xcs in which Registry-Keys are described for org.openoffice.Office.OOoImprovement/Settings. Trying to introduce such a xcs in OOo fails because of the failed validation. I still have to verify if this is really the issue. If so, I would propose that the Extension Manager would have to validate xcs-Files and reject to install faulty extensions. @cj: "Add a Safe Mode to OOo which disable all extensions" Thats a different beast, please file a seperate bug.
Created attachment 59562 [details] errormessage
I just took a look at the errormessage (and made it an attachment, external link easily break). It is complaining about a file in "ice-toolbar.oxt', not in 'OOoImprovement.oxt'. @jl: Is the extension manager mixing up extensions here? Even if the Usage Tracking Extension is the root cause of this issue, the extension manager should isolate the issue there, shouldnt it?
.
Reproduction: -install OOoImprovement.oxt on Mac. -restart OOo -remove extension in ExtensionManager This issue is actually a crash but the crash reporter does not work properly. The culprit is the service manager which uses an invalid hash set iterator, when removing the factories of the services of the OOoImprovement extension. Therefore this crash can potentially happen on all platforms.
@jsk: please verify
Disabling works, though Tools/Options is not updated on the fly. I can re-enable the extension without problem. All actions require a restart of the application. I cannot deinstall the extension - exception is "Package Instance has already been disposed". However, this is now irrelevant as the extension is integrated into the product (meaning: No longer an extension). Verified.
'I cannot deinstall the extension - exception is "Package Instance has already been disposed".' FYI, thats another bug - the manifest of the extension was buggy.
Good in OOO310m4