[Libreoffice-bugs] [Bug 119120] New: uno.util.Bootstrap.bootstrap() Exception

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Aug 6 10:58:20 UTC 2018


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

            Bug ID: 119120
           Summary: uno.util.Bootstrap.bootstrap() Exception
           Product: LibreOffice
           Version: 5.4.7.2 release
          Hardware: All
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: sdk
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: banabizo at gmail.com

Steps to reproduce:


1) Install LibreOffice_5.4.7.2_Win_x86.msi
2) Install LibreOffice_5.4.7.2_Win_x86_sdk.msi
3) Create a VisualStudio 2015 Project:
3.1) Append the delivered example  from the SDK Installation
"SpreadsheetDocHelper.cs"
3.2) Project configuration = x86
3.3) Add  useLegacyV2RuntimeActivationPolicy="true" to app.config
3.4) Reference the folowing libraries:
        LibreOffice_5.4.7.2_Win_x86_sdk\cli\cli_basetypes.dll
        LibreOffice_5.4.7.2_Win_x86_sdk\cli\cli_cppuhelper.dll
        LibreOffice_5.4.7.2_Win_x86_sdk\cli\cli_oootypes.dll
        LibreOffice_5.4.7.2_Win_x86_sdk\cli\cli_ure.dll
        LibreOffice_5.4.7.2_Win_x86_sdk\cli\cli_uretypes.dll

3.5) Adding code to add @"c:\Program Files (x86)\LibreOffice 5\program" to
"PATH"
3.6) Adding code to add @"c:\Program Files (x86)\LibreOffice 5\program" to
"UNO_PATH"
3.7) compile succefully
3.8) Unregister cli-Dlls from GAC using GACBrowser to force the application to
use 
the CLI-dlls from the location of the executable.


3.9) Run: Exception occured on the line m_xContext =
uno.util.Bootstrap.bootstrap();

   cppu.bootstrap(Reference<com::sun::star::uno::XComponentContext>* )
     uno.util.Bootstrap.bootstrap()\r\n   bei
SpreadsheetDocHelper.connect(String[] args)


3.10) Here is the complete output:

\v4.0_4.0.0.0_de_b77a5c561934e089\mscorlib.resources.dll'. Module was built
without symbols.
The thread 0x1678 has exited with code 0 (0x0).
The thread 0x1f34 has exited with code 0 (0x0).
The thread 0x2944 has exited with code 0 (0x0).
'libreOfficeSdkTest.vshost.exe' (CLR v4.0.30319:
libreOfficeSdkTest.vshost.exe): Loaded
'C:\ddtest\libreOfficeSdkTest\libreOfficeSdkTest\bin\x86\Debug\libreOfficeSdkTest.exe'.
Symbols loaded.
'libreOfficeSdkTest.vshost.exe' (CLR v4.0.30319:
libreOfficeSdkTest.vshost.exe): Loaded
'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll'.
Cannot find or open the PDB file.
'libreOfficeSdkTest.vshost.exe' (CLR v4.0.30319:
libreOfficeSdkTest.vshost.exe): Loaded
'C:\ddtest\libreOfficeSdkTest\libreOfficeSdkTest\bin\x86\Debug\cli_uretypes.dll'.
Module was built without symbols.
'libreOfficeSdkTest.vshost.exe' (CLR v4.0.30319:
libreOfficeSdkTest.vshost.exe): Loaded
'C:\ddtest\libreOfficeSdkTest\libreOfficeSdkTest\bin\x86\Debug\cli_oootypes.dll'.
Module was built without symbols.
'libreOfficeSdkTest.vshost.exe' (CLR v4.0.30319:
libreOfficeSdkTest.vshost.exe): Loaded
'C:\ddtest\libreOfficeSdkTest\libreOfficeSdkTest\bin\x86\Debug\cli_cppuhelper.dll'.
Cannot find or open the PDB file.
'libreOfficeSdkTest.vshost.exe' (CLR v4.0.30319:
libreOfficeSdkTest.vshost.exe): Loaded
'C:\ddtest\libreOfficeSdkTest\libreOfficeSdkTest\bin\x86\Debug\cli_basetypes.dll'.
Module was built without symbols.
Exception thrown: 'System.Runtime.InteropServices.SEHException' in
cli_cppuhelper.dll
Additional information: Eine externe Komponente hat eine Ausnahme ausgelöst.

Exception thrown: 'System.Runtime.InteropServices.SEHException' in
libreOfficeSdkTest.exe
Additional information: Eine externe Komponente hat eine Ausnahme ausgelöst.

The thread 0x1d88 has exited with code 0 (0x0).
The thread 0x2e4 has exited with code 0 (0x0).
The program '[12584] libreOfficeSdkTest.vshost.exe: Program Trace' has exited
with code 0 (0x0).
The program '[12584] libreOfficeSdkTest.vshost.exe' has exited with code 0
(0x0).

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20180806/97bc809a/attachment-0001.html>


More information about the Libreoffice-bugs mailing list