Author: toad
Date: 2008-06-27 16:30:25 +0000 (Fri, 27 Jun 2008)
New Revision: 20820

Modified:
   branches/db4o/freenet/src/freenet/node/fcp/GetFailedMessage.java
Log:
redirectURI can be null

Modified: branches/db4o/freenet/src/freenet/node/fcp/GetFailedMessage.java
===================================================================
--- branches/db4o/freenet/src/freenet/node/fcp/GetFailedMessage.java    
2008-06-27 12:48:21 UTC (rev 20819)
+++ branches/db4o/freenet/src/freenet/node/fcp/GetFailedMessage.java    
2008-06-27 16:30:25 UTC (rev 20820)
@@ -137,7 +137,8 @@
        }

        public void removeFrom(ObjectContainer container) {
-               redirectURI.removeFrom(container); // URI belongs to the parent 
which is also being removed.
+               if(redirectURI != null)
+                       redirectURI.removeFrom(container); // URI belongs to 
the parent which is also being removed.
                tracker.removeFrom(container);
                container.delete(this);
        }


Reply via email to