Program: 51460
Project: 51460
Buggy source:
@Override protected void setUp() throws Exception {
  System.setProperty("String_Node_Str","String_Node_Str");
  System.setProperty("String_Node_Str",SOLUTION_PATH + "String_Node_Str");
  System.setProperty("String_Node_Str","String_Node_Str");
  tmp=new File("String_Node_Str");
  tmp.mkdirs();
  microPlatform=new MicroPlatform(SOLUTION_PATH);
  final IUnifiedRepository repository=new FileSystemBackedUnifiedRepository(SOLUTION_PATH);
  microPlatform.defineInstance(IUnifiedRepository.class,repository);
  Assert.assertNotNull(new RepositoryUtils(repository).getFolder("String_Node_Str",true,true,null));
  Assert.assertNotNull(new RepositoryUtils(repository).getFolder("String_Node_Str",true,true,null));
  Assert.assertNotNull(new RepositoryUtils(repository).getFolder("String_Node_Str",true,true,null));
  microPlatform.define(ISolutionEngine.class,SolutionEngine.class);
  microPlatform.define(PentahoNameGenerator.class,TempDirectoryNameGenerator.class);
  microPlatform.define(IUserRoleListService.class,MockUserRoleListService.class);
  microPlatform.defineInstance("String_Node_Str",new SQLConnection());
  microPlatform.defineInstance(IDBDatasourceService.class,new JndiDatasourceService());
  microPlatform.define(IMondrianCatalogService.class,MondrianCatalogHelper.class,IPentahoDefinableObjectFactory.Scope.GLOBAL);
  microPlatform.define(IServiceManager.class,DefaultServiceManager.class,IPentahoDefinableObjectFactory.Scope.GLOBAL);
  microPlatform.define(IPluginProvider.class,SystemPathXmlPluginProvider.class);
  microPlatform.start();
  IPentahoSession session=new StandaloneSession("String_Node_Str");
  PentahoSessionHolder.setSession(session);
}

Fixed version (ground truth):
@Override protected void setUp() throws Exception {
  System.setProperty("String_Node_Str","String_Node_Str");
  System.setProperty("String_Node_Str",SOLUTION_PATH + "String_Node_Str");
  System.setProperty("String_Node_Str","String_Node_Str");
  ClassicEngineBoot.getInstance().start();
  tmp=new File("String_Node_Str");
  tmp.mkdirs();
  microPlatform=new MicroPlatform(SOLUTION_PATH);
  final IUnifiedRepository repository=new FileSystemBackedUnifiedRepository(SOLUTION_PATH);
  microPlatform.defineInstance(IUnifiedRepository.class,repository);
  Assert.assertNotNull(new RepositoryUtils(repository).getFolder("String_Node_Str",true,true,null));
  Assert.assertNotNull(new RepositoryUtils(repository).getFolder("String_Node_Str",true,true,null));
  Assert.assertNotNull(new RepositoryUtils(repository).getFolder("String_Node_Str",true,true,null));
  microPlatform.define(ISolutionEngine.class,SolutionEngine.class);
  microPlatform.define(PentahoNameGenerator.class,TempDirectoryNameGenerator.class);
  microPlatform.define(IUserRoleListService.class,MockUserRoleListService.class);
  microPlatform.defineInstance("String_Node_Str",new SQLConnection());
  microPlatform.defineInstance(IDBDatasourceService.class,new JndiDatasourceService());
  microPlatform.define(IMondrianCatalogService.class,MondrianCatalogHelper.class,IPentahoDefinableObjectFactory.Scope.GLOBAL);
  microPlatform.define(IServiceManager.class,DefaultServiceManager.class,IPentahoDefinableObjectFactory.Scope.GLOBAL);
  microPlatform.define(IPluginProvider.class,SystemPathXmlPluginProvider.class);
  microPlatform.start();
  IPentahoSession session=new StandaloneSession("String_Node_Str");
  PentahoSessionHolder.setSession(session);
}