Error about AddViewProp

Hello VTK experts,
I am new and I would like to develop a volume in 3D.
In cases, I have used the addviewprop. Unfortunately, I have a crash when i used this function and I couldn’t solve this problem.
This is my error message : image

Thank you for your help.