anchor.diff:                  visualization.draw(data, null);
               }
               <%
  -                //            final String basexRestUrl = getInitParameter("basexRestUrl");
  -                final String basexRestUrl = "http://tlatest03:8984/rest/";
  +//                final String basexRestUrl = getInitParameter("basexRestUrl");
  +                final String basexRestUrl = "http://localhost:8984/rest/";
               %>
   
               function drawDetailedVisualization() {
               <%
  +                String errorMessage2 = "";
                   if (request.getParameter("databaseName") != null) {
  -                    String jsonDataDetailed;
  -                    String queryStringDetailed = " ('[[0,0,0,0]',\n" //[\"timestamp\", \"linkcount\", \"documentcount\", \"queryms\"]',\n"
  +                    String jsonDataDetailed = "[[0,0,0,0]]";
  +                    String queryStringDetailed = " ('[[0,0,0,0]',\n" //[''timestamp'', ''linkcount'', ''documentcount'', ''queryms'']',\n"
                               + "let $dbName := '" + request.getParameter("databaseName") + "'\n"
                               + "for $crawlerStats in collection($dbName)/CrawlerStats\n"
                               + "order by $crawlerStats/@timestamp\n"
  -                            + "let $dateTime := $crawlerStats/@timestamp/string()\n"
  +                            + "let $dateTime := if (empty($crawlerStats/@timestamp)) then \n"
  +                            + " '20130000000000'\n"
  +                            + "else\n"
  +                            + " $crawlerStats/@timestamp/string()\n"
                               + "let $jsDateTime := string-join(('new Date(', substring($dateTime, 1, 4), ',', substring($dateTime, 5, 2), ',', substring($dateTime, 7, 2), ',', substring($dateTime, 9, 2), ',', substring($dateTime, 11, 2), ',', substring($dateTime, 13, 2),')'),'')\n"
                               + "let $linkcount := $crawlerStats/@linkcount/string()\n"
                               + "let $documentcount := $crawlerStats/@documentcount/string()\n"
  
positive.code:                     location.href = "?databaseName=" + value;
                  }
                  chart2.draw(data, options);
              }
          </script>
      </head>
      <body>
          <div id="visualization" style="width: 900px; height: 500px;"></div>   
          <% String buttonText;
              if (request.getParameter("databaseName") != null) {
  
negative.code:                     RestDbAdaptor restDbAdaptor = new RestDbAdaptor(new URL(basexRestUrl), DataBaseManager.guestUser, DataBaseManager.guestUserPass);
                      jsonData = restDbAdaptor.executeQuery(DataBaseManager.defaultDataBase, queryString);
                  } catch (MalformedURLException exception2) {
                      errorMessage1 += exception2.getMessage();
                  } catch (QueryException exception2) {
                      errorMessage1 += exception2.getMessage();
                      errorMessage2 += "<pre>" + queryString.replaceAll("\n", "<br>") + "</pre>";
                  }
              %>
  //                var data = google.visualization.arrayToDataTable(<%=jsonData%>);
  