Program: 10182
Project: 10182
Buggy source:
public List<Description> learn(){
  logger.info("String_Node_Str");
  logger.info("String_Node_Str" + posExamples.size());
  logger.info("String_Node_Str" + negExamples.size());
  ComponentManager cm=ComponentManager.getInstance();
  LearningAlgorithm la=null;
  ReasoningService rs=null;
  LearningProblem lp=null;
  KnowledgeSource ks=null;
  try {
    Set<KnowledgeSource> sources=new HashSet<KnowledgeSource>();
    ks=cm.knowledgeSource(OWLFile.class);
    File f=new File(this.owlfile);
    URL url=null;
    try {
      url=new URL("String_Node_Str" + f.getAbsolutePath());
    }
 catch (    MalformedURLException e) {
      e.printStackTrace();
    }
    cm.applyConfigEntry(ks,"String_Node_Str",url.toString());
    ReasonerComponent r=new FastInstanceChecker(sources);
    rs=new ReasoningService(r);
    lp=new PosNegDefinitionLP(rs);
    lp=new PosNegDefinitionLP(rs);
    ((PosNegLP)lp).setPositiveExamples(SetManipulation.stringToInd(this.posExamples));
    ((PosNegLP)lp).setNegativeExamples(SetManipulation.stringToInd(this.negExamples));
    la=cm.learningAlgorithm(ExampleBasedROLComponent.class,lp,rs);
    logger.debug("String_Node_Str");
    cm.applyConfigEntry(la,"String_Node_Str",false);
    cm.applyConfigEntry(la,"String_Node_Str",true);
    cm.applyConfigEntry(la,"String_Node_Str",false);
    cm.applyConfigEntry(la,"String_Node_Str",false);
    cm.applyConfigEntry(la,"String_Node_Str",false);
    cm.applyConfigEntry(la,"String_Node_Str","String_Node_Str");
    cm.applyConfigEntry(la,"String_Node_Str",true);
    ks.init();
    sources.add(ks);
    r.init();
    lp.init();
    la.init();
    la.start();
    return la.getCurrentlyBestDescriptions();
  }
 catch (  Exception e) {
    e.printStackTrace();
  }
  return null;
}

Fixed version (ground truth):
public static List<EvaluatedDescription> learn(String owlFile,SortedSet<String> posExamples,SortedSet<String> negExamples,int maxNrOfResults) throws ComponentInitException, LearningProblemUnsupportedException {
  logger.info("String_Node_Str");
  logger.info("String_Node_Str" + posExamples.size());
  logger.info("String_Node_Str" + negExamples.size());
  ComponentManager cm=ComponentManager.getInstance();
  KnowledgeSource ks=cm.knowledgeSource(OWLFile.class);
  String fileURL=new File(owlFile).toURI().toString();
  cm.applyConfigEntry(ks,"String_Node_Str",fileURL);
  ReasonerComponent r=cm.reasoner(FastInstanceChecker.class,ks);
  ReasoningService rs=cm.reasoningService(r);
  LearningProblem lp=cm.learningProblem(PosNegDefinitionLP.class,rs);
  cm.applyConfigEntry(lp,"String_Node_Str",posExamples);
  cm.applyConfigEntry(lp,"String_Node_Str",negExamples);
  LearningAlgorithm la=cm.learningAlgorithm(ExampleBasedROLComponent.class,lp,rs);
  cm.applyConfigEntry(la,"String_Node_Str",false);
  cm.applyConfigEntry(la,"String_Node_Str",true);
  cm.applyConfigEntry(la,"String_Node_Str",false);
  cm.applyConfigEntry(la,"String_Node_Str",false);
  cm.applyConfigEntry(la,"String_Node_Str",false);
  cm.applyConfigEntry(la,"String_Node_Str","String_Node_Str");
  cm.applyConfigEntry(la,"String_Node_Str",true);
  cm.applyConfigEntry(la,"String_Node_Str",0.0);
  ks.init();
  r.init();
  lp.init();
  la.init();
  logger.debug("String_Node_Str");
  la.start();
  return la.getCurrentlyBestEvaluatedDescriptions(maxNrOfResults);
}