https://www.argeo.org/bugzilla/show_bug.cgi?id=161
git-svn-id: https://svn.argeo.org/commons/branches/1.x@6402
4cfe0d0a-d680-48aa-b62c-
e0a02a3f76cc
UnsupportedCallbackException {
// if (display != null) // RCP
- display.get().syncExec(new Runnable() {
+ Display displayToUse = display.get();
+ if (displayToUse == null)// RCP
+ displayToUse = Display.getDefault();
+ displayToUse.syncExec(new Runnable() {
public void run() {
DefaultLoginDialog dialog = new DefaultLoginDialog(display
.get().getActiveShell());