Fix by using String instead of File as property.
It seems that Java 7 or Netbeans platform once provided a FilePropertyEditor but don't anymore