[gwt-contrib] Re: I am getting ClassCastException on my app production code, but not on dev mode.

2014-02-12 Thread Thomas Broyer


On Wednesday, February 12, 2014 2:09:41 AM UTC+1, James Nelson wrote:

 Please post to http://stackoverflow.com to get support;


…or https://groups.google.com/d/forum/google-web-toolkit

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


[gwt-contrib] Re: I am getting ClassCastException on my app production code, but not on dev mode.

2014-02-11 Thread James Nelson
Please post to http://stackoverflow.com to get support;
this group is for discussing project architecture and product development.

Also, the snippet of code you've sent really doesn't mean anything by 
itself.
Try running in superdevmode on chrome to get a more meaningful stacktrace.

On Sunday, February 9, 2014 5:25:36 AM UTC-5, Mohammad Al Quraian wrote:

 Hi,

 I am developing multiple apps with similar structure, they're working fine 
 except for 2. They give me the following error on production mode only:

 Uncaught java.lang.runtimeexception: java.lang.ClassCastException


 This is the compiled code that throws the exception:

 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;
 }
   }
   ;

 I am using GWT 2.5.1, any idea what could be the problem?

 Thanks


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