You will also get java.lang.IllegalArgumentException: argument type mismatch like below if you are passing incorrect type for argument or your argument type is not convertible on what method is expecting e.g. if property is of type int and you are passing String.