To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=112107
                 Issue #|112107
                 Summary|inspect c.s.s.configuration.ConfigurationAccess - oo c
                        |rashes
               Component|scripting
                 Version|DEV300m80
                Platform|Unknown
                     URL|
              OS/Version|Windows, all
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|code
             Assigned to|kr
             Reported by|brinzing





------- Additional comments from [email protected] Fri Jun  4 08:32:38 
+0000 2010 -------
steps to reproduce:

- open basic ide
- paste sample basic code from below
- set a breakpoint at line "MsgBox o.getByName("ooName")"
- run macro
- add "o" to Watch list
- oo will crash (oo 3.2 will not crash)

 Microsoft Visual C++ Runtime Library
 Runtime Error! Program: C:\Program Files\OOo-dev 3\program\soffice.bin

REM  *****  BASIC  *****
OPTION EXPLICIT

Sub Main

        Dim o as Object
        Dim args(0) as new com.sun.star.beans.NamedValue

        args(0).Name = "nodepath"
        args(0).Value = "/org.openoffice.Setup/Product"
        o = CreateUnoService("com.sun.star.configuration.DefaultProvider")._
createInstanceWithArguments("com.sun.star.configuration.ConfigurationAccess", 
args)
        ' Set a breakpoint here and add "o" to "Watch"
        MsgBox o.getByName("ooName")
End Sub

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to