From 45c6bdac1e2ea92a9c3273459e2e76b1e2acf960 Mon Sep 17 00:00:00 2001 From: orbiter Date: Tue, 12 Jun 2007 10:36:28 +0000 Subject: [PATCH] fix for http://www.yacy-forum.de/viewtopic.php?p=36880#36880 git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@3872 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- htroot/AccessTracker_p.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/htroot/AccessTracker_p.java b/htroot/AccessTracker_p.java index df4ba978a..e3ecbb4e6 100644 --- a/htroot/AccessTracker_p.java +++ b/htroot/AccessTracker_p.java @@ -65,8 +65,9 @@ public class AccessTracker_p { host = (String) i.next(); access = switchboard.accessTrack(host); - for (int j = access.size() - 1; j >= 0; j--) { + trackl: for (int j = access.size() - 1; j >= 0; j--) { track = (serverTrack) access.get(j); + if (track == null) continue trackl; prop.put("page_list_" + entCount + "_host", host); prop.put("page_list_" + entCount + "_date", yacyCore.universalDateShortString(new Date(track.time))); prop.put("page_list_" + entCount + "_path", track.path);