diff -r 6b24e39f1b84 -r 0e46e3ca812a GUI/MainForm.cs --- a/GUI/MainForm.cs Tue Dec 30 21:04:54 2014 +0000 +++ b/GUI/MainForm.cs Tue Dec 30 22:47:39 2014 +0000 @@ -536,7 +536,7 @@ wmiProvider.Update(); - if (logSensors.Value && delayCount >= 4) + if (logSensors != null && logSensors.Value && delayCount >= 4) logger.Log(); if (delayCount < 4)