Adding SEEG electrodes without recordings: Java error

I am using BrainStorm on MacOsX on Apple Silicone. I have used Freesurfer on SEEG image sets with fused MRI/post-op CT. I am trying to add SEEG electrodes without importing recordings. So, I loaded the MRI and coregistered CT. I then add SEEG/ECOG implantation on the volume. I don't have any recordings, so there are no electrodes. I open the iEEG panel and click + but then get this error:

** Error: Line 857: panel_ieeg>SetSelectedElectrodes
** Java exception occurred:
** java.lang.NullPointerException
** at javax.swing.JComponent.scrollRectToVisible(
** at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
** at sun.reflect.NativeMethodAccessorImpl.invoke(
** at sun.reflect.DelegatingMethodAccessorImpl.invoke(
** at java.lang.reflect.Method.invoke(
** at com.mathworks.jmi.AWTUtilities$Invoker$3$
** at com.mathworks.mvm.context.ThreadContext.callWithContext(
** at com.mathworks.mvm.context.MvmContext.callWithContext(
** at com.mathworks.jmi.AWTUtilities$Invoker$3.runWithOutput(
** at com.mathworks.jmi.AWTUtilities$Invoker$2.watchedRun(
** at com.mathworks.jmi.AWTUtilities$
** at java.awt.event.InvocationEvent.dispatch(
** at java.awt.EventQueue.dispatchEventImpl(
** at java.awt.EventQueue.access$500(
** at java.awt.EventQueue$
** at java.awt.EventQueue$
** at Method)
** at$JavaSecurityAccessImpl.doIntersectionPrivilege(
** at java.awt.EventQueue.dispatchEvent(
** at java.awt.EventDispatchThread.pumpOneEventForFilters(
** at java.awt.EventDispatchThread.pumpEventsForFilter(
** at java.awt.EventDispatchThread.pumpEventsForHierarchy(
** at java.awt.EventDispatchThread.pumpEvents(
** at java.awt.EventDispatchThread.pumpEvents(
** at
** Call stack:
** >panel_ieeg.m>SetSelectedElectrodes at 857
** >panel_ieeg.m>AddElectrode at 1384
** >bst_call.m at 28
** >panel_ieeg.m>@(h,ev)bst_call(@AddElectrode) at 54

I have Java installed, and otherwise have had no issues running Brainstorm. Any help would be greatly appreciated!

Hi @jaronson,

Thank you for reaching out to us.

Can you tell me which version of Brainstorm you are using ?

I would also suggest you look at this tutorial below which is very similar to the workflow you are trying to do:

Thanks for the reply! I'm using Matlab 2022b and Brainstorm 3.24057. I'll take a look at that tutorial as well.