I have debugged the code and below are my findings:-
ModuleInit.java
private void intitializeModule() {
GWT.setUncaughtExceptionHandler( new UncaughtExceptionHandler()
{
@Override
public void onUncaughtException(Throwable t) {
Window.alert("t...." +t); // Exception :- t....com.google.gwt.event.shared.UmbrellaException: Exception caught: (TypeError) : Cannot read property 'a' of null
}
}
GWT.class
public static void setUncaughtExceptionHandler(UncaughtExceptionHandler handler)
{
uncaughtExceptionHandler = handler;
// Dev mode does not do this
if (GWT.isScript() && handler != null)
{
Impl.maybeInitializeWindowOnError();
}
}
So, Team helps me where I am doing wrong, Is there any script issue??
ModuleInit.java
private void intitializeModule() {
GWT.setUncaughtExceptionHandler( new UncaughtExceptionHandler()
{
@Override
public void onUncaughtException(Throwable t) {
Window.alert("t...." +t); // Exception :- t....com.google.gwt.event.shared.UmbrellaException: Exception caught: (TypeError) : Cannot read property 'a' of null
}
}
GWT.class
public static void setUncaughtExceptionHandler(UncaughtExceptionHandler handler)
{
uncaughtExceptionHandler = handler;
// Dev mode does not do this
if (GWT.isScript() && handler != null)
{
Impl.maybeInitializeWindowOnError();
}
}
So, Team helps me where I am doing wrong, Is there any script issue??
Comment