diff --git a/htroot/Network.java b/htroot/Network.java index f2888ae0d..c588bd1d8 100644 --- a/htroot/Network.java +++ b/htroot/Network.java @@ -293,6 +293,7 @@ public class Network { links = Long.parseLong(seed.get("LCount", "0")); words = Long.parseLong(seed.get("ICount", "0")); } catch (Exception exc) {links = 0; words = 0;} + prop.put(STR_TABLE_LIST+conCount+"_hash", seed.hash); String shortname = seed.get("Name", "deadlink"); if (shortname.length() > 20) { shortname = shortname.substring(0, 20) + "..."; diff --git a/source/de/anomic/kelondro/kelondroDyn.java b/source/de/anomic/kelondro/kelondroDyn.java index bcd9fc649..b90912954 100644 --- a/source/de/anomic/kelondro/kelondroDyn.java +++ b/source/de/anomic/kelondro/kelondroDyn.java @@ -126,7 +126,7 @@ public class kelondroDyn extends kelondroTree { } private byte[] dynKey(String key, int record) { - if (key.length() > keylen) throw new RuntimeException("key len out of limit:" + key.length()); + if (key.length() > keylen) throw new RuntimeException("key len (" + key.length() + ") out of limit (" + keylen + "): '" + key + "'"); while (key.length() < keylen) key = key + "_"; key = key + counter(record); return key.getBytes();