Unhandled Exception CoreModule.Run...

Forum for software developers to discuss BCI2000 software development
Locked
alenhardt
Posts: 11
Joined: 29 Nov 2007, 09:31

Unhandled Exception CoreModule.Run...

Post by alenhardt » 03 Jun 2009, 11:02

Hello everyone,

I wrote a SourceFilter inheriting from GenericADC (it is basically a module to replay recorded BCI sessions). This module works as intended. But as i wanted to incorporate the FileWriter module it just refuses to work.
What i did was just inserting the required module in my makefile (fileio/ directory along with all the other required files). It compiles but when it starts up i get the following error:

Code: Select all

03.06.2009 17:00:30 - BCI2000 started
03.06.2009 17:00:30 - CoreModule::Run: unhandled exception class std::bad_typeid (Attempted a typeid of NULL pointer!),
terminating SignalSource module.
If I dont include the DataIOFilter.cpp/.h in the compilation process it compiles, and starts up properly but no "Storage tab" is visible.
So how do I add these storage modules correctly to an existing source module?

Best,
Alex

mellinger
Posts: 1341
Joined: 12 Feb 2003, 11:06

Post by mellinger » 05 Jun 2009, 08:09

Alex,

When you upgrade to the latest version of BCI2000, the error message should be gone (I added a missing null pointer check to the DataIOFilter code).
Also, I guess your source module is missing the AlignmentFilter and the TransmissionFilter -- you should consider adding the two to it.

Regards,
Juergen

Locked

Who is online

Users browsing this forum: No registered users and 0 guests