Back porting to 1.9.x: Error when adding a task in version 1.9.3 -
TRUNK-3970