Unity 5.1: Cannot apply texture import settings

I cannot change the import settings in 5.1 (base and patch release). When pressing the apply button or applying any other way (like selecting something else) I get the following error:

I also happen that error. Does anyone know how to fix it?