Why does this script have a Null error?

using UnityEngine;
using System.Collections;

public class pausebackers : MonoBehaviour {
public PlayMakerFSM theFsm;

	 void OnApplicationPause(bool paused)
{
      if (!paused)
      {
theFsm.FsmVariables.GetFsmBool("exit").Value = true;
      }
}
}

Why does this script have a Null error? and what is wrong with it?

Here is the error:NullReferenceException: Object reference not set to an instance of an object
pausebackers.OnApplicationPause (Boolean paused) (at Assets/pausebackers.cs:11)

This site explaines what you are looking for:

https://hutonggames.fogbugz.com/?W329

Also, what alucardj said is also true ofc.