« Return to Thread: Java.lang.String ClassCastException

Re: Java.lang.String ClassCastException

by Rio Liu :: Rate this Message:

Reply to Author | View in Thread

I tried to add a prefix like error_20090625010703185, no effect.

On Thu, Jun 25, 2009 at 1:29 AM, Jose Noheda <jose.noheda@...> wrote:
That 20090625010703185 is weird there


On Wed, Jun 24, 2009 at 7:11 PM, Rio Liu <rioliu@...> wrote:
callCount=1
windowName=
c0-scriptName=TestClass
c0-methodName=removeError
c0-id=0
c0-e1=boolean:true
c0-param0=Object_Object:{20090625010703185:reference:c0-e1}
batchId=11
This is the content of the request, I have checked my dwr.xml , I think it's OK, for this case, I don't need to add a converter for it. java.lang.* are imported by default.

Thanks
Rio


On Thu, Jun 25, 2009 at 12:20 AM, David Marginian <david@...> wrote:
Have you checked the server log?  Are you sure that your dwr configuration is correct (you only posted a snippet)?  What does the JavaScript object you are passing the remote method look like?


On Wed, Jun 24, 2009 at 10:12 AM, Rio Liu <rioliu@...> wrote:
Hi guys

I hava a problem. I have a signature config like
<![CDATA[
       import java.util.List;
       import java.util.Map;
       import com.test.TestClass;
       TestClass.removeError(Map<String, Boolean>);
     ]]>

but I always got a Java.lang.String classcastexception cannot be conveted to Java.lang.Boolean
Who can help me ?

Thanks very much

Rio
    




 « Return to Thread: Java.lang.String ClassCastException