manifoldcf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r1421365 - /manifoldcf/branches/CONNECTORS-578/connectors/livelink/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/livelink/LivelinkConnector.java
Date Thu, 13 Dec 2012 16:27:03 GMT
Author: kwright
Date: Thu Dec 13 16:27:02 2012
New Revision: 1421365

URL: http://svn.apache.org/viewvc?rev=1421365&view=rev
Log:
Fix NPE resulting from premature cleanup

Modified:
    manifoldcf/branches/CONNECTORS-578/connectors/livelink/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/livelink/LivelinkConnector.java

Modified: manifoldcf/branches/CONNECTORS-578/connectors/livelink/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/livelink/LivelinkConnector.java
URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-578/connectors/livelink/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/livelink/LivelinkConnector.java?rev=1421365&r1=1421364&r2=1421365&view=diff
==============================================================================
--- manifoldcf/branches/CONNECTORS-578/connectors/livelink/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/livelink/LivelinkConnector.java
(original)
+++ manifoldcf/branches/CONNECTORS-578/connectors/livelink/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/livelink/LivelinkConnector.java
Thu Dec 13 16:27:02 2012
@@ -602,7 +602,8 @@ public class LivelinkConnector extends o
   public void disconnect()
     throws ManifoldCFException
   {
-    llServer.disconnect();
+    if (llServer != null)
+      llServer.disconnect();
     hasBeenSetup = false;
     llServer = null;
     LLDocs = null;



Mime
View raw message