Exception caught while accessing pack file /.../objects/pack/pack-db627c1a19af5a52f2f17c1934f89e4c894f3073.pack, the pack file might be corrupt. Caught 1 consecutive errors while trying to read this pack.
private void loadConfig() {
SystemReader configReader = SystemReader.getInstance();
try {
StoredConfig systemConfig = configReader.getSystemConfig();
log.info("loading jgit system config: {}", systemConfig);
systemConfig.load();
}
catch (IOException | ConfigInvalidException e) {
log.error("error while loading jgit system config", e);
}
try {
StoredConfig userConfig = configReader.getUserConfig();
log.info("loading jgit user config: {}", userConfig);
userConfig.load();
}
catch (IOException | ConfigInvalidException e) {
log.error("error while loading jgit user config", e);
}
}