diff --git a/src/magic/model/MagicGameReport.java b/src/magic/model/MagicGameReport.java index 60b4bc4a89..28f1961323 100644 --- a/src/magic/model/MagicGameReport.java +++ b/src/magic/model/MagicGameReport.java @@ -27,8 +27,10 @@ public class MagicGameReport implements Thread.UncaughtExceptionHandler { public void uncaughtException(final Thread th, final Throwable ex) { MagicGameReport.buildReport(MagicGame.getInstance(), th, ex); - grabScreenShot(MagicMain.rootFrame); - doNotifyUser(); + if (MagicMain.rootFrame != null) { + grabScreenShot(MagicMain.rootFrame); + doNotifyUser(); + } System.exit(1); }