Author: orbiter
Date: 2008-02-03 23:14:22 +0100 (Sun, 03 Feb 2008)
New Revision: 4440
Modified:
trunk/htroot/yacysearchitem.java
Log:
one more NPE patch for a search item case
Modified: trunk/htroot/yacysearchitem.java
===================================================================
--- trunk/htroot/yacysearchitem.java 2008-02-03 21:47:27 UTC (rev 4439)
+++ trunk/htroot/yacysearchitem.java 2008-02-03 22:14:22 UTC (rev 4440)
@@ -145,6 +145,7 @@
final Iterator<String> iter = topwords.iterator();
while (iter.hasNext()) {
word = (String) iter.next();
+ if ((theQuery == null) || (theQuery.queryString ==
null)) break;
if (word != null) {
prop.putHTML("references_words_" + hintcount +
"_word", word);
prop.putHTML("references_words_" + hintcount +
"_newsearch", theQuery.queryString.replace(' ', '+') + "+" + word);
_______________________________________________
YaCy-svn mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/yacy-svn