https://bugs.documentfoundation.org/show_bug.cgi?id=160153

            Bug ID: 160153
           Summary: c.s.s.util.PathSettings: WrappedTargetRuntimeException
                    with attribute "Storage"
           Product: LibreOffice
           Version: 24.2.1.2 release
          Hardware: All
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: framework
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: oliver.brinz...@gmx.de

OPTION EXPLICIT
Sub Main
  Dim oPath
  oPath = createUnoService("com.sun.star.util.PathSettings")
'https://api.libreoffice.org/docs/idl/ref/interfacecom_1_1sun_1_1star_1_1util_1_1XPathSettings.html#a3ee6a14892709eb7acdf56afb3a18c77
'string Storage: Mail, News files and other information (for example, about FTP
Server) are stored here.

  msgbox oPath.Storage
End Sub

should return a path like:

file:///C:/Users/[MY_User]/AppData/Roaming/LibreOffice/4/user/store

but LO 24.2.1 throws an Exception:

BASIC-Laufzeitfehler.
Es ist eine Ausnahme aufgetreten 
Type: com.sun.star.lang.WrappedTargetRuntimeException
Message: non-RuntimeException occurred when accessing an interface type
attribute at
C:/cygwin64/home/buildslave/source/libo-core/stoc/source/corereflection/criface.cxx:263.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to