GUI-related error during Brainstorm setup on Windows: "Unable to resolve the name IconLoader.ICON_APP.getImage"

Hello, I am trying to install Brainstorm in a pretty standard setup:
Windows 10
Matlab 2020a
Brainstorm version as of Jan. 28

And getting a weird error right at the beginning, after establishing the brainstorm3 and brainstorm_db directories, and running the unzipped brainstorm.m script from inside its appropriate folder. Matlab reports:

Unable to resolve the name IconLoader.ICON_APP.getImage.

The context and the line of code in question (it runs fine up till then) are shown in the screenshots. I've never seen this error before and have set up Brainstorm a few times on the same type of machine with no issues, and Google was not helpful in trying to find out whether that was a common error in other situations. Thanks for any help!

1 Like

I have no idea what could be the problem...
There is a problem with the way the brainstorm.jar file is loaded.

If you have multiple versions of Brainstorm installed, make sure you delete all the others.
Clean your MATLAB path to remove anything not related with the MATLAB installation itself.
Do you get any message from the Windows Defender?
Do you have any antivirus running on your computer?
Do you have other versions of Matlab on the same computer to test it with?
Re-installing Matlab could be something to try...
Have you tried specifically to use a different of the JVM/JRE than the one provided with Matlab?
Can you try running the compiled version of Brainstorm to see if it changes anything? (follow the sections "Without Matlab" in the Installation page of the website)

Thank you. For the record I didn't get any interference from Defender or antivirus software, and both Brainstorm and Matlab were fresh installs.

I downloaded the 04-Feb-21 version and installed it over the 01-Feb version, which seemed to fix the problem without any other alterations. So I don't have any more insight into the nature of the problem, but I also don't have the problem anymore. :slightly_smiling_face: :man_shrugging:t2: