I'm using javascript remoting in a SKUID page. Everything has been working fine, but without any code changes all of a sudden I started getting this error:
function handleRemoteCall(result, event) {
if (event.type == 'exception') {
alert(event.message);
return;
}
//do stuff with result
}
"java.lang.String cannot be cast to java.lang.Boolean"
Normally SF catches the underlying java errors and re throws them as a apex error. Any ideas what could be going on?
Also, my remoting call takes a string as a parameter and I can confirm that I am correctly passing one in.