Author: kwright
Date: Mon Oct 21 14:21:12 2013
New Revision: 1534176

URL: http://svn.apache.org/r1534176
Log:
Another fix for CONNECTORS-790.

Modified:
    
manifoldcf/trunk/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/system/ManifoldCF.java

Modified: 
manifoldcf/trunk/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/system/ManifoldCF.java
URL: 
http://svn.apache.org/viewvc/manifoldcf/trunk/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/system/ManifoldCF.java?rev=1534176&r1=1534175&r2=1534176&view=diff
==============================================================================
--- 
manifoldcf/trunk/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/system/ManifoldCF.java
 (original)
+++ 
manifoldcf/trunk/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/system/ManifoldCF.java
 Mon Oct 21 14:21:12 2013
@@ -2061,6 +2061,8 @@ public class ManifoldCF extends org.apac
   protected static int apiReadJobStatus(IThreadContext tc, Configuration 
output, Long jobID, Map<String,List<String>> queryParameters)
     throws ManifoldCFException
   {
+    if (queryParameters == null)
+      queryParameters = new HashMap<String,List<String>>();
     int maxCount;
     List<String> maxCountList = queryParameters.get("maxcount");
     if (maxCountList == null || maxCountList.size() == 0)


Reply via email to