This error is due to difference in number of parameters pass in definition of method and calling. You have passed 5parameters to the query method and in definition may be different parameters count. Check the query method parameters count and then pass correct count of parameters when calling.