<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 - CreateUnoDialog fails"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=128792">128792</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>CreateUnoDialog fails
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>6.4.0.0.alpha0+
          </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>Keywords</th>
          <td>bibisected, bisected, regression
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>major
          </td>
        </tr>

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

        <tr>
          <th>Component</th>
          <td>BASIC
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>mikekaganski@hotmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>caolanm@redhat.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Download and install extension from [1]; in a spreadsheet, select some data and
try to run the extension (using the toolbar button, or Data->Remove Duplicates,
or directly running Sub RemoveDuplicates from My Macros &
Dialogs->RemoveDuplicates->RemoveDuplicates).

With current master, both on Windows and Linux, after
<a href="https://git.libreoffice.org/core/+/fe2c63e494ea66042406ad71234ebe076dec07dc">https://git.libreoffice.org/core/+/fe2c63e494ea66042406ad71234ebe076dec07dc</a> it
fails with error "BASIC runtime error. Object variable not set." message on
line

<span class="quote">> oDialog1.GetControl("OptionHint").Text = getText(5)</span >

because oDialog1 is null at this point, despite it was set in line

<span class="quote">> oDialog1 = CreateUnoDialog( DialogLibraries.RemoveDuplicates.Options )</span >

[1] <a href="https://extensions.libreoffice.org/extensions/remove-duplicates-fast">https://extensions.libreoffice.org/extensions/remove-duplicates-fast</a></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>