Program: 101335
Project: 101335
Buggy source:
@Override public void init(){
  SessionService.setDatabaseInfo(ConsoleFilter.getDatabase());
  consoleService=new ConsoleService();
  Thread.setDefaultUncaughtExceptionHandler(new Thread.UncaughtExceptionHandler(){
    @Override public void uncaughtException(    Thread thread,    Throwable throwable){
      SessionService.cleanSessions();
      System.gc();
    }
  }
);
  post(new Route("String_Node_Str"){
    protected Object doHandle(    Request request,    Response response,    Neo4jService service){
      final String query=request.body();
      if (query != null && !query.isEmpty()) {
        LOG.warn("String_Node_Str" + query);
      }
      return new Gson().toJson(consoleService.execute(service,null,query,null));
    }
  }
);
  post(new Route("String_Node_Str"){
    protected Object doHandle(    Request request,    Response response,    Neo4jService service){
      final String version=request.body();
      service.setVersion(version);
      return new Gson().toJson(map("String_Node_Str",service.getVersion()));
    }
  }
);
  get(new Route("String_Node_Str"){
    protected Object doHandle(    Request request,    Response response,    Neo4jService service){
      String query=param(request,"String_Node_Str","String_Node_Str");
      return service.cypherQueryResults(query).toString();
    }
  }
);
  post(new Route("String_Node_Str"){
    @Override protected void doBefore(    Request request,    Response response){
      Neo4jService service=SessionService.getService(request.raw(),true);
      if (service.isInitialized()) {
        reset(request);
      }
    }
    protected Object doHandle(    Request request,    Response response,    Neo4jService service){
      final Map input=requestBodyToMap(request);
      final String id=param(input,"String_Node_Str",null);
      final Map<String,Object> result;
      if (id != null) {
        result=consoleService.init(service,id);
      }
 else {
        result=consoleService.init(service,input);
      }
      return new Gson().toJson(result);
    }
  }
);
  get(new Route("String_Node_Str"){
    protected Object doHandle(    Request request,    Response response,    Neo4jService service){
      String query=request.queryParams("String_Node_Str");
      return new Gson().toJson(service.cypherQueryViz(query));
    }
  }
);
  get(new Route("String_Node_Str"){
    protected Object doHandle(    Request request,    Response response,    Neo4jService service){
      return service.exportToGeoff();
    }
  }
);
  get(new Route("String_Node_Str"){
    protected Object doHandle(    Request request,    Response response,    Neo4jService service){
      String query=param(request,"String_Node_Str","String_Node_Str");
      String[] props=param(request,"String_Node_Str","String_Node_Str").split("String_Node_Str");
      final String type=param(request,"String_Node_Str","String_Node_Str");
      final String scale=param(request,"String_Node_Str","String_Node_Str");
      SubGraph graph;
      if (query.trim().isEmpty() || !service.isCypherQuery(query) || service.isMutatingQuery(query)) {
        graph=SubGraph.from(service.getGraphDatabase());
      }
 else {
        final CypherQueryExecutor.CypherResult result=service.cypherQuery(query);
        graph=SubGraph.from(result);
      }
      final String yuml=new YumlExport().toYuml(graph,props);
      return String.format("String_Node_Str",scale,yuml,type);
    }
  }
);
  get(new Route("String_Node_Str"){
    protected Object doHandle(    Request request,    Response response,    Neo4jService service){
      return service.exportToCypher();
    }
  }
);
  get(new Route("String_Node_Str"){
    protected Object doHandle(    Request request,    Response response,    Neo4jService service) throws IOException {
      final String uri=baseUri(request.raw(),"String_Node_Str" + URLEncoder.encode(service.exportToGeoff(),"String_Node_Str") + hasRootNodeParam(service),null);
      return consoleService.shortenUrl(uri);
    }
  }
);
  get(new Route("String_Node_Str"){
    protected Object doHandle(    Request request,    Response response,    Neo4jService service) throws IOException {
      return consoleService.shortenUrl(request.queryParams("String_Node_Str"));
    }
  }
);
  delete(new Route("String_Node_Str"){
    protected Object doHandle(    Request request,    Response response,    Neo4jService service){
      reset(request);
      return "String_Node_Str";
    }
  }
);
  post(new Route("String_Node_Str"){
    protected Object doHandle(    Request request,    Response response,    Neo4jService service) throws SyntaxError, SubgraphError {
      String geoff=request.body();
      if (geoff != null && !geoff.isEmpty()) {
        LOG.warn("String_Node_Str" + geoff);
      }
      Map res=service.mergeGeoff(geoff);
      return new Gson().toJson(res);
    }
  }
);
}

