清空homeDirectory,profilePath这两个栏位时,不能用空串。要用null. 转载于:https://www.cnblogs.com/sdikerdong/archive/2012/12/12/2813992.html