Saturday, September 12, 2015

Re: Getting issue while debugging GWT Module

Thanx for the reply can you guide me how can I enable Prod mode I am very new to GWT and need your support

Thanks
Regards
Anil

On Wednesday, 9 September 2015 20:39:38 UTC+5:30, Ignacio Baca Moreno-Torres wrote:
Java arrays are native JS arrays in production mode, and look like you are casting a JS array to Java array in dev mode, probably doing something like...
native CallDialedNumber[] getNumbers()/-*{ return this.numbers; }-*/;
You may return JsArray<CallDialedNumber> (http://www.gwtproject.org/doc/latest/DevGuideCodingBasicsOverlay.html) or use only prod mode, which I think is a good idea (prod mode is faster and dev mode is deprecated).

On Wednesday, September 9, 2015 at 3:33:43 PM UTC+2, anil gupta wrote:
Hello Team,


when I am debugging my application with help of 

getting below need someone's immediate help.

cjava.lang.ClassCastException: com.google.gwt.core.client.JavaScriptObject$ cannot be cast to [Lcom.qwest.eqsms.client.structure.CallDialedNumber;

But when I am running without GWT plugging its working file please suggest for the fix.

I am using below plugin for debugging






Regards
Anil

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@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/d/optout.

No comments:

Post a Comment