opentripplanner / OpenTripPlanner

An open source multi-modal trip planner
http://www.opentripplanner.org
Other
2.18k stars 1.02k forks source link

java.lang.NullPointerException: Cannot invoke "org.opentripplanner.openstreetmap.model.OSMWithTags.getLevels()" because "area" is null #5888

Closed Henryi896 closed 4 months ago

Henryi896 commented 4 months ago

Expected behavior

I am trying to start an OTP2 Instance for Austria. Using the same method for Vienna worked before.

Observed behavior

I got the following error while building image

Version of OTP used (exact commit hash or JAR name)

Version: otp-2.4.0-shaded

Data sets in use (links to GTFS and OSM PBF files)

OSM PBF file GTFS

Command line used to start OTP

java -Xmx32G -jar otp-2.4.0-shaded.jar --build --save .

Henryi896 commented 4 months ago

Apparently my OSM PBF file was broken

leonardehrenfried commented 4 months ago

It's probably because of Brenner/Brennero station: https://github.com/opentripplanner/OpenTripPlanner/issues/5378

Upgrading to 2.5.0 will help.

Henryi896 commented 4 months ago

It's probably because of Brenner/Brennero station: #5378

Upgrading to 2.5.0 will help.

Oh thanks, that was the problem. My first geofabrik extract was an older one, meaning by now they apparently fixed the export.