I changed the array objects to be static because i wanted it to be updated once i open the window so i call it in the ShowWindow method the problem is that the variable serializedProperty is null.
static things are not serialized and not shown in the inspector. if you want to do UI for a static filed you can not use the property will need to use the basic UI fields to get the value from the UI and set it.