diff --git a/alfresco-mobile-android-client-api/src/main/java/org/alfresco/mobile/android/api/services/impl/onpremise/OnPremiseWorkflowServiceImpl.java b/alfresco-mobile-android-client-api/src/main/java/org/alfresco/mobile/android/api/services/impl/onpremise/OnPremiseWorkflowServiceImpl.java index a3ea56e..98857b9 100644 --- a/alfresco-mobile-android-client-api/src/main/java/org/alfresco/mobile/android/api/services/impl/onpremise/OnPremiseWorkflowServiceImpl.java +++ b/alfresco-mobile-android-client-api/src/main/java/org/alfresco/mobile/android/api/services/impl/onpremise/OnPremiseWorkflowServiceImpl.java @@ -458,7 +458,7 @@ public PagingResult getTasks(Process process, ListingContext listingContex Messagesl18n.getString("ErrorCodeRegistry.GENERAL_INVALID_ARG_NULL"), "process")); } String link = OnPremiseUrlRegistry.getTasksForProcessIdUrl(session, process.getIdentifier()); - if (listingContext.getFilter() != null) + if (listingContext != null && listingContext.getFilter() != null) { ListingFilter lf = listingContext.getFilter(); if (lf.hasFilterValue(FILTER_KEY_STATUS)