Author: kwright
Date: Mon Jul 14 18:59:32 2014
New Revision: 1610484

URL: http://svn.apache.org/r1610484
Log:
Fix an NPE

Modified:
    
manifoldcf/branches/CONNECTORS-990/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/system/WorkerThread.java

Modified: 
manifoldcf/branches/CONNECTORS-990/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/system/WorkerThread.java
URL: 
http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-990/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/system/WorkerThread.java?rev=1610484&r1=1610483&r2=1610484&view=diff
==============================================================================
--- 
manifoldcf/branches/CONNECTORS-990/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/system/WorkerThread.java
 (original)
+++ 
manifoldcf/branches/CONNECTORS-990/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/system/WorkerThread.java
 Mon Jul 14 18:59:32 2014
@@ -1324,7 +1324,8 @@ public class WorkerThread extends Thread
       String newVersionString)
       throws ManifoldCFException
     {
-      IPipelineSpecificationWithVersions spec = 
fetchPipelineSpecifications.get(documentIdentifier);
+      String documentIdentifierHash = ManifoldCF.hash(documentIdentifier);
+      IPipelineSpecificationWithVersions spec = 
fetchPipelineSpecifications.get(documentIdentifierHash);
       return 
ingester.checkFetchDocument(spec,newVersionString,parameterVersion,connection.getACLAuthority());
     }
 


Reply via email to