diff --git a/src/studio/ui/TabPanel.java b/src/studio/ui/TabPanel.java index 71e51c0f..168528b3 100755 --- a/src/studio/ui/TabPanel.java +++ b/src/studio/ui/TabPanel.java @@ -33,7 +33,9 @@ public class TabPanel extends JPanel { public TabPanel(StudioWindow studioWindow, QueryResult queryResult) { this.studioWindow = studioWindow; this.queryResult = queryResult; - this.result = queryResult.getResult(); + if (queryResult != null) { + this.result = queryResult.getResult(); + } initComponents(); }