Thanks Thomas for replaying. This is the content of the jsFunction:

function (){
handler.onReadyStateChange__Lcom_google_gwt_xhr_client_XMLHttpRequest_2V(_this);
}

I know it's a long shot but do you know what might be the problem?

Thanks for your ongoing help, I appreciate it.


On Thu, Feb 13, 2014 at 12:19 PM, Thomas Broyer <t.bro...@gmail.com> wrote:

> Put a breakpoint on that throw line and look at the jsFunction.
> Alternatively, possibly look at the stacktrace of the 'e' exception.
>
>
> On Thursday, February 13, 2014 8:43:08 AM UTC+1, Mohammad Al Quraian wrote:
>>
>> Hi,
>>
>> I am developing multi-module project, each project is by its own a GWT
>> project. 2 of these project throw these exception when I run them. The
>> exception is:
>> Uncaught java.lang.RuntimeException: java.lang.ClassCastException
>>
>> The javascript code that throw that is:
>> function com_google_gwt_core_client_impl_Impl_entry__Lcom_google_
>> gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_
>> JavaScriptObject_2(jsFunction){
>>   return function(){
>>     try {
>>       return com_google_gwt_core_client_impl_Impl_entry0__Ljava_lang_
>> Object_2Ljava_lang_Object_2Ljava_lang_Object_2Ljava_lang_Object_2(jsFunction,
>> this, arguments);
>>     }
>>      catch (e) {
>>       throw e;
>>     }
>>   }
>>   ;
>> }
>>
>> They are all maven projects with the same structure and dependencies, the
>> home.xml files are similar. I can't figure out what's wrong, especially
>> because they run fine on devmode. The exception happens on all major
>> browsers.
>>
>> Any idea what's going on?
>>
>  --
> You received this message because you are subscribed to a topic in the
> Google Groups "Google Web Toolkit" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/google-web-toolkit/6AEXM5Dnmvw/unsubscribe
> .
> To unsubscribe from this group and all its topics, send an email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> Visit this group at http://groups.google.com/group/google-web-toolkit.
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to