I added a test that should prevent this error to happen:
Update Brainstorm to get this fix.
I'm not sure what you are doing is very optimal. Before going further, I recommend you follow the resting state tutorial:
https://neuroimage.usc.edu/brainstorm/Tutorials/RestingOmega