From 6d1d53f1ba1e11acaeac72f69d1a72a9e9f00965 Mon Sep 17 00:00:00 2001 From: Eugen Kiss Date: Wed, 28 Aug 2013 20:25:52 +0200 Subject: [PATCH] Fix Nullpointer Exception --- src/main/java/fcatools/conexpng/Main.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/fcatools/conexpng/Main.java b/src/main/java/fcatools/conexpng/Main.java index 1e18315..fb98147 100644 --- a/src/main/java/fcatools/conexpng/Main.java +++ b/src/main/java/fcatools/conexpng/Main.java @@ -5,6 +5,7 @@ import de.tudresden.inf.tcs.fcaapi.exception.IllegalObjectException; import de.tudresden.inf.tcs.fcalib.FullObject; import fcatools.conexpng.gui.MainFrame; +import fcatools.conexpng.gui.lattice.LatticeGraph; import fcatools.conexpng.io.CEXReader; import fcatools.conexpng.model.FormalContext; @@ -98,6 +99,7 @@ private void showExample(Conf state) { e1.printStackTrace(); } state.newContext(context); + state.lattice = new LatticeGraph(); } // Store location & size of UI & dir that was last opened from