Embrace fail-fast principle for configuration parsing (for 1.2.x).

This branch is based on commit 0cdf216. Could you please merge this change and release 1.2.1 version?