when init the reposityr and occur a error