Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Several feeds crash GTFS transformer during calendar simplification #38

Open
demory opened this issue Oct 23, 2012 · 0 comments
Open

Several feeds crash GTFS transformer during calendar simplification #38

demory opened this issue Oct 23, 2012 · 0 comments
Labels

Comments

@demory
Copy link

demory commented Oct 23, 2012

Known feeds:
UTA (S3 ID = b65b2cdf-9a75-4392-9188-a7f771f96601)
Edmonton (S3 ID = fec569e7-83ee-4361-b92f-c5c3fedbe66b)
Madison (S3 ID = 4cdb0435-e3a5-49ce-ab4e-a4dace05944e)
Ride-On (S3 ID = 69c9bbb5-e6f9-4b04-becd-9f5cb6137298)
Delaware Transit (S3 ID = 166e5ab4-38eb-42e1-b905-2005a6f93458)
Norwalk Transit (S3 ID = 27c3116e-9a31-4697-9bae-f7ddc72be05c)
Placer County CA (S3 ID = 0f7b36a7-7830-41f8-90a4-aaa3f44cb132)

Typical output:

2012-10-23 18:56:31,301 INFO  [CalendarServiceDataFactoryImpl.java:90] : serviceId=Utah Transit Authority_12704 (31/33)
2012-10-23 18:56:31,309 INFO  [CalendarServiceDataFactoryImpl.java:90] : serviceId=Utah Transit Authority_84204 (32/33)
2012-10-23 18:56:31,320 INFO  [CalendarServiceDataFactoryImpl.java:90] : serviceId=Utah Transit Authority_123704 (33/33)
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
        at java.util.ArrayList.rangeCheck(ArrayList.java:571)
        at java.util.ArrayList.get(ArrayList.java:349)
        at org.onebusaway.gtfs_transformer.updates.CalendarSimplicationLibrary.computeSimplifiedCalendar(CalendarSimplicationLibrary.java:125)
        at org.onebusaway.gtfs_transformer.updates.CalendarSimplicationStrategy.run(CalendarSimplicationStrategy.java:113)
        at org.onebusaway.gtfs_transformer.GtfsTransformer.udateGtfs(GtfsTransformer.java:176)
        at org.onebusaway.gtfs_transformer.GtfsTransformer.run(GtfsTransformer.java:130)
        at org.onebusaway.gtfs_transformer.GtfsTransformerMain.runApplication(GtfsTransformerMain.java:197)
        at org.onebusaway.gtfs_transformer.GtfsTransformerMain.run(GtfsTransformerMain.java:92)
        at org.onebusaway.gtfs_transformer.GtfsTransformerMain.main(GtfsTransformerMain.java:71)
@ghost ghost assigned novalis Oct 23, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants