NullReferenceException at Line: -1

Hey, I'm not sure what I did but when I run my project I get a NullReferenceException at line -1. I can play my game perfectly but I dislike having the error (got to mean something is wrong even though you don't notice it).

this is what it sais:

NullReferenceException: Object reference not set to an instance of an object UnityEngine.GUILayoutUtility.EndLayoutGroup () UnityEngine.GUILayout.EndHorizontal () UnityEditor.AssetImporterInspector.ApplyRevertGUI () UnityEditor.ModelImporterInspector.OnInspectorGUI () UnityEditor.InspectorWindow.OnGUI () System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000]

EDIT After restarting unity (shutting down unity took like 5 min) the error was gone.

Restarting Unity also helped me.