diff --git a/core/src/main/java/ch/cyberduck/core/worker/WriteTimestampWorker.java b/core/src/main/java/ch/cyberduck/core/worker/WriteTimestampWorker.java index c9b1f531f4d..eee713559dd 100644 --- a/core/src/main/java/ch/cyberduck/core/worker/WriteTimestampWorker.java +++ b/core/src/main/java/ch/cyberduck/core/worker/WriteTimestampWorker.java @@ -65,7 +65,8 @@ protected String getLockId(final Path file) { @Override public String getActivity() { return MessageFormat.format(LocaleFactory.localizedString("Changing timestamp of {0} to {1}", "Status"), - file.getName(), UserDateFormatterFactory.get().getShortFormat(modified)); + file.getName(), modified != null ? UserDateFormatterFactory.get().getShortFormat(modified) : + created != null ? UserDateFormatterFactory.get().getShortFormat(created) : LocaleFactory.localizedString("Unknown")); } @Override