Program: 109566
Project: 109566
Buggy source:
public GraphContextImpl(Imported<Service<? extends VertexFrame>> graphServices,File diskCache,GraphTypeRegistry graphTypeRegistry,GraphApiCompositeClassLoaderProvider classLoaderProvider){
  this.graphServices=graphServices;
  this.graphTypeRegistry=graphTypeRegistry;
  this.classLoaderProvider=classLoaderProvider;
  FileUtils.deleteQuietly(diskCache);
  this.diskCacheDir=diskCache;
  File lucene=new File(diskCache,"String_Node_Str");
  File berkeley=new File(diskCache,"String_Node_Str");
  Configuration conf=new BaseConfiguration();
  conf.setProperty("String_Node_Str",berkeley.getAbsolutePath());
  conf.setProperty("String_Node_Str","String_Node_Str");
  conf.setProperty("String_Node_Str","String_Node_Str");
  conf.setProperty("String_Node_Str",lucene.getAbsolutePath());
  conf.setProperty("String_Node_Str","String_Node_Str");
  conf.setProperty("String_Node_Str","String_Node_Str");
  this.titanGraph=TitanFactory.open(conf);
  this.eventGraph=new EventGraph<TitanGraph>(this.titanGraph);
  String[] keys=new String[]{"String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str"};
  for (  String key : keys) {
    this.titanGraph.makeKey(key).dataType(String.class).indexed(Vertex.class).make();
  }
  for (  String key : new String[]{"String_Node_Str"}) {
    this.titanGraph.makeKey(key).dataType(String.class).indexed("String_Node_Str",Vertex.class).make();
  }
  for (  String key : new String[]{WindupVertexFrame.TYPE_PROP}) {
    this.titanGraph.makeKey(key).list().dataType(String.class).indexed("String_Node_Str",Vertex.class).make();
  }
  batch=new BatchGraph<TitanGraph>(this.titanGraph,1000L);
  final ClassLoader compositeClassLoader=classLoaderProvider.getCompositeClassLoader();
  final AdjacentMapHandler frameMapHandler=new AdjacentMapHandler();
  final FrameClassLoaderResolver fclr=new FrameClassLoaderResolver(){
    public ClassLoader resolveClassLoader(    Class<?> frameType){
      return compositeClassLoader;
    }
  }
;
  final Module addModules=new Module(){
    @Override public Graph configure(    Graph baseGraph,    FramedGraphConfiguration config){
      config.setFrameClassLoaderResolver(fclr);
      config.addMethodHandler(frameMapHandler);
      config.addMethodHandler(new WindupPropertyMethodHandler());
      return baseGraph;
    }
  }
;
  FramedGraphFactory factory=new FramedGraphFactory(addModules,new JavaHandlerModule(),graphTypeRegistry.build(),new GremlinGroovyModule());
  framed=factory.create(eventGraph);
}

Fixed version (ground truth):
public GraphContextImpl(Imported<Service<? extends VertexFrame>> graphServices,File diskCache,GraphTypeRegistry graphTypeRegistry,GraphApiCompositeClassLoaderProvider classLoaderProvider){
  this.graphServices=graphServices;
  this.graphTypeRegistry=graphTypeRegistry;
  this.classLoaderProvider=classLoaderProvider;
  FileUtils.deleteQuietly(diskCache);
  this.diskCacheDir=diskCache;
  File lucene=new File(diskCache,"String_Node_Str");
  File berkeley=new File(diskCache,"String_Node_Str");
  Configuration conf=new BaseConfiguration();
  conf.setProperty("String_Node_Str",berkeley.getAbsolutePath());
  conf.setProperty("String_Node_Str","String_Node_Str");
  conf.setProperty("String_Node_Str","String_Node_Str");
  conf.setProperty("String_Node_Str",lucene.getAbsolutePath());
  conf.setProperty("String_Node_Str","String_Node_Str");
  conf.setProperty("String_Node_Str","String_Node_Str");
  this.titanGraph=TitanFactory.open(conf);
  String[] keys=new String[]{"String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str"};
  for (  String key : keys) {
    this.titanGraph.makeKey(key).dataType(String.class).indexed(Vertex.class).make();
  }
  for (  String key : new String[]{"String_Node_Str"}) {
    this.titanGraph.makeKey(key).dataType(String.class).indexed("String_Node_Str",Vertex.class).make();
  }
  for (  String key : new String[]{WindupVertexFrame.TYPE_PROP}) {
    this.titanGraph.makeKey(key).list().dataType(String.class).indexed(Vertex.class).make();
  }
  this.eventGraph=new EventGraph<TitanGraph>(this.titanGraph);
  batch=new BatchGraph<TitanGraph>(this.titanGraph,1000L);
  final ClassLoader compositeClassLoader=classLoaderProvider.getCompositeClassLoader();
  final AdjacentMapHandler frameMapHandler=new AdjacentMapHandler();
  final FrameClassLoaderResolver fclr=new FrameClassLoaderResolver(){
    public ClassLoader resolveClassLoader(    Class<?> frameType){
      return compositeClassLoader;
    }
  }
;
  final Module addModules=new Module(){
    @Override public Graph configure(    Graph baseGraph,    FramedGraphConfiguration config){
      config.setFrameClassLoaderResolver(fclr);
      config.addMethodHandler(frameMapHandler);
      config.addMethodHandler(new WindupPropertyMethodHandler());
      return baseGraph;
    }
  }
;
  FramedGraphFactory factory=new FramedGraphFactory(addModules,new JavaHandlerModule(),graphTypeRegistry.build(),new GremlinGroovyModule());
  framed=factory.create(eventGraph);
}