Object reference is not set to an instance of an object(Javascript)

I’m getting this error and I have no clue why, I used this spawn object method a while back and it worked.

The Error: NullReferenceException: Object reference not set to an instance of an object
Boo.Lang.Runtime.RuntimeServices.GetDispatcher (System.Object target, System.String cacheKeyName, System.Type cacheKeyTypes, Boo.Lang.Runtime.DynamicDispatching.DispatcherFactory factory)
Boo.Lang.Runtime.RuntimeServices.GetDispatcher (System.Object target, System.Object args, System.String cacheKeyName, Boo.Lang.Runtime.DynamicDispatching.DispatcherFactory factory)
Boo.Lang.Runtime.RuntimeServices.GetProperty (System.Object target, System.String name)
UnityScript.Lang.UnityRuntimeServices.GetProperty (System.Object target, System.String name)
CampFire.Update () (at Assets/_Scripts/CampFire.js:11)

My script:

var sticks : int = 0;
var rocks : int = 0;
var campFire : GameObject;

function Update () {

if( sticks == 10 && rocks == 10 && Input.GetKeyDown(KeyCode.E))
{
		
		Instantiate(this.campFire, this.SpawnPoint.transform.position, this.SpawnPoint.transform.rotation );
	}
}

How do you assign campFire and SpawnPoint? It looks like one of those two is null. If you have a public inspector field for them, make sure they are set and if you find them via script, make sure that works. You can use print(campFire) statements to check where in your code you expect the value to be not null or better, you can start learning the MonoDevelop Debugger, or any IDEs debugger tool that allows you to set breakpoints at certain lines and hover over variables to see if they are set correctly.

MonoDevelops Debugger