[SOLVED] Error selecting bst_javacomponent on 22-Oct-2026

Hi there!

I just updated to the last BS version (22 oct) and since then I was unable to visualize a simply eeg file,

Everytime I click on the EEG raw file matlab stops and I get this message:


** Error: Line 185: Unrecognized function or variable 'hComp'.
**
** Call stack:
** >bst_javacomponent.m at 185
** >figure_timeseries.m>PlotRawTimeBar at 4664
** >figure_timeseries.m>PlotFigure at 3140
** >figure_timeseries.m at 42
** >view_timeseries.m at 274
** >tree_callbacks.m at 274
** >bst_call.m at 28
** >panel_protocols.m>CreatePanel/protocolTreeClicked_Callback at 125
** >bst_call.m at 28
** >panel_protocols.m>@(h,ev)bst_call(@protocolTreeClicked_Callback,h,ev) at 75
**

I’m using Matlab R2024b under Windows 11,

my EEG is a single channel file (Cz) edf formated.


any help will be useful

Thank in advances!

PS: I attach here the file in case you want to try it

GIOVANNI 2.edf (79 KB)

Hello @tourette95,

Thank you for the report. There was a typo in recent update. Solved in Commit: 3d559c5
Please update your Brainstorm instance to get the fix

Thank you!!! It works now :)!