Make plans stop on java errors