If Legacy Filters are not installed, Document Converter doesn't work. It completely fails to launch, just throwing a meaningless (that is, for normal users) error message and jumps to the code that caused the error. Possible solutions: if legacy filters are not installed, disable Document Converter menu entry or display a meaningful error message explaining the dependency instead of just erroring out and jumping to faulty line in code editor or fix Document Converter to work without legacy filters, conditionally disabling functionality that depends on them
Reproducible on Win7 Swedish with LibreOffice Beta 3. It seems to fail when trying to create the service com.sun.star.comp.office.BF_MigrateFilter I attach a screen-shot with the error message. I haven't looked at the code for the code for the service and it is probably there it should be fixed but a quick and dirty solution in BASIC is to create a function: Function createBF_MigrateFilterIfPossible() Dim oService On Error GoTo RTError oService = createUnoService("com.sun.star.comp.office.BF_MigrateFilter") getBinFilterCompIfItExists = oService Exit Function RTError: createBF_MigrateFilterIfPossible = Nothing End Function Then replace the line: oBinFilterComp = createUnoService( "com.sun.star.comp.office.BF_MigrateFilter" ) with: oBinFilterComp = createBF_MigrateFilterIfPossible()
Created attachment 55745 [details] The error message
*** Bug 45042 has been marked as a duplicate of this bug. ***
oh huh, *registered* but not actually installed. Current scenarios handled are "registered and installed" and "unregistered and not installed"
http://cgit.freedesktop.org/libreoffice/core/commit/?id=f3e40273b699910108007faf8a7991fe0498ad97 for master (3.6.0) http://cgit.freedesktop.org/libreoffice/core/commit/?h=libreoffice-3-5&id=13ba00aa224ed4fdf6b2acbda865a2d07a548369 for 3-5 (3.5.1)