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

MATSim Version Compatibility Problems in GTFSConverter #30

Open
reckerh opened this issue May 23, 2023 · 0 comments
Open

MATSim Version Compatibility Problems in GTFSConverter #30

reckerh opened this issue May 23, 2023 · 0 comments

Comments

@reckerh
Copy link

reckerh commented May 23, 2023

When using the GTFSConverter from GTFS2MATSim with MATSim 15.0-SNAPSHOT to create a PT network in MATSim (as in https://github.com/reckerh/matsim-stuttgart/blob/master/src/main/java/org/matsim/stuttgart/prepare/CreatePt.java), the following error appears:

Exception in thread "main" java.lang.IncompatibleClassChangeError: Found interface org.matsim.utils.objectattributes.attributable.Attributes, but class was expected
    at org.matsim.contrib.gtfs.GtfsConverter.convert(GtfsConverter.java:105)
    at org.matsim.stuttgart.prepare.CreatePt.create(CreatePt.java:65)
    at org.matsim.stuttgart.prepare.CreatePt.main(CreatePt.java:50)

The problem does not appear when working with MATSim 14.0.
I suspect that this is a compatibility issue that might be resolved by switching the GTFS2MATSim library to MATSim 15.0.

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

1 participant