Greetings,
First, thanks so much for creating such an awesome piece of software. Brainstorm rocks.
The problem: A few days ago I was able to use Brainstorm (Oct-15-2015 version) on 64-bit Ubuntu 14.04 without issue. Today, Brainstorm (both Oct-15-2015 and Nov-11-2015 versions) are unable to start up, because the GUI creation fails. Here’s the printout:
>> brainstorm
BST> Starting Brainstorm:
BST> =================================
BST> Version: 11-Nov-2015
BST> Compiling main interface files...
BST> Emptying temporary directory...
BST> Deleting old process reports...
BST> Loading configuration file...
BST> Checking internet connectivity... ok
BST> Initializing user interface...
***************************************************************************
** Error: Line 59: The class "IconLoader.ICON_APP" is undefined.
** Perhaps Java is not running.
**
** Call stack:
** >gui_brainstorm.m>CreateWindow at 59
** >bst_call.m at 26
** >macro_methodcall.m at 37
** >gui_brainstorm.m at 32
** >gui_initialize.m at 30
** >bst_startup.m at 310
** >brainstorm.m at 118
**
***************************************************************************
***************************************************************************
** Error: Line 34: javaObjectEDT
** No class org.brainstorm.tree.BstTree can be located on the Java class path
**
** Call stack:
** >java_create.m at 34
** >panel_protocols.m>CreatePanel at 52
** >bst_call.m at 26
** >macro_methodcall.m at 37
** >panel_protocols.m at 43
** >gui_show.m at 68
** >gui_initialize.m at 34
** >bst_startup.m at 310
** >brainstorm.m at 118
**
***************************************************************************
I had not knowingly installed any system updates (I have disabled all automatic updates as well), or any updates to MATLAB, MATLAB toolboxes, or Java. In short, I am unsure what could have caused this issue to suddenly arise.
My Java is a bit rusty, but it appears that Matlab is treating IconLoader as a package and ICON_APP as a class, when in fact IconLoader is a class and ICON_APP is an instance of a swing ImageIcon class. Perhaps this is not an issue with Brainstorm at all, but an issue with how Matlab is resolving java components. Especially since Matlab claims to be unable to locate org.brainstorm.tree.BstTree, which is right where one would expect it to be in the brainstorm JAR: brainstorm3/java/brainstorm.jar/org/brainstorm/tree/BstTree.class[/.java].
Thanks,
Graham