Doesn't look like a problem with the Shader Programs. I tested the code in the ShaderDesigner and it works. I would first try to get the copde working without a shader (just use the fixed functionality) then add the shader once that is working. There might be a problem in the setup/initialization of the app which is causing the error.