When I create a new run configuration the Working Directory field is always filled in by default with $PROJECT_DIR$. When I run the project, IDEA complains that it cannot find a directory named $PROJECT_DIR$.
Is that $PROJECT_DIR$ thing supposed to be there? Or is that a bug? I'll report it then.