Re: how to reproduce.cache.html error in dev

2013-12-29 Thread Bhumika Thaker
Hi All, Thanks you for your reply :) Sorry I did not replied this post after solving issue, yeah The problem is only null pointer. I used server push mechanism..it tried to use widget before rendering. I could not get because I habituate to see java script error in development mode but it's

Re: how to reproduce.cache.html error in dev

2013-12-05 Thread Juan Pablo Gardella
Are you catching NullPointerException? This exception is catched in dev mode but not in production mode. See http://www.gwtproject.org/doc/latest/tutorial/RPC.html#exceptions Juan 2013/12/5 Bhumika Thaker thaker.bhum...@gmail.com Hi All, In my gwt application, I am facing below error in war

Re: how to reproduce.cache.html error in dev

2013-12-05 Thread Juan Pablo Gardella
Sorry bad link: See http://www.gwtproject.org/doc/latest/DevGuideCodingBasicsCompatibility.html in Exceptions section. 2013/12/5 Juan Pablo Gardella gardellajuanpa...@gmail.com Are you catching NullPointerException? This exception is catched in dev mode but not in production mode. See

Re: how to reproduce.cache.html error in dev

2013-12-05 Thread Pablo Nussembaum
Hi Bhumika, You can take a look to: http://www.gwtproject.org/javadoc/latest/com/google/gwt/logging/server/StackTraceDeobfuscator.html It can be used to de-obfuscate the stacktrace. also check: https://groups.google.com/forum/#!topic/google-web-toolkit/jikvFQUJYjk Regards, -- Pablo On

Re: how to reproduce.cache.html error in dev

2013-12-05 Thread Juan Pablo Gardella
Do you have a catch for NullPointerException in the code that is translated to Javascript? 2013/12/5 Davide Micheletti d.michelett...@gmail.com i think that i did't explain well. The webapp run but never in the same mode. i attach some screen so you can understand. On Thu, Dec 5, 2013 at

Re: how to reproduce.cache.html error in dev

2013-12-05 Thread Davide Micheletti
yes.. u can see it in the code that i posted.. On Thu, Dec 5, 2013 at 7:15 PM, Juan Pablo Gardella gardellajuanpa...@gmail.com wrote: Do you have a catch for NullPointerException in the code that is translated to Javascript? 2013/12/5 Davide Micheletti d.michelett...@gmail.com i think

Re: how to reproduce.cache.html error in dev

2013-12-05 Thread Juan Pablo Gardella
I didn't see the java code anywhere. Replace catch (NullPointerExceptione e ) with (Exception e) and put an alert or something to see the problem. It is a NPE in javascript. Juan 2013/12/5 Davide Micheletti d.michelett...@gmail.com yes.. u can see it in the code that i posted.. On Thu, Dec

Re: how to reproduce.cache.html error in dev

2013-12-05 Thread Juan Pablo Gardella
From http://www.gwtproject.org/doc/latest/DevGuideCodingBasicsCompatibility.html: Several fundamental exceptions implicitly produced by the Java VM, most notably NullPointerException, StackOverflowError, andOutOfMemoryError, *do not occur in production mode as such*. Instead, aJavaScriptException

Re: how to reproduce.cache.html error in dev

2013-12-05 Thread Davide Micheletti
This is the code server.tutti_clienti(new AsyncCallbackCliente() { public void onSuccess(Cliente result) { log = log + 1 - Cliente ; tutti_clienti = result; cliente.addItem(- Seleziona un Cliente -,null); for(int i=0; in_clienti; i++)

how to reproduce.cache.html error in dev

2013-12-04 Thread Bhumika Thaker
Hi All, In my gwt application, I am facing below error in war but not in development. This error is not understandable can any body suggest how can I reach to this error in development. com.google.gwt.core.client.JavaScriptException: (TypeError): a.b.k.j is null stack: GXd([object