final JstdServer server = new JstdServer(settings);
UIUtil.invokeLaterIfNeeded(new Runnable() {
@Override
public void run() {
myServer = server;
<BUG>consumer.consume(server);
}</BUG>
});
}
catch (final Exception e) {

final JstdServer server = new JstdServer(settings);
UIUtil.invokeLaterIfNeeded(new Runnable() {
@Override
public void run() {
myServer = server;
promise.setResult(server);
}
});
}
catch (final Exception e) {
