<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - crash: use of "com.sun.star.ui.dialogs.FolderPicker" service from java seems to cause crashes since LO 6.1"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=123502">123502</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>crash: use of "com.sun.star.ui.dialogs.FolderPicker" service from java seems to cause crashes since LO 6.1
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>6.1.5.2 release
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>framework
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>oliver.brinzing@gmx.de
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=149331" name="attach_149331" title="beanshell script folderpicker">attachment 149331</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=149331&action=edit" title="beanshell script folderpicker">[details]</a></span>
beanshell script folderpicker

we noticed a strange problem when using "com.sun.star.ui.dialogs.FolderPicker"
service with java since LO 6.1. this did not happen with LO 5.4.

i am adding a beanshell script to demonstrate.

steps to reproduce with:

Version: 6.1.5.2 (x64)
Build ID: 90f8dcf33c87b3705e78202e3df5142b201bd805
CPU threads: 4; OS: Windows 10.0; UI render: default; 
Locale: de-DE (de_DE); Calc: 

- Menu Tools/Macros/Organize Macros.../BeanShell...
  - [Create] a Library
  - [Create] a Module
  - [EDIT]
  - Clear
  - copy attached Source Code
  - adjust Line 37: xFolderPicker.setDisplayDirectory("D:\\Temp\\"); 
    to a valid path
  - Save Macro
  - Run Macro
  - [Cancel] FolderPicker dialog
  - create a new writer document
  - close writer document
  - Run Macro again
  - [Cancel] FolderPicker
  - create a new writer document
  - crash

i tried serveral times with a new userprofile and can always 
reproduce the crash, no crashreport is triggered.

with attached debugger and 

Version: 6.3.0.0.alpha0+ (x64)
Build ID: 0ae876595e9d9af44fc4d4bc948f8a42d8a27e8d
CPU threads: 4; OS: Windows 10.0; UI render: default; VCL: win; 
Locale: de-DE (de_DE); UI-Language: en-US
Calc: threaded

i can see:

warn:vcl.schedule:1236:392:vcl/source/app/scheduler.cxx:368: we're too early -
restart the timer (6ms)!Ausnahme ausgelöst bei 0x00007FFC1E4F5549 in
soffice.bin: Microsoft C++-Ausnahme:
com::sun::star::ucb::InteractiveAugmentedIOException bei Speicherort
0x0000008D8D257340.
Ausnahme ausgelöst bei 0x00007FFC1E4F5549 in soffice.bin: Microsoft
C++-Ausnahme: com::sun::star::ucb::InteractiveAugmentedIOException bei
Speicherort 0x0000008D8D257340.
Ausnahme ausgelöst bei 0x00007FFC1E4F5549 in soffice.bin: Microsoft
C++-Ausnahme: com::sun::star::ucb::InteractiveAugmentedIOException bei
Speicherort 0x0000008D8D257340.
Ausnahme ausgelöst bei 0x00007FFC1E4F5549 in soffice.bin: Microsoft
C++-Ausnahme: com::sun::star::ucb::InteractiveAugmentedIOException bei
Speicherort 0x0000008D8D257340.
Ausnahme ausgelöst bei 0x00007FFC1E4F5549 in soffice.bin: Microsoft
C++-Ausnahme: com::sun::star::ucb::InteractiveAugmentedIOException bei
Speicherort 0x0000008D8D257340.
Ausnahmefehler bei 0x00007FFC1E16F08E (ucrtbase.dll) in soffice.bin:
Schwerwiegende Beendigung des Programms angefordert

Das Programm "[1236] soffice.bin" wurde mit Code 0 (0x0) beendet.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>