The problem got fixed after upgrading from jdk1.8.0_66 to jdk1.8.0_152
Thanks @mogoodrich for sharing the fix!