diff --git a/owncloudComLibrary/src/main/java/com/owncloud/android/lib/resources/files/ReadRemoteFolderOperation.java b/owncloudComLibrary/src/main/java/com/owncloud/android/lib/resources/files/ReadRemoteFolderOperation.java index 9644d0dd..c9046bf5 100644 --- a/owncloudComLibrary/src/main/java/com/owncloud/android/lib/resources/files/ReadRemoteFolderOperation.java +++ b/owncloudComLibrary/src/main/java/com/owncloud/android/lib/resources/files/ReadRemoteFolderOperation.java @@ -106,7 +106,9 @@ public class ReadRemoteFolderOperation extends RemoteOperation(e); } finally { - if (result.isSuccess()) { + if (result == null) { + Timber.e("Synchronized " + mRemotePath + ": result is null"); + } else if (result.isSuccess()) { Timber.i("Synchronized " + mRemotePath + ": " + result.getLogMessage()); } else { if (result.isException()) {