graphhopper/map-matching

map matching NPE

karussell opened this issue · 1 comments

Probably there is just a "non null" annotation missing for trkseg?

```
java.lang.NullPointerException: null
        at com.graphhopper.matching.gpx.Trk.getEntries(Trk.java:39)
        at com.graphhopper.matching.http.MapMatchingResource.match(MapMatchingResource.java:108)
        at jdk.internal.reflect.GeneratedMethodAccessor17.invoke(Unknown Source)
```

Argh. I think I do have to initialize with a default here.