Commented all the error logs.

Resolved #5139
Updated version number to 1.2.2
Merge branch 'hotfix-v1.2.2'