diff --git a/src/main/java/ch/naviqore/gtfs/schedule/GtfsScheduleParser.java b/src/main/java/ch/naviqore/gtfs/schedule/GtfsScheduleParser.java index c3b8b4f5..04dda1d5 100644 --- a/src/main/java/ch/naviqore/gtfs/schedule/GtfsScheduleParser.java +++ b/src/main/java/ch/naviqore/gtfs/schedule/GtfsScheduleParser.java @@ -91,7 +91,7 @@ private void parseRoute(CSVRecord record) { private void parseTrips(CSVRecord record) { try { builder.addTrip(record.get("trip_id"), record.get("route_id"), record.get("service_id"), - record.get("trip_headsign"), + Utils.getStringFieldOrDefault(record, "trip_headsign", ""), AccessibilityInformation.parse(Utils.getIntFieldOrDefault(record, "wheelchair_accessible", 0)), BikeInformation.parse(Utils.getIntFieldOrDefault(record, "bikes_allowed", 0))); } catch (IllegalArgumentException e) {