Thanks for the file. I see that for some reason the reference which stores the painting area, is not valid at the crash point.
Unfortunately that tell us what happened, but not why. We would need to reproduce the crash here, in order to debug the code.
Please, save the Forest object in a separate scene and send it to us. Include the referenced objects as well (splines, surfaces and so).