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

Norway speed test broken with The value is not in range[-43200, 864000]: 929700 #5560

Closed
leonardehrenfried opened this issue Dec 11, 2023 · 0 comments · Fixed by #5561
Closed
Assignees
Labels

Comments

@leonardehrenfried
Copy link
Member

leonardehrenfried commented Dec 11, 2023

Since merging #5525 the Norway speed test started failing with:

Caused by: java.lang.IllegalArgumentException: The value is not in range[-43200, 864000]: 929700
	at org.opentripplanner.framework.lang.IntUtils.requireInRange(IntUtils.java:97)
	at org.opentripplanner.framework.lang.IntUtils.requireInRange(IntUtils.java:104)
	at org.opentripplanner.transit.model.timetable.ScheduledTripTimes.validate(ScheduledTripTimes.java:319)
	at org.opentripplanner.transit.model.timetable.ScheduledTripTimes.<init>(ScheduledTripTimes.java:80)
	at org.opentripplanner.transit.model.timetable.ScheduledTripTimesBuilder.build(ScheduledTripTimesBuilder.java:183)
	at org.opentripplanner.transit.model.timetable.StopTimeToScheduledTripTimesMapper.doMap(StopTimeToScheduledTripTimesMapper.java:67)
	at org.opentripplanner.transit.model.timetable.StopTimeToScheduledTripTimesMapper.map(StopTimeToScheduledTripTimesMapper.java:34)
	at org.opentripplanner.transit.model.timetable.TripTimesFactory.tripTimes(TripTimesFactory.java:27)
	at org.opentripplanner.netex.mapping.TripPatternMapper.createTripTimes(TripPatternMapper.java:374)
	at org.opentripplanner.netex.mapping.TripPatternMapper.mapTripPattern(TripPatternMapper.java:262)
	at org.opentripplanner.netex.mapping.NetexMapper.mapTripPatterns(NetexMapper.java:462)
	at org.opentripplanner.netex.mapping.NetexMapper.mapNetexToOtp(NetexMapper.java:198)
	at org.opentripplanner.netex.NetexBundle.loadFilesThenMapToOtpTransitModel(NetexBundle.java:173)
	at org.opentripplanner.netex.NetexBundle.lambda$loadFileEntries$0(NetexBundle.java:133)
	at org.opentripplanner.netex.NetexBundle.scopeInputData(NetexBundle.java:149)
	at org.opentripplanner.netex.NetexBundle.lambda$loadFileEntries$1(NetexBundle.java:131)
	at org.opentripplanner.netex.NetexBundle.scopeInputData(NetexBundle.java:149)
	at org.opentripplanner.netex.NetexBundle.loadFileEntries(NetexBundle.java:126)
	at org.opentripplanner.netex.NetexBundle.loadBundle(NetexBundle.java:100)
	at org.opentripplanner.netex.NetexModule.buildGraph(NetexModule.java:66)`

Example: https://github.com/opentripplanner/OpenTripPlanner/actions/runs/7162830130/job/19500387404#step:6:1525

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants