From 87c70ad23df215287c974834c3f54835529a7d34 Mon Sep 17 00:00:00 2001 From: Guillermo Gutierrez-Herrera Date: Mon, 23 Oct 2017 10:44:10 +0200 Subject: [PATCH] Fix possible NullPointerException in field name. --- NSF2SQL/Form1.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NSF2SQL/Form1.cs b/NSF2SQL/Form1.cs index 29ce164..822c12e 100644 --- a/NSF2SQL/Form1.cs +++ b/NSF2SQL/Form1.cs @@ -383,7 +383,7 @@ private void bExportDocuments_Click(object sender, EventArgs ea) } string field = item.Name; //exclude fields that start with $ and the Form field and Readers field - if (excludeField.IsMatch(field)) + if (field == null || excludeField.IsMatch(field)) { continue; }