This error occurs if you use one of the helper functions getPicture, getFont, or getColor on a JadeDotNetType instance that does not represent a matching .NET type; for example, using getColor on a .NET object that is not a System::Drawing::Color object.