Error running brainstorm since new update

Ever since updating brainstorm, I now get the following error:

Unable to resolve the name 'IconLoader.ICON_APP.getImage'.
Error in gui_brainstorm>CreateWindow (line 83)
jBstFrame.setIconImage(IconLoader.ICON_APP.getImage());
Error in gui_brainstorm (line 34)
eval(macro_method);
Error in gui_initialize (line 30)
GlobalData.Program.GUI = gui_brainstorm('CreateWindow');
Error in bst_startup (line 380)
gui_initialize();
Error in brainstorm (line 126)
bst_startup(BrainstormHomeDir, 1, BrainstormDbDir, TemplateName);

I have Matlab R2023b. What is the issue?

@krishu It seems there was an unsuccessful Brainstorm update. Try this:

Have done this and it seems to still not work... I deleted the brainstorm.jar file and when I ran brainstorm again the file was redownloaded accordingly: however I still got the same exact issue. Seems to me the .jar file was somehow corrupted in the update?

@krishu how exactly did you do the update. Was it through GitHub or Brainstorm automatic updates ?
What is the OS that you are using ?

I did it through brainstorm automatic updates (on Matlab): OS is windows.

Can you do this:

  1. Close MATLAB.
  2. Manually delete the brainstorm.jar file from the brainstrorm3\java directory.
  3. Manually download it from https://github.com/brainstorm-tools/bst-java/raw/master/brainstorm/dist/brainstorm.jar.
  4. Copy the downloaded file to brainstorm3\java directory. Restart MATLAB and then Brainstorm.

@krishu let me know if you have any updates after trying this.

Works! Thank you for the help.

1 Like