FX Exception: Cannot invoke "jloda.swing.message.MessageWindow.setVisible(boolean)" because the return value of "jloda.swing.message.MessageWindow.getInstance()" is null

Hi,

after having updated MEGAN Ultimate Edition to version 6.24.12, built 4 Jan 2023, I am seeing an Exception in the end of the message window output when using the command line mode:

Cannot invoke "jloda.swing.message.MessageWindow.setVisible(boolean)" because the return value of "jloda.swing.message.MessageWindow.getInstance()" is null`.

The error seems to occur always when running commands in command line mode.
Just with a simple command file (e.g. megan_cmds.txt), the error occurs.:

new document;
open file='/Users/bernhard/Documents/comparison.megan' readOnly=true;

quit;

Here is how I invoked the command file and the log with the exception:

(base) bernhard@MacBookPro scripts % /Applications/MEGAN-UE/MEGAN.app/Contents/MacOS/JavaApplicationStub -g -E < '../megan_cmds.txt'
Version   MEGAN Ultimate Edition (version 6.24.12, built 4 Jan 2023)
Author(s) Daniel H. Huson
Copyright (C) 2022 Daniel H. Huson. This program comes with ABSOLUTELY NO WARRANTY.
Java version: 18.0.2.1
Max memory: 27.3G

License Type: Trial Name: xxx
Executing: version;
MEGAN
Opening startup files
Open startup files: 
Loading ncbi.map
Loading ncbi.map: 2,396,736
Loading ncbi.tre
Loading ncbi.tre: 2,396,740
updating viewer
MEGAN> Command: new document;
Executing: new document;
Executing: ;
MEGAN> Command: open file='/Users/bernhard/Documents/comparison.megan' readOnly=true;
Executing: open file='/Users/bernhard/Documents/comparison.megan' readOnly=true;
Warning: Merged file: embbedded input files not found
Info: Opened file 'comparison.megan' with 13,357,641 reads
Executing: update;
updating viewer
MEGAN> MEGAN> Command: quit;
Executing: quit;
Exception in thread "Thread-1" java.lang.NullPointerException: Cannot invoke "jloda.swing.message.MessageWindow.setVisible(boolean)" because the return value of "jloda.swing.message.MessageWindow.getInstance()" is null
        at megan6u/megan6u.main.Megan6Ultimate.C(Unknown Source)
        at java.base/java.lang.Thread.run(Thread.java:833)

I have already tried to uninstall MEGAN-UE and reinstall the latest version, but the exception still occurs.

Best regards, Bernhard

Thank you, a stupid bug (of no consequent for the computer) which I have fixed and I will upload a new release today (V6_24_13)