From bf2d15c0fd1c0e36072f291e55729f8e0e4c5005 Mon Sep 17 00:00:00 2001 From: "jm.pascal" Date: Tue, 29 Oct 2013 13:48:21 +0000 Subject: [PATCH] [Quick Fix] WorkflowService --- .../services/impl/onpremise/OnPremiseWorkflowServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)