HI Hasnaa,
As per my understanding the buffers are getting cleared while you are saving the iBase.
Can you please check if the "crm_order_initialize" function is called while saving the ibase.
If it is called then try to skip this FM in the debugging mode and check if you are getting the same error.
Br,
Navn