Project

General

Profile

« Previous | Next » 

Revision e246a4ee

Added by Patrick Plitzner over 2 years ago

Fix NPE when connecting to local cdm server with dev settings

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/dialog/RemotingLoginDialog.java
1092 1092
        Display.getDefault().asyncExec(new Runnable() {
1093 1093
            @Override
1094 1094
            public void run() {
1095
                if(isRememberMe()) {
1096
                    persistPrefCredentials();
1097
                }else{
1098
                    removePrefCredentials();
1095
                if(selectedCdmInstance!=null){
1096
                    if(isRememberMe()) {
1097
                        persistPrefCredentials();
1098
                    }else{
1099
                        removePrefCredentials();
1100
                    }
1101
                    persistPrefLastServerInstance();
1099 1102
                }
1100
                persistPrefLastServerInstance();
1101 1103
                dispose();
1102 1104
            }
1103 1105
        });

Also available in: Unified diff