Author: sleon
Date: 2005-12-04 10:19:02 +0000 (Sun, 04 Dec 2005)
New Revision: 7665
Modified:
trunk/freenet/src/freenet/node/InsertSender.java
Log:
Preventing NPE with initializing of NodesWaitingForCompletion Vector
Modified: trunk/freenet/src/freenet/node/InsertSender.java
===================================================================
--- trunk/freenet/src/freenet/node/InsertSender.java 2005-12-03 23:02:36 UTC
(rev 7664)
+++ trunk/freenet/src/freenet/node/InsertSender.java 2005-12-04 10:19:02 UTC
(rev 7665)
@@ -117,6 +117,7 @@
this.fromStore = fromStore;
this.closestLocation = closestLocation;
this.startTime = System.currentTimeMillis();
+ this.nodesWaitingForCompletion = new Vector();
Thread t = new Thread(this, "InsertSender for UID "+uid+" on
"+node.portNumber+" at "+System.currentTimeMillis());
t.setDaemon(true);
t.start();