Can someone tell me what are the possible reasons why a foreach loop in java is not executing? Because everytime I debug the program, it does not enter inside my foreach.
for(SurveyReport surveyReport : surveyReportList)
{
System.out.println(surveyReport.getRiskRank().toString());
}
This is my foreach loop. Simple but terribly weird because I'm always receiving InvocationTargetException.