kris98,
You may have either, lost the source file for the window object, corrupted it, or lost the library that contains it. For example, if it is a window object you created, then you may need to reopen it and check that all calls, references and such are still valid. If the window came from a special or 3rd party library you may have to go to the Library Manager and relocate or reload that library.
If it is not the above, the AC library might be corrupted, you will have to reinstall the library. I had to do this once, I don't remember the procedure, but I could look it up if this might be of help.
Best of luck,
Snapcrackle