Desktop application that retrieves AVL data from the USF Bull Runner's AVL system and produces Trip Updates and Vehicle Positions files in GTFS-realtime format.
I think there have been some changes to the Syncromatics feed (https://usfbullrunner.com/region/0/routes) which has broken our local generator so that we are not receiving any vehicle updates.
2016-09-23 09:25:13,560 WARN [GtfsRealtimeProviderImpl.java:568] : Error in vehicle refresh task
org.json.JSONException: Stepping back two steps is not supported
at org.json.JSONTokener.back(JSONTokener.java:77)
at org.json.JSONTokener.nextValue(JSONTokener.java:365)
at edu.usf.cutr.gtfs_realtime.bullrunner.BullRunnerConfigExtract.downloadCofiguration(BullRunnerConfigExtract.java:55)
at edu.usf.cutr.gtfs_realtime.bullrunner.GtfsRealtimeProviderImpl.extractHeading(GtfsRealtimeProviderImpl.java:650)
at edu.usf.cutr.gtfs_realtime.bullrunner.GtfsRealtimeProviderImpl.refreshTripVehicle(GtfsRealtimeProviderImpl.java:450)
The logs indicate some JSONTokenizer exceptions, but if I copy the same code and save a local copy of the feed JSON I don't get the same error - strange.
Further testing showed that perhaps the feed had switched to HTTPS (it was hard-coded as an http link). Changing the URL to HTTPS in two places of GtfsRealtimeProviderImpl.java seems to fix the issue locally. I'll PR a patch soon.
I think there have been some changes to the Syncromatics feed (https://usfbullrunner.com/region/0/routes) which has broken our local generator so that we are not receiving any vehicle updates.
The logs indicate some JSONTokenizer exceptions, but if I copy the same code and save a local copy of the feed JSON I don't get the same error - strange.
A copy of the JSON feed that is causing problems:
Further testing showed that perhaps the feed had switched to HTTPS (it was hard-coded as an http link). Changing the URL to HTTPS in two places of GtfsRealtimeProviderImpl.java seems to fix the issue locally. I'll PR a patch soon.