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

SNCB: java.lang.IllegalStateException: cannot handle type: CHKI #492

Closed
gargamel17 opened this issue Oct 28, 2022 · 3 comments
Closed

SNCB: java.lang.IllegalStateException: cannot handle type: CHKI #492

gargamel17 opened this issue Oct 28, 2022 · 3 comments

Comments

@gargamel17
Copy link

Query

  • NetworkId: SNCB
  • From: Location{STATION, 260976, 50.6948550/5.2500870, name=WAREMME Gare [TEC]}
  • Via: null
  • To: Location{STATION, 8813003, 50.8456490/4.3568020, name=Bruxelles-Central, products=[HIGH_SPEED_TRAIN, REGIONAL_TRAIN, SUBWAY, BUS]}
  • Date: Fri Oct 28 19:13:09 GMT+02:00 2022
  • Departure: true
  • Products: [HIGH_SPEED_TRAIN, REGIONAL_TRAIN, SUBURBAN_TRAIN, SUBWAY, TRAM, BUS, FERRY, CABLECAR, ON_DEMAND]
  • Optimize for: LEAST_DURATION
  • Walk Speed: NORMAL

Error

java.lang.IllegalStateException: cannot handle type: CHKI
de.schildbach.pte.AbstractHafasClientInterfaceProvider.jsonTripSearch(AbstractHafasClientInterfaceProvider.java:751)
de.schildbach.pte.AbstractHafasClientInterfaceProvider.queryTrips(AbstractHafasClientInterfaceProvider.java:214)
de.grobox.transportr.trips.search.TripsRepository.queryTrips(TripsRepository.kt:110)

Additional information

[Please modify this part]

@derhuerst
Copy link

CHKI support has been added only recently: 889ceb5

Could it be that @gargamel17 wasn't using the most up-to-date version of public-transport-enabler?

@gargamel17
Copy link
Author

Hello, version I use is 2.1.4, available on F-Droid (IzzyOnDroid repo)

@schildbach
Copy link
Owner

Won't fix. SncbProvider has been removed, see #502.

@schildbach schildbach closed this as not planned Won't fix, can't repro, duplicate, stale Dec 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants