Program: 113090
Project: 113090
Buggy source:
@Override protected CloseableIterator<GeoWaveData<SimpleFeature>> toGeoWaveDataInternal(final WholeFile hfile,final ByteArrayId primaryIndexId,final String globalVisibility){
  final List<GeoWaveData<SimpleFeature>> featureData=new ArrayList<GeoWaveData<SimpleFeature>>();
  final InputStream in=new ZipInputStream(new ByteArrayInputStream(hfile.getOriginalFile().array()));
  final InputStreamReader isr=new InputStreamReader(in,StringUtils.UTF8_CHAR_SET);
  final BufferedReader br=new BufferedReader(isr);
  final GeometryFactory geometryFactory=new GeometryFactory();
  Date timeStamp=null;
  String timestring="String_Node_Str";
  String eventId="String_Node_Str";
  double lat;
  double lon;
  String line;
  try {
    while ((line=br.readLine()) != null) {
      final String[] vals=line.split("String_Node_Str");
      if ((vals.length < GDELTUtils.GDELT_MIN_COLUMNS) || (vals.length > GDELTUtils.GDELT_MAX_COLUMNS)) {
        LOGGER.warn("String_Node_Str" + vals.length + "String_Node_Str");
        continue;
      }
      eventId=vals[GDELTUtils.GDELT_EVENT_ID_COLUMN_ID];
      lat=GeometryUtils.adjustCoordinateDimensionToRange(Double.parseDouble(vals[GDELTUtils.GDELT_LATITUDE_COLUMN_ID]),crs,1);
      lon=GeometryUtils.adjustCoordinateDimensionToRange(Double.parseDouble(vals[GDELTUtils.GDELT_LONGITUDE_COLUMN_ID]),crs,0);
      final Coordinate cord=new Coordinate(lat,lon);
      gdeltEventBuilder.set(GDELTUtils.GDELT_GEOMETRY_ATTRIBUTE,geometryFactory.createPoint(cord));
      gdeltEventBuilder.set(GDELTUtils.GDELT_EVENT_ID_ATTRIBUTE,eventId);
      timestring=vals[GDELTUtils.GDELT_TIMESTAMP_COLUMN_ID];
      timeStamp=GDELTUtils.parseDate(timestring);
      gdeltEventBuilder.set(GDELTUtils.GDELT_TIMESTAMP_ATTRIBUTE,timeStamp);
      gdeltEventBuilder.set(GDELTUtils.GDELT_LATITUDE_ATTRIBUTE,lat);
      gdeltEventBuilder.set(GDELTUtils.GDELT_LONGITUDE_ATTRIBUTE,lon);
      featureData.add(new GeoWaveData<SimpleFeature>(eventKey,primaryIndexId,gdeltEventBuilder.buildFeature(eventId)));
    }
  }
 catch (  final IOException e) {
    LOGGER.warn("String_Node_Str" + hfile.getOriginalFilePath(),e);
  }
catch (  final ParseException e) {
    LOGGER.error("String_Node_Str" + timestring,e);
  }
 finally {
    IOUtils.closeQuietly(br);
    IOUtils.closeQuietly(isr);
    IOUtils.closeQuietly(in);
  }
  return new CloseableIterator.Wrapper<GeoWaveData<SimpleFeature>>(featureData.iterator());
}

Fixed version (ground truth):
@Override protected CloseableIterator<GeoWaveData<SimpleFeature>> toGeoWaveDataInternal(final WholeFile hfile,final ByteArrayId primaryIndexId,final String globalVisibility){
  final List<GeoWaveData<SimpleFeature>> featureData=new ArrayList<GeoWaveData<SimpleFeature>>();
  final InputStream in=new ByteArrayInputStream(hfile.getOriginalFile().array());
  final ZipInputStream zip=new ZipInputStream(in);
  try {
    zip.getNextEntry();
  }
 catch (  final IOException e) {
    LOGGER.error("String_Node_Str" + hfile.getOriginalFilePath(),e);
  }
  final InputStreamReader isr=new InputStreamReader(zip,StringUtils.UTF8_CHAR_SET);
  final BufferedReader br=new BufferedReader(isr);
  final GeometryFactory geometryFactory=new GeometryFactory();
  Date timeStamp=null;
  String timestring="String_Node_Str";
  String eventId="String_Node_Str";
  int actionGeoType;
  final double lat=0;
  final double lon=0;
  String line;
  int lineNumber=0;
  try {
    while ((line=br.readLine()) != null) {
      lineNumber++;
      final String[] vals=line.split("String_Node_Str");
      if ((vals.length < GDELTUtils.GDELT_MIN_COLUMNS) || (vals.length > GDELTUtils.GDELT_MAX_COLUMNS)) {
        LOGGER.warn("String_Node_Str" + vals.length + "String_Node_Str"+ lineNumber+ "String_Node_Str"+ hfile.getOriginalFilePath());
        continue;
      }
      actionGeoType=Integer.parseInt(vals[GDELTUtils.GDELT_ACTION_GEO_TYPE_COLUMN_ID]);
      if (actionGeoType == 0) {
        continue;
      }
      eventId=vals[GDELTUtils.GDELT_EVENT_ID_COLUMN_ID];
      try {
        GDELTUtils.parseLatLon(vals,crs);
      }
 catch (      final Exception e) {
        LOGGER.warn("String_Node_Str" + lineNumber + "String_Node_Str"+ hfile.getOriginalFilePath());
        continue;
      }
      final Coordinate cord=new Coordinate(lat,lon);
      gdeltEventBuilder.set(GDELTUtils.GDELT_GEOMETRY_ATTRIBUTE,geometryFactory.createPoint(cord));
      gdeltEventBuilder.set(GDELTUtils.GDELT_EVENT_ID_ATTRIBUTE,eventId);
      timestring=vals[GDELTUtils.GDELT_TIMESTAMP_COLUMN_ID];
      timeStamp=GDELTUtils.parseDate(timestring);
      gdeltEventBuilder.set(GDELTUtils.GDELT_TIMESTAMP_ATTRIBUTE,timeStamp);
      gdeltEventBuilder.set(GDELTUtils.GDELT_LATITUDE_ATTRIBUTE,lat);
      gdeltEventBuilder.set(GDELTUtils.GDELT_LONGITUDE_ATTRIBUTE,lon);
      featureData.add(new GeoWaveData<SimpleFeature>(eventKey,primaryIndexId,gdeltEventBuilder.buildFeature(eventId)));
    }
  }
 catch (  final IOException e) {
    LOGGER.warn("String_Node_Str" + hfile.getOriginalFilePath(),e);
  }
catch (  final ParseException e) {
    LOGGER.error("String_Node_Str" + timestring,e);
  }
 finally {
    IOUtils.closeQuietly(br);
    IOUtils.closeQuietly(isr);
    IOUtils.closeQuietly(in);
  }
  return new CloseableIterator.Wrapper<GeoWaveData<SimpleFeature>>(featureData.iterator());
}