From 5133ef1db6df7497ca21069f2a389e523254b31a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=85smund=20V=C3=A5ge=20Fannemel?= <34712686+asmfstatoil@users.noreply.github.com> Date: Thu, 22 Feb 2024 14:04:21 +0100 Subject: [PATCH] fix --- .../thermodynamicOperations/ThermodynamicOperations.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/neqsim/thermodynamicOperations/ThermodynamicOperations.java b/src/main/java/neqsim/thermodynamicOperations/ThermodynamicOperations.java index 03dd936493..1be2bc115f 100644 --- a/src/main/java/neqsim/thermodynamicOperations/ThermodynamicOperations.java +++ b/src/main/java/neqsim/thermodynamicOperations/ThermodynamicOperations.java @@ -1794,6 +1794,10 @@ public void setResultTable(String[][] resultTable) { *

*/ public void display() { + if (resultTable == null) { + return; + } + JFrame dialog = new JFrame("System-Report"); Container dialogContentPane = dialog.getContentPane(); dialogContentPane.setLayout(new BorderLayout());