Browse Source

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

* commit '1537cf742b7498f1f073e91d61546a2f3a4372d7':
  REPORT-13363 数据迁移后,设计器启动闪退
bugfix/10.0
plough 6 years ago
parent
commit
3a934bc114
  1. 4
      designer-realize/src/main/java/com/fr/start/Designer.java

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

@ -59,6 +59,7 @@ import com.fr.start.server.ServerTray;
import com.fr.workspace.WorkContext; import com.fr.workspace.WorkContext;
import javax.swing.JComponent; import javax.swing.JComponent;
import javax.swing.JOptionPane;
import javax.swing.JPanel; import javax.swing.JPanel;
import javax.swing.border.MatteBorder; import javax.swing.border.MatteBorder;
import java.awt.Component; import java.awt.Component;
@ -121,6 +122,9 @@ public class Designer extends BaseDesigner {
try { try {
designerRoot.start(); designerRoot.start();
} catch (LifecycleFatalError fatal) { } 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); System.exit(0);
} }

Loading…
Cancel
Save