From 0ef077ccdec7e8a20465bb16140e1db35bb1f60b Mon Sep 17 00:00:00 2001 From: Ezequiel Valencia Date: Tue, 22 Oct 2024 13:44:17 -0400 Subject: [PATCH] Check for Null PDE --- .../main/java/cbit/vcell/client/data/PDEExportDataPanel.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vcell-client/src/main/java/cbit/vcell/client/data/PDEExportDataPanel.java b/vcell-client/src/main/java/cbit/vcell/client/data/PDEExportDataPanel.java index db6ec246fd..2c2b6337c4 100644 --- a/vcell-client/src/main/java/cbit/vcell/client/data/PDEExportDataPanel.java +++ b/vcell-client/src/main/java/cbit/vcell/client/data/PDEExportDataPanel.java @@ -1710,7 +1710,7 @@ private void setFormatChoices_0(/*boolean bMembrane*/){ cb.addItem(ExportFormat.FORMAT_JPEG); cb.addItem(ExportFormat.NRRD); - if (!(getPdeDataContext().getVCDataIdentifier() instanceof LocalVCDataIdentifier)){ + if (getPdeDataContext() != null && !(getPdeDataContext().getVCDataIdentifier() instanceof LocalVCDataIdentifier)){ cb.addItem(ExportFormat.N5); } // cb.addItem(ExportFormat.IMAGEJ);