From 1825540020364681575b81fce199054347a424e1 Mon Sep 17 00:00:00 2001 From: orbiter Date: Sat, 21 Oct 2006 12:23:06 +0000 Subject: [PATCH] another fix for url-db migration git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@2834 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- source/yacy.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/source/yacy.java b/source/yacy.java index 3838a3fe2..ddb89c211 100644 --- a/source/yacy.java +++ b/source/yacy.java @@ -1140,7 +1140,13 @@ public final class yacy { plasmaCrawlLURLEntry.Components comp; byte[] dummymd5 = new byte[0]; while (eiter.hasNext()) { - oldrow = (kelondroRow.Entry) eiter.next(); + try { + oldrow = (kelondroRow.Entry) eiter.next(); + } catch (Exception e) { + // an IOException may occur here + e.printStackTrace(); + oldrow = null; + } if (oldrow != null) try { oldentry = new plasmaCrawlLURLOldEntry(oldrow, null); comp = oldentry.comp();