Browse Source

Merge pull request #678 in DESIGN/design from ~PLOUGH/10-design:10.0 to 10.0

* commit '94857554978ca4984db9f9d9c309cb5de5b7efbb':
  REPORT-13363 数据迁移后,设计器启动闪退=>调整代码
  REPORT-13363 数据迁移后,设计器启动闪退
10.0
Kara 6 years ago
parent
commit
bca9381ea5
  1. 4
      designer-realize/src/main/java/com/fr/start/Designer.java

4
designer-realize/src/main/java/com/fr/start/Designer.java

@ -57,6 +57,7 @@ import com.fr.start.server.ServerTray;
import com.fr.workspace.WorkContext;
import javax.swing.JComponent;
import javax.swing.JOptionPane;
import javax.swing.JPanel;
import javax.swing.border.MatteBorder;
import java.awt.Component;
@ -115,7 +116,10 @@ public class Designer extends BaseDesigner {
try {
designerRoot.start();
} catch (LifecycleFatalError fatal) {
SplashContext.getInstance().hide();
JOptionPane.showMessageDialog(null, fatal.getMessage(), com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Error"), JOptionPane.ERROR_MESSAGE);
FineLoggerFactory.getLogger().error(fatal.getMessage(), fatal);
System.exit(0);
}
if (WorkContext.getCurrent().isLocal()) {

Loading…
Cancel
Save