<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 - File \ Wizards \ Letter - "AttributeError: 'NoneType' object has no attribute 'DocumentProperties'""
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=143611">143611</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>File \ Wizards \ Letter - "AttributeError: 'NoneType' object has no attribute 'DocumentProperties'"
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>7.3.0.0 alpha0+ Master
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (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>Writer
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>x4fs1j@outlook.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
Go to the menu "File \ Wizards \ Letter" the window does not open

Steps to Reproduce:
1.Go to the menu "File \ Wizards \ Letter"
2.The window does not open, there is an error in the logs

Actual Results:
warn:toolkit.helper:28772:28772:toolkit/source/helper/unowrapper.cxx:185:
UnoWrapper::SetWindowInterface: there is already a
WindowPeer/ComponentInterface for this VCL window
warn:fwk.loadenv:28772:28772:framework/source/loadenv/loadenv.cxx:202: caught
LoadEnvException 6 "interaction request", com.sun.star.task.ErrorCodeRequest
"/tinderbox/buildslave/source/libo-master/sfx2/source/doc/objmisc.cxx:1699"
while loading
<file:///opt/libreofficedev7.3/program/../share/template/common/wizard/letter/bus-elegant_l.ott>
Traceback (most recent call last):
  File "/opt/libreofficedev7.3/program/wizards/text/TextDocument.py", line 152,
in getPageSize
    xNameAccess = self.xTextDocument.StyleFamilies
AttributeError: 'NoneType' object has no attribute 'StyleFamilies'
Traceback (most recent call last):
  File "/opt/libreofficedev7.3/program/wizards/text/TextDocument.py", line 143,
in loadAsPreview
    self.xTextDocument.CurrentController.ViewSettings.ZoomType = ENTIRE_PAGE
AttributeError: 'NoneType' object has no attribute 'CurrentController'
Traceback (most recent call last):
  File
"/opt/libreofficedev7.3/program/wizards/letter/LetterWizardDialogImpl.py", line
132, in startWizard
    self.setConfiguration()
  File
"/opt/libreofficedev7.3/program/wizards/letter/LetterWizardDialogImpl.py", line
781, in setConfiguration
    self.optBusinessLetterItemChanged()
  File
"/opt/libreofficedev7.3/program/wizards/letter/LetterWizardDialogImpl.py", line
256, in optBusinessLetterItemChanged
    self.lstBusinessStyleItemChanged()
  File
"/opt/libreofficedev7.3/program/wizards/letter/LetterWizardDialogImpl.py", line
331, in lstBusinessStyleItemChanged
    self.setElements(False)
  File
"/opt/libreofficedev7.3/program/wizards/letter/LetterWizardDialogImpl.py", line
812, in setElements
    self.txtTemplateNameTextChanged()
  File
"/opt/libreofficedev7.3/program/wizards/letter/LetterWizardDialogImpl.py", line
633, in txtTemplateNameTextChanged
    xDocProps = self.myLetterDoc.xTextDocument.DocumentProperties
AttributeError: 'NoneType' object has no attribute 'DocumentProperties'

Expected Results:
A dialog box will open


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.3.0.0.alpha0+ / LibreOffice Community
Build ID: 5aa74aa1e6fac571f99146ebcb6adc9feb1459ad
CPU threads: 2; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: ru-RU (ru_RU.UTF-8); UI: en-US
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time:
2021-07-28_19:35:14
Calc: threaded</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>