function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
cooldamselcooldamsel 

java.lang.ClassCastException

Hi,

Can anyone explain me what the following exception refers.

'java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Boolean'

I am not sure of where the exception occurs. Thanks in advance.
Best Answer chosen by cooldamsel
Ravikant kediaRavikant kedia
Please read  this link https://developer.salesforce.com/forums/ForumsMain?id=906F000000092HWIAY.

All Answers

Vatsal KothariVatsal Kothari
can you please share your code?
cooldamselcooldamsel
Do you need the vf page or the apex class. Because i am not sure where the issue comes from
Vatsal KothariVatsal Kothari
Both
Ravikant kediaRavikant kedia
Please read  this link https://developer.salesforce.com/forums/ForumsMain?id=906F000000092HWIAY.
This was selected as the best answer