Fixed version (ground truth):
@Override public void init(){
  SessionService.setDatabaseInfo(ConsoleFilter.getDatabase());
  consoleService=new ConsoleService();
  Thread.setDefaultUncaughtExceptionHandler(new Thread.UncaughtExceptionHandler(){
    @Override public void uncaughtException(    Thread thread,    Throwable throwable){
      SessionService.cleanSessions();
      System.gc();
    }
  }
);
  post(new Route("String_Node_Str"){
    protected Object doHandle(    Request request,    Response response,    Neo4jService service){
      final String query=request.body();
      if (query != null && !query.isEmpty()) {
        LOG.warn("String_Node_Str" + query);
      }
      return new Gson().toJson(consoleService.execute(service,null,query,null));
    }
  }
);
  post(new Route("String_Node_Str"){
    protected Object doHandle(    Request request,    Response response,    Neo4jService service){
      final String version=request.body();
      service.setVersion(version);
      return new Gson().toJson(map("String_Node_Str",service.getVersion()));
    }
  }
);
  get(new Route("String_Node_Str"){
    protected Object doHandle(    Request request,    Response response,    Neo4jService service){
      String query=param(request,"String_Node_Str","String_Node_Str");
      return service.cypherQueryResults(query).toString();
    }
  }
);
  post(new Route("String_Node_Str"){
    @Override protected void doBefore(    Request request,    Response response){
      Neo4jService service=SessionService.getService(request.raw(),true);
      if (service.isInitialized()) {
        reset(request);
      }
    }
    protected Object doHandle(    Request request,    Response response,    Neo4jService service){
      final Map input=requestBodyToMap(request);
      final String id=param(input,"String_Node_Str",null);
      final Map<String,Object> result;
      if (id != null) {
        result=consoleService.init(service,id);
      }
 else {
        result=consoleService.init(service,input);
      }
      return new Gson().toJson(result);
    }
  }
);
  get(new Route("String_Node_Str"){
    protected Object doHandle(    Request request,    Response response,    Neo4jService service){
      String query=request.queryParams("String_Node_Str");
      return new Gson().toJson(service.cypherQueryViz(query));
    }
  }
);
  get(new Route("String_Node_Str"){
    protected Object doHandle(    Request request,    Response response,    Neo4jService service){
      return service.exportToGeoff();
    }
  }
);
  get(new Route("String_Node_Str"){
    protected Object doHandle(    Request request,    Response response,    Neo4jService service){
      String query=param(request,"String_Node_Str","String_Node_Str");
      String[] props=param(request,"String_Node_Str","String_Node_Str").split("String_Node_Str");
      final String type=param(request,"String_Node_Str","String_Node_Str");
      final String scale=param(request,"String_Node_Str","String_Node_Str");
      SubGraph graph;
      if (query.trim().isEmpty() || !service.isCypherQuery(query) || service.isMutatingQuery(query)) {
        graph=SubGraph.from(service.getGraphDatabase());
      }
 else {
        final CypherQueryExecutor.CypherResult result=service.cypherQuery(query);
        graph=SubGraph.from(service.getGraphDatabase(),result);
      }
      final String yuml=new YumlExport().toYuml(graph,props);
      return String.format("String_Node_Str",scale,yuml,type);
    }
  }
);
  get(new Route("String_Node_Str"){
    protected Object doHandle(    Request request,    Response response,    Neo4jService service){
      return service.exportToCypher();
    }
  }
);
  get(new Route("String_Node_Str"){
    protected Object doHandle(    Request request,    Response response,    Neo4jService service) throws IOException {
      final String uri=baseUri(request.raw(),"String_Node_Str" + URLEncoder.encode(service.exportToGeoff(),"String_Node_Str") + hasRootNodeParam(service),null);
      return consoleService.shortenUrl(uri);
    }
  }
);
  get(new Route("String_Node_Str"){
    protected Object doHandle(    Request request,    Response response,    Neo4jService service) throws IOException {
      return consoleService.shortenUrl(request.queryParams("String_Node_Str"));
    }
  }
);
  delete(new Route("String_Node_Str"){
    protected Object doHandle(    Request request,    Response response,    Neo4jService service){
      reset(request);
      return "String_Node_Str";
    }
  }
);
  post(new Route("String_Node_Str"){
    protected Object doHandle(    Request request,    Response response,    Neo4jService service) throws SyntaxError, SubgraphError {
      String geoff=request.body();
      if (geoff != null && !geoff.isEmpty()) {
        LOG.warn("String_Node_Str" + geoff);
      }
      Map res=service.mergeGeoff(geoff);
      return new Gson().toJson(res);
    }
  }
);
}