Update of /cvsroot/freenet/freenet/src/freenet/node/rt
In directory sc8-pr-cvs1:/tmp/cvs-serv16616/src/freenet/node/rt
Modified Files:
ResponseTimeEstimator.java
Log Message:
Try to catch the actual cause of the NPE
Index: ResponseTimeEstimator.java
===================================================================
RCS file: /cvsroot/freenet/freenet/src/freenet/node/rt/ResponseTimeEstimator.java,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -w -r1.14 -r1.15
--- ResponseTimeEstimator.java 29 Oct 2003 22:45:23 -0000 1.14
+++ ResponseTimeEstimator.java 29 Oct 2003 22:47:56 -0000 1.15
@@ -83,6 +83,7 @@
try {
recent = new RecentReports(i);
} catch (IOException e) {
+ Core.logger.log(this, "Failed reading estimator report history from
InputStream, using empty history", Logger.ERROR);
recent = new RecentReports();
// Not fatal - probably upgrading
}
_______________________________________________
cvs mailing list
[EMAIL PROTECTED]
http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/cvs