Valid up to version 2024.7.0; from version 2024.7.0 onwards, Java 11 is included in the installation.
The error occurs in certain versions of Java 8 — recorded in versions 8.171, 8.251, and 8.161 (the Java version can be checked in ABRA Flexi under Help > About ABRA Flexi > Application Details).
When attempting to generate the VAT Control Statement XML, a confirmation dialog appears, but after clicking OK, no file is generated.
The following error appears in the ABRA Flexi debug logs:
JavaAppLauncher[54515:1236284] -[NSApplication runModalForWindow:] may not be invoked inside of transaction begin/commit pair, or inside of transaction commit (usually this means it was invoked inside of a view's -drawRect: method.) The modal dialog has been suppressed to avoid deadlock.
The full error description is available in the reported Java bug here.
Solution 1: Adjusting zoom settings
The first possible solution is to adjust the operating system settings. Open System Preferences and go to the "Accessibility" section.
The issue may be caused by an active zoom setting. If any zoom option is enabled, disable it and try repeating the process.
Solution 2: Editing the settings.xml file
1) Open Terminal and enter
sudo open Users/{username v systému}/Library/Application Support/Flexibee/
and press Enter.
2) If the system prompts you for a password, enter it (even if it appears that nothing is being typed — the input is simply not displayed) and confirm by pressing Enter.
3) The FlexiBee folder should open. Click on the settings.xml file and open it in TextEdit using the "Open With" option.
If the file is not present in that folder, check the "Home" folder and the hidden .winstrom folder, then continue following the instructions. If the file is not found in either folder, proceed to step 6).
4) In TextEdit, insert the following between <entry>:
<entry>
<string>macShowSwingFileChooser</string>
<string>true</string>
</entry>
5) TextEdit saves automatically, so the changes should be saved once entered. Close the file (you can reopen it to verify that the new entry appears), launch Flexi, and check whether the file dialog window is now displayed.
6) If you do not have a settings.xml file in either folder, download the file below and place it in the FlexiBee folder Users/{username v systému}/Library/Application Support/Flexibee/.



