A delegate was invoked and one of the parameters passed to it was the wrong type.
Correct the code to make sure the parameter types are correct.