anchor.diff:                      RestDbAdaptor restDbAdaptor = new RestDbAdaptor(new URL(basexRestUrl), DataBaseManager.guestUser, DataBaseManager.guestUserPass);
                       jsonData = restDbAdaptor.executeQuery(DataBaseManager.defaultDataBase, queryString);
                   } catch (MalformedURLException exception2) {
  -                    jsonData = "[[Error Getting Data][" + exception2.getMessage() + "]]";
  +                    errorMessage1 += exception2.getMessage();
                   } catch (QueryException exception2) {
  -                    jsonData = "[[Error Getting Data][" + exception2.getMessage() + "][" + queryString + "]]";
  +                    errorMessage1 += exception2.getMessage();
  +                    errorMessage2 += "<pre>" + queryString.replaceAll("\n", "<br>") + "</pre>";
                   }
               %>
   //                var data = google.visualization.arrayToDataTable(<%=jsonData%>);
  
positive.code:                 visualization.draw(data, null);
              }
              <%
                  //            final String basexRestUrl = getInitParameter("basexRestUrl");
                  final String basexRestUrl = "http://tlatest03:8984/rest/";
              %>
  
              function drawDetailedVisualization() {
              <%
                  if (request.getParameter("databaseName") != null) {
                      String jsonDataDetailed;
                      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 $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"
  
negative.code:                     try {
                          RestDbAdaptor restDbAdaptor = new RestDbAdaptor(new URL(basexRestUrl), DataBaseManager.guestUser, DataBaseManager.guestUserPass);
                          jsonDataDetailed = restDbAdaptor.executeQuery(DataBaseManager.defaultDataBase, queryStringDetailed);
                      } catch (MalformedURLException exception2) {
                          errorMessage2 += exception2.getMessage();
                      } catch (QueryException exception2) {
                          errorMessage2 += exception2.getMessage();
                          errorMessage2 += "<pre>" + queryStringDetailed.replaceAll("\n", "<br>") + "</pre>";
                      }
              %>
  //                var data = google.visualization.arrayToDataTable(<%=jsonDataDetailed%>);
                  var data = new google.visualization.DataTable();
  