Hello Basile,
This exception should be related to a plugin made for 0.97 / early 0.98 running in one of the latest 0.98. Do you have the latest plugin version for your SMath Studio version?
If yes or not yet solved, I need to know both the versions (Writer Region & SMath Studio)
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects