« Return to Thread: Java.lang.String ClassCastException

Re: Java.lang.String ClassCastException

by XMaNIaC :: Rate this Message:

Reply to Author | View in Thread

What's the Java counterpart?

On Wed, Jun 24, 2009 at 7:29 PM, Rio Liu <rioliu@...> wrote:
It is very simple js object {2009625010703182:true}

On Thu, Jun 25, 2009 at 1:14 AM, David Marginian <david@...> wrote:
I meant send us the JavaScript object you are building, not the request.


On Wed, Jun 24, 2009 at 11:11 AM, 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