I had a button display a dialog using SC.ask with a BooleanCallback. I noticed nothing was happening so I ran the debugger. I followed it until I found an exception was being thrown that was preventing my code from ever running. I had no idea the exception was being thrown because it was getting swallowed somehow--no error popup or anything in the console/log. I wrote a test case below...
SmartGWT Power 4.0 10-5-2013
Code:
public void onModuleLoad() {
SC.ask("asdf", new BooleanCallback() {
@Override
public void execute(Boolean value) {
throw new NullPointerException();
}
});
}
Comment