(NullReferenceException) Wierd Exeption Reference From Engine

I was programing when all of the sudden this error appeared in the console after i compiled my scripts:

NullReferenceException: Object reference not set to an instance of an object
UnityEngine.JsonUtility.FromJson[T] (System.String json) (at <e78722ef08464ab79a3acef56ee8f2b2>:0)
UnityEditor.StateCache`1[T].GetState (UnityEngine.Hash128 key, T defaultValue) (at <5f40cdb07bd44d76a23dad985a4ec283>:0)
UnityEditor.Tools.OnEnable () (at <5f40cdb07bd44d76a23dad985a4ec283>:0)
UnityEditor.EditorAssemblies:ProcessInitializeOnLoadAttributes(Type[ ])

I dont know what it means or why it happens, does anyone know what this means, i tryed to open the scipt attached to this error but it doesent let me. Does anyone know why this happens, it doesent see to do much but im still concerned