I found that sometimes when the webapp is created is tries to index it which then tries to get the app owner which doesn't exist yet. Moving the author user up resolved it for me.