brianmc95 / OpenCV2X

OMNeT++ V2X simulation framework for ETSI ITS-G5
GNU General Public License v2.0
37 stars 15 forks source link

Run time error while running the example scenario #30

Open aash92 opened 2 years ago

aash92 commented 2 years ago

Hi, I am getting the following error at random times when running the example scenario with the highwayFast configuration. The only change that I have done is use a different highway environment in SUMO, but i do not believe that would have lead to this error, as it seems this is because the packet may have already been destroyed before it is sent.

<!> check_and_cast(): Cannot cast nullptr to type 'LteMacBase *' -- in module (LteMacVUeMode4) Mode4World.node[169].lteNic.mac (id=20400), at t=77.58s, event #16623318

TRAPPING on the exception above, due to a debug-on-errors=true configuration option. Is your debugger ready?
Trace/breakpoint trap (core dumped)
make[3]: *** [scenarios/CMakeFiles/run_simulte-cars.dir/build.make:70: scenarios/CMakeFiles/run_simulte-cars] Error 133
make[2]: *** [CMakeFiles/Makefile2:608: scenarios/CMakeFiles/run_simulte-cars.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:615: scenarios/CMakeFiles/run_simulte-cars.dir/rule] Error 2
make: *** [Makefile:277: run_simulte-cars] Error 2

It would be helpful if you could let me know on how to solve this issue as I am quite new in working with openCV2X.

Thank you