Program: 36215
Project: 36215
Buggy source:
private void createAssertions(List<ISuite> suites){
  for (  ISuite suite : suites) {
    homepage=suite.getParameter("String_Node_Str");
    assertor=suite.getParameter("String_Node_Str");
    softwareTitle=suite.getParameter("String_Node_Str");
    subjectDev=suite.getParameter("String_Node_Str");
    language=suite.getParameter("String_Node_Str");
    mailBox=suite.getParameter("String_Node_Str");
    description=suite.getParameter("String_Node_Str");
    shortname=suite.getParameter("String_Node_Str");
    Resource assertorRes=model.createResource(assertor);
    assertorRes.addProperty(RDF.type,Earl.Assertor);
    if (description != null)     assertorRes.addProperty(DOAP.description,description);
    Resource personResource=model.createResource(null,FOAF.Person);
    if (mailBox != null)     personResource.addProperty(FOAF.mbox,mailBox);
    if (subjectDev != null)     personResource.addProperty(FOAF.name,subjectDev);
    assertorRes.addProperty(DOAP.developer,personResource);
    Resource softResource=model.createResource(assertor,Earl.Software);
    if (softwareTitle != null)     softResource.addProperty(DCTerms.title,softwareTitle);
    if (shortname != null)     softResource.addProperty(DOAP.name,shortname);
    Resource subjectResource=model.createResource(assertor,Earl.TestSubject);
    subjectResource.addProperty(RDF.type,DOAP.Project);
    if (homepage != null)     subjectResource.addProperty(DOAP.homepage,homepage);
    if (language != null)     subjectResource.addProperty(DOAP.programming_language,language);
    model.createResource(null,subjectResource);
    Map<String,ISuiteResult> tests=suite.getResults();
    for (    ISuiteResult results : tests.values()) {
      ITestContext testContext=results.getTestContext();
      passedTests=testContext.getPassedTests();
      failedTests=testContext.getFailedTests();
      skippedTests=testContext.getSkippedTests();
      getResultProperties(failedTests,FAIL);
      getResultProperties(skippedTests,SKIP);
      getResultProperties(passedTests,PASS);
    }
  }
}

Fixed version (ground truth):
private void createAssertions(List<ISuite> suites){
  for (  ISuite suite : suites) {
    homepage=suite.getParameter("String_Node_Str");
    if (homepage == null)     missingParms.add("String_Node_Str");
    assertor=suite.getParameter("String_Node_Str");
    if (assertor == null)     missingParms.add("String_Node_Str");
    software=suite.getParameter("String_Node_Str");
    if (software == null)     missingParms.add("String_Node_Str");
    developer=suite.getParameter("String_Node_Str");
    if (developer == null)     missingParms.add("String_Node_Str");
    language=suite.getParameter("String_Node_Str");
    if (language == null)     missingParms.add("String_Node_Str");
    mbox=suite.getParameter("String_Node_Str");
    if (mbox == null)     missingParms.add("String_Node_Str");
    description=suite.getParameter("String_Node_Str");
    if (description == null)     missingParms.add("String_Node_Str");
    shortname=suite.getParameter("String_Node_Str");
    if (shortname == null)     missingParms.add("String_Node_Str");
    Resource assertorRes=model.createResource(assertor);
    assertorRes.addProperty(RDF.type,Earl.Assertor);
    Resource subjectResource=model.createResource(homepage,Earl.TestSubject);
    if (description != null)     subjectResource.addProperty(DOAP.description,description);
    Resource personResource=model.createResource(null,FOAF.Person);
    if (mbox != null)     personResource.addProperty(FOAF.mbox,mbox);
    if (developer != null)     personResource.addProperty(FOAF.name,developer);
    subjectResource.addProperty(DOAP.developer,personResource);
    Resource softResource=model.createResource(homepage,Earl.Software);
    if (software != null)     softResource.addProperty(DCTerms.title,software);
    if (shortname != null)     softResource.addProperty(DOAP.name,shortname);
    subjectResource.addProperty(RDF.type,DOAP.Project);
    if (homepage != null)     subjectResource.addProperty(DOAP.homepage,homepage);
    if (language != null)     subjectResource.addProperty(DOAP.programming_language,language);
    Map<String,ISuiteResult> tests=suite.getResults();
    for (    ISuiteResult results : tests.values()) {
      ITestContext testContext=results.getTestContext();
      passedTests=testContext.getPassedTests();
      failedTests=testContext.getFailedTests();
      skippedTests=testContext.getSkippedTests();
      getResultProperties(failedTests,FAIL);
      getResultProperties(skippedTests,SKIP);
      getResultProperties(passedTests,PASS);
    }
  }
}