The solution to this error can be found here: https://forum.vetasoft.store/topic/264/fix-use-with-flowcanvas