GetWindow bug? help-me!!

when I call this code:
var window = GetWindow(EditorUtilityDisplayProgressBar);
of this error:
Instance of EditorUtilityDisplayProgressBar couldn’t be created because there is no script with that name.
UnityEditor.EditorWindow:GetWindow(Type)
EditorUtilityDisplayProgressBar:Init() (at Assets/Simata.js:8)

and

NullReferenceException: Object reference not set to an instance of an object
UnityEditor.EditorWindow.GetWindow (System.Type t, Boolean utility, System.String title, Boolean focus) (at C:/BuildAgent/work/b0bcff80449a48aa/Editor/MonoGenerated/Editor/EditorWindow.cs:308)
UnityEditor.EditorWindow.GetWindow (System.Type t) (at C:/BuildAgent/work/b0bcff80449a48aa/Editor/MonoGenerated/Editor/EditorWindow.cs:294)
EditorUtilityDisplayProgressBar.Init () (at Assets/Simata.js:8)

JS creates a class for every script, and in your case there is a class called Simata. To be able to use something as an EditorWindow, it needs to be within a file of the same name. Rename that file to EditorUtilitiyDisplayProgressBar. Somewhat obnoxious requirement, but it should help.

Thank you friend. You helped a lot!