Sorry i forgot to mention this has always been a web mode issue for
me. Hosted is fine
Ive only really had this problem with runtime exceptions (although
after having this problem twice i just catch "Exception"). I first
found it when i had some code like this:
private Widget o;
public Object getO() {}
public void setO(Widget o) {}
public void doSomething() {
try {
o.aMethod();
} catch (NullPointerException ex) {
System.out.println("caught");
return;
}
System.out.println("Not caught"):
}
with the resulting output:
Not caught
and when using the debugger i can clearly see its throwing a null.
and if i add something like Window.alert(ex.getCause()); and make it
catch Exception and run it in web mode i get something similar to
NullPointerException (renamed because its JS i assume but practically
the same). Sorry i cant remember exactly what it was called. I cant
possibly the only person thats come across this???
> > Steve- Hide quoted text -
>
> - Show quoted text -