Module Error with Exit Code 134 after Terminating Simulation

722 views
Skip to first unread message

Halis Altug

unread,
Aug 7, 2015, 12:19:15 PM8/7/15
to OMNeT++ Users
Hi, 

my simulation is always finished with the exit code 134. Omnet gives me  the error "Object has no associated cComponentType (maybe cModule should not subclass cModule/cChannel?"
I do not figure out where the exception is thrown and why this error appears? 

My simulation works so far, but it's only occuring when I terminate the simulation.

I appreciate any hints and assistance.

Best regards

Michael Kirsche

unread,
Aug 10, 2015, 4:06:47 AM8/10/15
to OMNeT++ Users
If it is only occurring when the simulation is terminated, it might be something related to the destructor.

Run your simulation under the debugger (GDB) and see what comes up.
You also might need to add these lines to your omnetpp.ini in case you didn't select the options already:
debug-on-errors = true
debugger-attach-on-error = true

Halis Altug

unread,
Aug 10, 2015, 7:10:13 PM8/10/15
to OMNeT++ Users
Thanks for your suggestion. I solved the error but forgot to mention it here. The destructor is fine.

The error was thrown by a class that was earlier defined as module but later used only as regular object in a different module. 
Stupidly I missed to remove the declaration in the cc file and that caused the meaningless error.
Reply all
Reply to author
Forward
0 new messages