This may not be the most appropriate place to post this. I'm using OxygenOffice Professional 3.2 (OOo_3.2.0_100224_Win32Intel_install.exe), but this problem would probably also occur with other variants of OpenOffice.org.
After clicking File: New: Templates & Documents: Business Letter 1 (or 2, or 3, or …): Open, the document gets created as hoped, but I get Basic exception with the error message:
An exception occurred.
The OpenOffice.org Basic editor is displayed with the cursor on line 159 in .Tools, as shown in the source code snippet below:
Function LoadDialog(Libname as String, DialogName as String, Optional oLibContainer)
Dim oLib as Object
Dim oLibDialog as Object
Dim oRuntimeDialog as Object
If IsMissing(oLibContainer ) then
oLibContainer = DialogLibraries
oLib = oLibContainer.GetByName(Libname) '<-- This line throws Exception com.sun.star.container.NoSuchElementException
oLibDialog = oLib.GetByName(DialogName)
oRuntimeDialog = CreateUnoDialog(oLibDialog)
LoadDialog() = oRuntimeDialog
Setting a breakpoint here and using the Watch window, some of the variables have values as follows:
Libname = "Template"
DialogName = "TemplateDialog"
oLibContainer type = DialogLibraries
oLibContainer.ContainerLocationName = "Dialogs"
oLibContainer.ImplementationName = "com.sun.star.comp.sfx2.DialogLibraryContainer"
How can I fix this? Please let me know what further information I may provide that could be helpful.
Uninstalling OxygenOffice Professional 3.2 and installing (plain) OpenOffice.org 3.2 (OOo_3.2.0_Win32Intel_install_en-US.exe), I've confirmed that this problem affects OpenOffice.org 3.2 as well.
I'm going to post the same question in a forum there.
Log in to post a comment.