handle null paths
[meviz.git] / src / main / java / eu / svjatoslav / meviz / htmlindexer / WebIndexer.java
index 199f789..6530e70 100644 (file)
@@ -35,6 +35,9 @@ public class WebIndexer extends AbstractIndexer {
        public String getHtml(String requestPath) throws MalformedURLException,
                        IOException, ClassNotFoundException {
 
+               if (requestPath == null)
+                       requestPath = "";
+
                if (requestPath.equals("/"))
                        requestPath = "";