JBZipFile (String postfix) { File file = getArchiveFile(postfix); try { return new JBZipFile(file); } catch (IOException e) { file.delete(); JBZipFile zipFile = null; try { zipFile = new JBZipFile(file); Notifications.Bus.notify(new Notification("Tasks", TaskBundle.message("notification.title.context.data.corrupted"), TaskBundle.message("notification.content.context.information.history", myProject.getName()), NotificationType.ERROR), myProject); } catch (IOException e1) { LOG.error("Can't repair form context data corruption", e1); } return zipFile; } }