Closed alexanderbachev closed 4 years ago
The latest version of pt2matsim (19.11
) only works together with MATSim 11, but you are using a weekly-snapshot of MATSim 12. There have been changes between MATSim 11 and the current development version of MATSim 12, which result in the IncompatibleClassChangeError
.
Until there is a newer version of pt2matsim available that gains compatibility with MATSim 12, you should have use them separately, or use MATSim 11 instead of 12-SNAPSHOT.
Thank you for the fast reply, Dr. Rieser!
I am sorry for asking silly questions here, I know this is not an online course, however I can't find any help in the book or elsewhere. By "using them separately", do you mean starting a new matsim-example-project with matsim version 11.0 and then adding pt2matsim just to build the transitSchedule?
So far I've tried to change the version of matsim in the pom.xml file of my current project to 11.0:
After that change, the project no longer builds, raising some errors with the geotools library if I understand correctly.
Information:java: Errors occurred while compiling module 'matsim-example-project'
Information:javac 13.0.2 was used to compile java sources
Information:20.05.20, 1:39 - Build completed with 11 errors and 0 warnings in 2 s 626 ms
Error:java: error reading /Users/alexanderbachev/.m2/repository/org/geotools/gt-main/20.2/gt-main-20.2.jar; zip END header not found
Error:java: error reading /Users/alexanderbachev/.m2/repository/org/geotools/gt-referencing/20.2/gt-referencing-20.2.jar; zip END header not found
Error:java: error reading /Users/alexanderbachev/.m2/repository/org/geotools/gt-shapefile/20.2/gt-shapefile-20.2.jar; zip END header not found
Error:java: error reading /Users/alexanderbachev/.m2/repository/org/geotools/gt-geotiff/20.2/gt-geotiff-20.2.jar; zip END header not found
/Users/alexanderbachev/matsim-example-project/src/main/java/org/matsim/project/RunCreatePopulationRandom.java
Error:(1, 1) java: cannot access org.matsim.project
Error reading file /Users/alexanderbachev/.m2/repository/org/geotools/gt-main/20.2/gt-main-20.2.jar: zip END header not found
/Users/alexanderbachev/matsim-example-project/src/main/java/org/matsim/project/RUN.java
Error:(1, 1) java: cannot access unnamed package
Error reading file /Users/alexanderbachev/.m2/repository/org/geotools/gt-main/20.2/gt-main-20.2.jar: zip END header not found
/Users/alexanderbachev/matsim-example-project/src/main/java/org/matsim/gui/MATSimGUI.java
Error:(20, 1) java: cannot access org.matsim.gui
Error reading file /Users/alexanderbachev/.m2/repository/org/geotools/gt-main/20.2/gt-main-20.2.jar: zip END header not found
/Users/alexanderbachev/matsim-example-project/src/main/java/org/matsim/project/RunCreateNetworkFromOSM.java
Error:(28, 8) java: cannot access java.lang
Error reading file /Users/alexanderbachev/.m2/repository/org/geotools/gt-main/20.2/gt-main-20.2.jar: zip END header not found
Error:(61, 51) java: cannot access OsmNetworkReader
Error reading file /Users/alexanderbachev/.m2/repository/org/geotools/gt-main/20.2/gt-main-20.2.jar: zip END header not found
/Users/alexanderbachev/matsim-example-project/src/main/java/org/matsim/project/RunMatsimFromExamplesUtils.java
Error:(13, 1) java: cannot access org.matsim
Error reading file /Users/alexanderbachev/.m2/repository/org/geotools/gt-main/20.2/gt-main-20.2.jar: zip END header not found
/Users/alexanderbachev/matsim-example-project/src/main/java/org/matsim/project/RunMatsim.java
Error:(31, 8) java: cannot access org
Error reading file /Users/alexanderbachev/.m2/repository/org/geotools/gt-main/20.2/gt-main-20.2.jar: zip END header not found
Shouldn't that be updated to the new URL (
Yes you're right, thank you! I'll fix it.
Hi, @polettif . Sorry to bother you again with the same issue. I am rather new to Java, Maven and huge complicated distributed projects and might ask silly questions. I can't update the pt2matsim dependancy to the latest 20.5-SNAPSHOT version. I think this might be, because that version is not specified anywhere on http://dl.bintray.com/polettif/matsim/org/matsim/pt2matsim/ , especially in the maven metadata xml file. Does it have to be uploaded there manually before everyone can use it or is there another trick?
Yes, snapshot versions are not on bintray. If you want to use a snapshot version in your project, you can clone the pt2matsim repository and add the local repo as a Maven project. That way, the local files are used instead of a released binary.
I'll release 20.5 soon, I'd like to clean up the examples beforehand.
Dear guys,
I have developed a GTFS feed using data provided from the PT agency in Sofia, Bulgaria. I validated it with the transitfeedValidator from google and have no errors it. I have added the repository and dependancy for pt2matsim to my MATSim project and am trying to use the Gtfs2TransitSchedule class and generate a transitSchedule.xml. I am probably not using the class in the right way and keep getting the same error. My class looks like this: `package org.matsim.project;
public class MappingTransitFromGtfs { public static void main(String[] args) { org.matsim.pt2matsim.run.Gtfs2TransitSchedule.main(new String[] {"../TheoremusPy/GTFS_single_day", "20200518", "EPSG:32634", "transitSchedule.xml"});
} `
When I run it, the GTFS conversion is doing some progress and than stops with the following error:
Exception in thread "main" java.lang.IncompatibleClassChangeError: Found class org.matsim.vehicles.VehicleType, but interface was expected at org.matsim.pt2matsim.tools.ScheduleTools.createDefaultVehicleType(ScheduleTools.java:205) at org.matsim.pt2matsim.gtfs.GtfsConverter.createVehicles(GtfsConverter.java:326) at org.matsim.pt2matsim.gtfs.GtfsConverter.convert(GtfsConverter.java:120) at org.matsim.pt2matsim.gtfs.GtfsConverter.convert(GtfsConverter.java:69) at org.matsim.pt2matsim.run.Gtfs2TransitSchedule.run(Gtfs2TransitSchedule.java:107) at org.matsim.pt2matsim.run.Gtfs2TransitSchedule.main(Gtfs2TransitSchedule.java:69) at org.matsim.project.MappingTransitFromGtfs.main(MappingTransitFromGtfs.java:6)
Could someone, please, help me?
I'll post the whole log for completeness:
/Library/Java/JavaVirtualMachines/jdk-13.0.2.jdk/Contents/Home/bin/java -javaagent:/Applications/IntelliJ IDEA.app/Contents/lib/idea_rt.jar=56410:/Applications/IntelliJ IDEA.app/Contents/bin -Dfile.encoding=UTF-8 -classpath /Users/alexanderbachev/matsim-example-project/target/classes:/Users/alexanderbachev/.m2/repository/org/matsim/matsim/12.0-2019w48-SNAPSHOT/matsim-12.0-2019w48-20191202.022256-1.jar:/Users/alexanderbachev/.m2/repository/log4j/log4j/1.2.15/log4j-1.2.15.jar:/Users/alexanderbachev/.m2/repository/org/geotools/gt-main/21.1/gt-main-21.1.jar:/Users/alexanderbachev/.m2/repository/org/locationtech/jts/jts-core/1.16.0/jts-core-1.16.0.jar:/Users/alexanderbachev/.m2/repository/org/jdom/jdom2/2.0.6/jdom2-2.0.6.jar:/Users/alexanderbachev/.m2/repository/org/apache/commons/commons-text/1.6/commons-text-1.6.jar:/Users/alexanderbachev/.m2/repository/com/fasterxml/jackson/core/jackson-core/2.9.7/jackson-core-2.9.7.jar:/Users/alexanderbachev/.m2/repository/javax/media/jai_core/1.1.3/jai_core-1.1.3.jar:/Users/alexanderbachev/.m2/repository/org/geotools/gt-referencing/21.1/gt-referencing-21.1.jar:/Users/alexanderbachev/.m2/repository/org/ejml/ejml-ddense/0.34/ejml-ddense-0.34.jar:/Users/alexanderbachev/.m2/repository/org/ejml/ejml-core/0.34/ejml-core-0.34.jar:/Users/alexanderbachev/.m2/repository/commons-pool/commons-pool/1.5.4/commons-pool-1.5.4.jar:/Users/alexanderbachev/.m2/repository/org/geotools/gt-metadata/21.1/gt-metadata-21.1.jar:/Users/alexanderbachev/.m2/repository/org/geotools/gt-opengis/21.1/gt-opengis-21.1.jar:/Users/alexanderbachev/.m2/repository/systems/uom/systems-common-java8/0.7.2/systems-common-java8-0.7.2.jar:/Users/alexanderbachev/.m2/repository/tec/uom/uom-se/1.0.8/uom-se-1.0.8.jar:/Users/alexanderbachev/.m2/repository/javax/measure/unit-api/1.0/unit-api-1.0.jar:/Users/alexanderbachev/.m2/repository/tec/uom/lib/uom-lib-common/1.0.2/uom-lib-common-1.0.2.jar:/Users/alexanderbachev/.m2/repository/si/uom/si-quantity/0.7.1/si-quantity-0.7.1.jar:/Users/alexanderbachev/.m2/repository/si/uom/si-units-java8/0.7.1/si-units-java8-0.7.1.jar:/Users/alexanderbachev/.m2/repository/jgridshift/jgridshift/1.0/jgridshift-1.0.jar:/Users/alexanderbachev/.m2/repository/net/sf/geographiclib/GeographicLib-Java/1.49/GeographicLib-Java-1.49.jar:/Users/alexanderbachev/.m2/repository/org/geotools/gt-shapefile/21.1/gt-shapefile-21.1.jar:/Users/alexanderbachev/.m2/repository/org/geotools/gt-epsg-hsql/21.1/gt-epsg-hsql-21.1.jar:/Users/alexanderbachev/.m2/repository/org/hsqldb/hsqldb/2.4.1/hsqldb-2.4.1.jar:/Users/alexanderbachev/.m2/repository/org/jfree/jfreechart/1.5.0/jfreechart-1.5.0.jar:/Users/alexanderbachev/.m2/repository/org/jfree/jcommon/1.0.24/jcommon-1.0.24.jar:/Users/alexanderbachev/.m2/repository/com/google/inject/guice/4.1.0/guice-4.1.0.jar:/Users/alexanderbachev/.m2/repository/javax/inject/javax.inject/1/javax.inject-1.jar:/Users/alexanderbachev/.m2/repository/aopalliance/aopalliance/1.0/aopalliance-1.0.jar:/Users/alexanderbachev/.m2/repository/com/google/guava/guava/19.0/guava-19.0.jar:/Users/alexanderbachev/.m2/repository/com/google/inject/extensions/guice-multibindings/4.1.0/guice-multibindings-4.1.0.jar:/Users/alexanderbachev/.m2/repository/com/google/inject/extensions/guice-grapher/4.1.0/guice-grapher-4.1.0.jar:/Users/alexanderbachev/.m2/repository/com/google/inject/extensions/guice-assistedinject/4.1.0/guice-assistedinject-4.1.0.jar:/Users/alexanderbachev/.m2/repository/org/jgrapht/jgrapht-core/0.9.1/jgrapht-core-0.9.1.jar:/Users/alexanderbachev/.m2/repository/net/sf/trove4j/trove4j/3.0.3/trove4j-3.0.3.jar:/Users/alexanderbachev/.m2/repository/org/jvnet/ogc/kml-v_2_2_0/2.2.0/kml-v_2_2_0-2.2.0.jar:/Users/alexanderbachev/.m2/repository/org/hisrc/w3c/atom-v_1_0/1.1.0/atom-v_1_0-1.1.0.jar:/Users/alexanderbachev/.m2/repository/org/jvnet/jaxb2_commons/jaxb2-basics-runtime/0.9.4/jaxb2-basics-runtime-0.9.4.jar:/Users/alexanderbachev/.m2/repository/org/lz4/lz4-java/1.6.0/lz4-java-1.6.0.jar:/Users/alexanderbachev/.m2/repository/com/github/luben/zstd-jni/1.4.3-1/zstd-jni-1.4.3-1.jar:/Users/alexanderbachev/.m2/repository/javax/validation/validation-api/2.0.1.Final/validation-api-2.0.1.Final.jar:/Users/alexanderbachev/.m2/repository/org/hibernate/validator/hibernate-validator/6.0.9.Final/hibernate-validator-6.0.9.Final.jar:/Users/alexanderbachev/.m2/repository/org/jboss/logging/jboss-logging/3.3.2.Final/jboss-logging-3.3.2.Final.jar:/Users/alexanderbachev/.m2/repository/com/fasterxml/classmate/1.3.4/classmate-1.3.4.jar:/Users/alexanderbachev/.m2/repository/org/hibernate/validator/hibernate-validator-annotation-processor/6.0.9.Final/hibernate-validator-annotation-processor-6.0.9.Final.jar:/Users/alexanderbachev/.m2/repository/org/glassfish/javax.el/3.0.1-b10/javax.el-3.0.1-b10.jar:/Users/alexanderbachev/.m2/repository/org/apache/commons/commons-compress/1.19/commons-compress-1.19.jar:/Users/alexanderbachev/.m2/repository/org/apache/commons/commons-csv/1.5/commons-csv-1.5.jar:/Users/alexanderbachev/.m2/repository/javax/xml/bind/jaxb-api/2.3.1/jaxb-api-2.3.1.jar:/Users/alexanderbachev/.m2/repository/javax/activation/javax.activation-api/1.2.0/javax.activation-api-1.2.0.jar:/Users/alexanderbachev/.m2/repository/com/sun/xml/bind/jaxb-core/2.3.0.1/jaxb-core-2.3.0.1.jar:/Users/alexanderbachev/.m2/repository/com/sun/xml/bind/jaxb-impl/2.3.0.1/jaxb-impl-2.3.0.1.jar:/Users/alexanderbachev/.m2/repository/org/matsim/pt2matsim/19.11/pt2matsim-19.11.jar:/Users/alexanderbachev/.m2/repository/com/opencsv/opencsv/3.7/opencsv-3.7.jar:/Users/alexanderbachev/.m2/repository/org/apache/commons/commons-lang3/3.3.2/commons-lang3-3.3.2.jar:/Users/alexanderbachev/.m2/repository/commons-io/commons-io/2.4/commons-io-2.4.jar:/Users/alexanderbachev/.m2/repository/de/grundid/opendatalab/geojson-jackson/1.5/geojson-jackson-1.5.jar:/Users/alexanderbachev/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.5.1/jackson-databind-2.5.1.jar:/Users/alexanderbachev/.m2/repository/com/fasterxml/jackson/core/jackson-annotations/2.5.0/jackson-annotations-2.5.0.jar:/Users/alexanderbachev/.m2/repository/net/lingala/zip4j/zip4j/1.3.2/zip4j-1.3.2.jar:/Users/alexanderbachev/.m2/repository/org/matsim/contrib/minibus/12.0-2019w48-SNAPSHOT/minibus-12.0-2019w48-20191202.023040-1.jar:/Users/alexanderbachev/.m2/repository/commons-codec/commons-codec/1.4/commons-codec-1.4.jar:/Users/alexanderbachev/.m2/repository/org/matsim/contrib/otfvis/12.0-2019w48-SNAPSHOT/otfvis-12.0-2019w48-20191202.022458-1.jar:/Users/alexanderbachev/.m2/repository/net/java/dev/timingframework/timingframework/1.0/timingframework-1.0.jar:/Users/alexanderbachev/.m2/repository/org/jogamp/gluegen/gluegen-rt-main/2.3.2/gluegen-rt-main-2.3.2.jar:/Users/alexanderbachev/.m2/repository/org/jogamp/gluegen/gluegen-rt/2.3.2/gluegen-rt-2.3.2.jar:/Users/alexanderbachev/.m2/repository/org/jogamp/gluegen/gluegen-rt/2.3.2/gluegen-rt-2.3.2-natives-android-aarch64.jar:/Users/alexanderbachev/.m2/repository/org/jogamp/gluegen/gluegen-rt/2.3.2/gluegen-rt-2.3.2-natives-android-armv6.jar:/Users/alexanderbachev/.m2/repository/org/jogamp/gluegen/gluegen-rt/2.3.2/gluegen-rt-2.3.2-natives-linux-amd64.jar:/Users/alexanderbachev/.m2/repository/org/jogamp/gluegen/gluegen-rt/2.3.2/gluegen-rt-2.3.2-natives-linux-armv6.jar:/Users/alexanderbachev/.m2/repository/org/jogamp/gluegen/gluegen-rt/2.3.2/gluegen-rt-2.3.2-natives-linux-armv6hf.jar:/Users/alexanderbachev/.m2/repository/org/jogamp/gluegen/gluegen-rt/2.3.2/gluegen-rt-2.3.2-natives-linux-i586.jar:/Users/alexanderbachev/.m2/repository/org/jogamp/gluegen/gluegen-rt/2.3.2/gluegen-rt-2.3.2-natives-macosx-universal.jar:/Users/alexanderbachev/.m2/repository/org/jogamp/gluegen/gluegen-rt/2.3.2/gluegen-rt-2.3.2-natives-solaris-amd64.jar:/Users/alexanderbachev/.m2/repository/org/jogamp/gluegen/gluegen-rt/2.3.2/gluegen-rt-2.3.2-natives-solaris-i586.jar:/Users/alexanderbachev/.m2/repository/org/jogamp/gluegen/gluegen-rt/2.3.2/gluegen-rt-2.3.2-natives-windows-amd64.jar:/Users/alexanderbachev/.m2/repository/org/jogamp/gluegen/gluegen-rt/2.3.2/gluegen-rt-2.3.2-natives-windows-i586.jar:/Users/alexanderbachev/.m2/repository/org/jogamp/jogl/jogl-all-main/2.3.2/jogl-all-main-2.3.2.jar:/Users/alexanderbachev/.m2/repository/org/jogamp/jogl/jogl-all/2.3.2/jogl-all-2.3.2.jar:/Users/alexanderbachev/.m2/repository/org/jogamp/jogl/jogl-all/2.3.2/jogl-all-2.3.2-natives-android-aarch64.jar:/Users/alexanderbachev/.m2/repository/org/jogamp/jogl/jogl-all/2.3.2/jogl-all-2.3.2-natives-android-armv6.jar:/Users/alexanderbachev/.m2/repository/org/jogamp/jogl/jogl-all/2.3.2/jogl-all-2.3.2-natives-linux-amd64.jar:/Users/alexanderbachev/.m2/repository/org/jogamp/jogl/jogl-all/2.3.2/jogl-all-2.3.2-natives-linux-armv6.jar:/Users/alexanderbachev/.m2/repository/org/jogamp/jogl/jogl-all/2.3.2/jogl-all-2.3.2-natives-linux-armv6hf.jar:/Users/alexanderbachev/.m2/repository/org/jogamp/jogl/jogl-all/2.3.2/jogl-all-2.3.2-natives-linux-i586.jar:/Users/alexanderbachev/.m2/repository/org/jogamp/jogl/jogl-all/2.3.2/jogl-all-2.3.2-natives-macosx-universal.jar:/Users/alexanderbachev/.m2/repository/org/jogamp/jogl/jogl-all/2.3.2/jogl-all-2.3.2-natives-solaris-amd64.jar:/Users/alexanderbachev/.m2/repository/org/jogamp/jogl/jogl-all/2.3.2/jogl-all-2.3.2-natives-solaris-i586.jar:/Users/alexanderbachev/.m2/repository/org/jogamp/jogl/jogl-all/2.3.2/jogl-all-2.3.2-natives-windows-amd64.jar:/Users/alexanderbachev/.m2/repository/org/jogamp/jogl/jogl-all/2.3.2/jogl-all-2.3.2-natives-windows-i586.jar:/Users/alexanderbachev/.m2/repository/org/jxmapviewer/jxmapviewer2/2.2/jxmapviewer2-2.2.jar:/Users/alexanderbachev/.m2/repository/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar:/Users/alexanderbachev/.m2/repository/org/matsim/contrib/roadpricing/12.0-2019w48-SNAPSHOT/roadpricing-12.0-2019w48-20191202.022348-1.jar:/Users/alexanderbachev/.m2/repository/org/matsim/contrib/taxi/12.0-2019w48-SNAPSHOT/taxi-12.0-2019w48-20191202.022624-1.jar:/Users/alexanderbachev/.m2/repository/org/matsim/contrib/dvrp/12.0-2019w48-SNAPSHOT/dvrp-12.0-2019w48-20191202.022539-1.jar:/Users/alexanderbachev/.m2/repository/org/matsim/contrib/locationchoice/12.0-2019w48-SNAPSHOT/locationchoice-12.0-2019w48-20191202.022517-1.jar:/Users/alexanderbachev/.m2/repository/org/apache/commons/commons-math3/3.6.1/commons-math3-3.6.1.jar:/Users/alexanderbachev/.m2/repository/one/util/streamex/0.7.2/streamex-0.7.2.jar:/Users/alexanderbachev/.m2/repository/org/matsim/contrib/ev/12.0-2019w48-SNAPSHOT/ev-12.0-2019w48-20191202.022600-1.jar:/Users/alexanderbachev/.m2/repository/org/matsim/contrib/av/12.0-2019w48-SNAPSHOT/av-12.0-2019w48-20191202.022705-1.jar:/Users/alexanderbachev/.m2/repository/org/matsim/contrib/drt/12.0-2019w48-SNAPSHOT/drt-12.0-2019w48-20191202.022646-1.jar:/Users/alexanderbachev/.m2/repository/org/matsim/contrib/freight/12.0-2019w48-SNAPSHOT/freight-12.0-2019w48-20191202.022917-1.jar:/Users/alexanderbachev/.m2/repository/org/apache/commons/commons-math/2.2/commons-math-2.2.jar:/Users/alexanderbachev/.m2/repository/com/graphhopper/jsprit-core/1.7.2/jsprit-core-1.7.2.jar:/Users/alexanderbachev/.m2/repository/com/graphhopper/jsprit-io/1.7.2/jsprit-io-1.7.2.jar:/Users/alexanderbachev/.m2/repository/commons-configuration/commons-configuration/1.9/commons-configuration-1.9.jar:/Users/alexanderbachev/.m2/repository/commons-lang/commons-lang/2.6/commons-lang-2.6.jar:/Users/alexanderbachev/.m2/repository/xerces/xercesImpl/2.11.0/xercesImpl-2.11.0.jar:/Users/alexanderbachev/.m2/repository/xml-apis/xml-apis/1.4.01/xml-apis-1.4.01.jar:/Users/alexanderbachev/.m2/repository/com/graphhopper/jsprit-analysis/1.7.2/jsprit-analysis-1.7.2.jar:/Users/alexanderbachev/.m2/repository/org/graphstream/gs-core/1.3/gs-core-1.3.jar:/Users/alexanderbachev/.m2/repository/org/graphstream/pherd/1.0/pherd-1.0.jar:/Users/alexanderbachev/.m2/repository/org/graphstream/mbox2/1.0/mbox2-1.0.jar:/Users/alexanderbachev/.m2/repository/org/graphstream/gs-ui/1.3/gs-ui-1.3.jar:/Users/alexanderbachev/.m2/repository/org/graphstream/gs-algo/1.3/gs-algo-1.3.jar:/Users/alexanderbachev/.m2/repository/org/scala-lang/scala-library/2.10.1/scala-library-2.10.1.jar:/Users/alexanderbachev/.m2/repository/org/slf4j/slf4j-api/1.7.21/slf4j-api-1.7.21.jar:/Users/alexanderbachev/.m2/repository/org/slf4j/slf4j-log4j12/1.7.21/slf4j-log4j12-1.7.21.jar:/Users/alexanderbachev/.m2/repository/org/matsim/contrib/bicycle/12.0-2019w48-SNAPSHOT/bicycle-12.0-2019w48-20191202.022717-1.jar:/Users/alexanderbachev/.m2/repository/org/geotools/gt-geotiff/21.1/gt-geotiff-21.1.jar:/Users/alexanderbachev/.m2/repository/org/geotools/gt-coverage/21.1/gt-coverage-21.1.jar:/Users/alexanderbachev/.m2/repository/org/jaitools/jt-zonalstats/1.5.0/jt-zonalstats-1.5.0.jar:/Users/alexanderbachev/.m2/repository/org/jaitools/jt-utils/1.5.0/jt-utils-1.5.0.jar:/Users/alexanderbachev/.m2/repository/it/geosolutions/jaiext/affine/jt-affine/1.1.9/jt-affine-1.1.9.jar:/Users/alexanderbachev/.m2/repository/it/geosolutions/jaiext/algebra/jt-algebra/1.1.9/jt-algebra-1.1.9.jar:/Users/alexanderbachev/.m2/repository/it/geosolutions/jaiext/bandmerge/jt-bandmerge/1.1.9/jt-bandmerge-1.1.9.jar:/Users/alexanderbachev/.m2/repository/it/geosolutions/jaiext/bandselect/jt-bandselect/1.1.9/jt-bandselect-1.1.9.jar:/Users/alexanderbachev/.m2/repository/it/geosolutions/jaiext/bandcombine/jt-bandcombine/1.1.9/jt-bandcombine-1.1.9.jar:/Users/alexanderbachev/.m2/repository/it/geosolutions/jaiext/border/jt-border/1.1.9/jt-border-1.1.9.jar:/Users/alexanderbachev/.m2/repository/it/geosolutions/jaiext/buffer/jt-buffer/1.1.9/jt-buffer-1.1.9.jar:/Users/alexanderbachev/.m2/repository/it/geosolutions/jaiext/crop/jt-crop/1.1.9/jt-crop-1.1.9.jar:/Users/alexanderbachev/.m2/repository/it/geosolutions/jaiext/iterators/jt-iterators/1.1.9/jt-iterators-1.1.9.jar:/Users/alexanderbachev/.m2/repository/it/geosolutions/jaiext/lookup/jt-lookup/1.1.9/jt-lookup-1.1.9.jar:/Users/alexanderbachev/.m2/repository/it/geosolutions/jaiext/mosaic/jt-mosaic/1.1.9/jt-mosaic-1.1.9.jar:/Users/alexanderbachev/.m2/repository/it/geosolutions/jaiext/nullop/jt-nullop/1.1.9/jt-nullop-1.1.9.jar:/Users/alexanderbachev/.m2/repository/it/geosolutions/jaiext/rescale/jt-rescale/1.1.9/jt-rescale-1.1.9.jar:/Users/alexanderbachev/.m2/repository/it/geosolutions/jaiext/scale/jt-scale/1.1.9/jt-scale-1.1.9.jar:/Users/alexanderbachev/.m2/repository/it/geosolutions/jaiext/scale2/jt-scale2/1.1.9/jt-scale2-1.1.9.jar:/Users/alexanderbachev/.m2/repository/org/huldra/math/bigint/0.7.1/bigint-0.7.1.jar:/Users/alexanderbachev/.m2/repository/it/geosolutions/jaiext/stats/jt-stats/1.1.9/jt-stats-1.1.9.jar:/Users/alexanderbachev/.m2/repository/it/geosolutions/jaiext/translate/jt-translate/1.1.9/jt-translate-1.1.9.jar:/Users/alexanderbachev/.m2/repository/it/geosolutions/jaiext/utilities/jt-utilities/1.1.9/jt-utilities-1.1.9.jar:/Users/alexanderbachev/.m2/repository/it/geosolutions/jaiext/warp/jt-warp/1.1.9/jt-warp-1.1.9.jar:/Users/alexanderbachev/.m2/repository/it/geosolutions/jaiext/zonal/jt-zonal/1.1.9/jt-zonal-1.1.9.jar:/Users/alexanderbachev/.m2/repository/it/geosolutions/jaiext/binarize/jt-binarize/1.1.9/jt-binarize-1.1.9.jar:/Users/alexanderbachev/.m2/repository/it/geosolutions/jaiext/format/jt-format/1.1.9/jt-format-1.1.9.jar:/Users/alexanderbachev/.m2/repository/it/geosolutions/jaiext/colorconvert/jt-colorconvert/1.1.9/jt-colorconvert-1.1.9.jar:/Users/alexanderbachev/.m2/repository/it/geosolutions/jaiext/errordiffusion/jt-errordiffusion/1.1.9/jt-errordiffusion-1.1.9.jar:/Users/alexanderbachev/.m2/repository/it/geosolutions/jaiext/orderdither/jt-orderdither/1.1.9/jt-orderdither-1.1.9.jar:/Users/alexanderbachev/.m2/repository/it/geosolutions/jaiext/colorindexer/jt-colorindexer/1.1.9/jt-colorindexer-1.1.9.jar:/Users/alexanderbachev/.m2/repository/it/geosolutions/jaiext/imagefunction/jt-imagefunction/1.1.9/jt-imagefunction-1.1.9.jar:/Users/alexanderbachev/.m2/repository/it/geosolutions/jaiext/piecewise/jt-piecewise/1.1.9/jt-piecewise-1.1.9.jar:/Users/alexanderbachev/.m2/repository/it/geosolutions/jaiext/classifier/jt-classifier/1.1.9/jt-classifier-1.1.9.jar:/Users/alexanderbachev/.m2/repository/it/geosolutions/jaiext/rlookup/jt-rlookup/1.1.9/jt-rlookup-1.1.9.jar:/Users/alexanderbachev/.m2/repository/it/geosolutions/jaiext/vectorbin/jt-vectorbin/1.1.9/jt-vectorbin-1.1.9.jar:/Users/alexanderbachev/.m2/repository/it/geosolutions/jaiext/shadedrelief/jt-shadedrelief/1.1.9/jt-shadedrelief-1.1.9.jar:/Users/alexanderbachev/.m2/repository/javax/media/jai_imageio/1.1/jai_imageio-1.1.jar:/Users/alexanderbachev/.m2/repository/it/geosolutions/imageio-ext/imageio-ext-tiff/1.2.1/imageio-ext-tiff-1.2.1.jar:/Users/alexanderbachev/.m2/repository/it/geosolutions/imageio-ext/imageio-ext-utilities/1.2.1/imageio-ext-utilities-1.2.1.jar:/Users/alexanderbachev/.m2/repository/it/geosolutions/imageio-ext/imageio-ext-geocore/1.2.1/imageio-ext-geocore-1.2.1.jar:/Users/alexanderbachev/.m2/repository/it/geosolutions/imageio-ext/imageio-ext-streams/1.2.1/imageio-ext-streams-1.2.1.jar:/Users/alexanderbachev/.m2/repository/org/glassfish/jaxb/jaxb-runtime/2.4.0-b180830.0438/jaxb-runtime-2.4.0-b180830.0438.jar:/Users/alexanderbachev/.m2/repository/org/glassfish/jaxb/txw2/2.4.0-b180830.0438/txw2-2.4.0-b180830.0438.jar:/Users/alexanderbachev/.m2/repository/com/sun/istack/istack-commons-runtime/3.0.7/istack-commons-runtime-3.0.7.jar:/Users/alexanderbachev/.m2/repository/org/jvnet/staxex/stax-ex/1.8/stax-ex-1.8.jar:/Users/alexanderbachev/.m2/repository/com/sun/xml/fastinfoset/FastInfoset/1.2.15/FastInfoset-1.2.15.jar:/Users/alexanderbachev/.m2/repository/javax/media/jai_codec/1.1.3/jai_codec-1.1.3.jar org.matsim.project.MappingTransitFromGtfs 2020-05-19 19:35:55,420 INFO GtfsFeedImpl:136 Loading GTFS files from ../TheoremusPy/GTFS_single_day/ 2020-05-19 19:35:55,421 INFO GtfsFeedImpl:191 Loading stops.txt 2020-05-19 19:35:55,470 INFO GtfsFeedImpl:228 ... stops.txt loaded 2020-05-19 19:35:55,470 INFO GtfsFeedImpl:242 Loading calendar.txt 2020-05-19 19:35:55,473 INFO GtfsFeedImpl:272 ... calendar.txt loaded 2020-05-19 19:35:55,473 INFO GtfsFeedImpl:286 Looking for calendar_dates.txt 2020-05-19 19:35:55,473 INFO GtfsFeedImpl:318 ... calendar_dates.txt loaded 2020-05-19 19:35:55,474 INFO GtfsFeedImpl:337 Looking for shapes.txt 2020-05-19 19:35:55,973 INFO GtfsFeedImpl:362 ... shapes.txt loaded 2020-05-19 19:35:55,974 INFO GtfsFeedImpl:382 Loading routes.txt 2020-05-19 19:35:55,980 INFO GtfsFeedImpl:414 ... routes.txt loaded 2020-05-19 19:35:55,980 INFO GtfsFeedImpl:430 Loading trips.txt 2020-05-19 19:35:56,065 INFO GtfsFeedImpl:478 ... trips.txt loaded 2020-05-19 19:35:56,066 INFO GtfsFeedImpl:491 Loading stop_times.txt 2020-05-19 19:35:56,898 INFO GtfsFeedImpl:563 ... stop_times.txt loaded 2020-05-19 19:35:56,898 INFO GtfsFeedImpl:574 Looking for frequencies.txt 2020-05-19 19:35:56,898 INFO GtfsFeedImpl:611 ... no frequencies file found 2020-05-19 19:35:56,899 INFO GtfsFeedImpl:620 Looking for transfers.txt 2020-05-19 19:35:56,899 INFO GtfsFeedImpl:655 ... no transfers file found 2020-05-19 19:35:56,899 INFO GtfsFeedImpl:165 All files loaded 2020-05-19 19:35:56,907 INFO Config:572 setting context to [file:/Users/alexanderbachev/matsim-example-project/] 2020-05-19 19:35:56,993 INFO Config:572 setting context to [file:/Users/alexanderbachev/matsim-example-project/] 2020-05-19 19:35:56,997 INFO GtfsConverter:94 ##################################### 2020-05-19 19:35:56,997 INFO GtfsConverter:95 Converting to MATSim transit schedule 2020-05-19 19:35:57,771 INFO Logger:? dataFileCache open start 2020-05-19 19:35:58,219 INFO GtfsConverter:102 Extracting schedule from date 2020-05-18 2020-05-19 19:35:58,225 INFO GtfsConverter:180 Creating TransitLines from routes and TransitRoutes from trips... 2020-05-19 19:35:58,410 INFO ScheduleCleaner:310 Combining TransitRoutes with equal stop sequence and arrival/departure offsets... 2020-05-19 19:35:58,542 INFO ScheduleCleaner:337 ... Combined 13979 transit routes 2020-05-19 19:35:58,543 INFO ScheduleCleaner:78 ... Removing not used stop facilities 2020-05-19 19:35:58,547 INFO ScheduleCleaner:106 0 stop facilities removed 2020-05-19 19:35:58,547 INFO ScheduleCleaner:115 ... Removing not used minimal transfer times 2020-05-19 19:35:58,548 INFO ScheduleCleaner:131 0 not used minimal transfer times facilities removed Exception in thread "main" java.lang.IncompatibleClassChangeError: Found class org.matsim.vehicles.VehicleType, but interface was expected at org.matsim.pt2matsim.tools.ScheduleTools.createDefaultVehicleType(ScheduleTools.java:205) at org.matsim.pt2matsim.gtfs.GtfsConverter.createVehicles(GtfsConverter.java:326) at org.matsim.pt2matsim.gtfs.GtfsConverter.convert(GtfsConverter.java:120) at org.matsim.pt2matsim.gtfs.GtfsConverter.convert(GtfsConverter.java:69) at org.matsim.pt2matsim.run.Gtfs2TransitSchedule.run(Gtfs2TransitSchedule.java:107) at org.matsim.pt2matsim.run.Gtfs2TransitSchedule.main(Gtfs2TransitSchedule.java:69) at org.matsim.project.MappingTransitFromGtfs.main(MappingTransitFromGtfs.java:6)
Process finished with exit code 1