Ctrader crash on Print statement

Created at 13 Aug 2024, 15:35
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
CT

ctid402288

Joined 06.02.2016

Ctrader crash on Print statement
13 Aug 2024, 15:35


I added a Print statement to a working cbot code and it crashed. I had to force Quit CTrader.

Error message :- It was a simple print of plain text. CTrader version 5.0, Mac Studio M2

13/08/2024 16:31:29.675 | CBot instance crashed with error "Error creating a type 'PMOT'. [PMOT - Init] Error : Object reference not set to an instance of an object."

Note that the code runs when l remove the print statement.


@ctid402288
Replies

PanagiotisCharalampous
13 Aug 2024, 15:52

Hi there,

Can you share the code so that we can reproduce this issue?

Best regards,

Panagiotis


@PanagiotisCharalampous