This error usually occurs when you have provided a data that wasn't of the type expected, and
java cannot do an implicit conversion.
For example, assigning a
String to a Boolean:
You way want to post your code in order for us to have a clear view of the problem you are having.