Skip to content

Android: Fails to parse GPX from Strava #104

@ajchellew

Description

@ajchellew

Downloaded GPX from Strava doesn't parse.
NYC.gpx.txt (renamed to txt for github upload)

java.lang.IllegalStateException: Current state (SPACE) not START_ELEMENT, START_ELEMENT, END_ELEMENT or ENTITY_REFERENCE
        at com.bea.xml.stream.MXParser.throwIllegalState(MXParser.java:3849)
        at com.bea.xml.stream.MXParser.getLocalName(MXParser.java:1085)
        at com.bea.xml.stream.MXParser.require(MXParser.java:1244)
        at io.jenetics.jpx.XMLStreamReaderAdapter.require(XMLStreamReaderAdapter.java:77)
        at io.jenetics.jpx.ElemReader.read(XMLReader.java:591)
        at io.jenetics.jpx.GPX$Reader.read(GPX.java:1139)
        at io.jenetics.jpx.GPX$Reader.read(GPX.java:1164)
        at io.jenetics.jpx.GPX$Reader.read(GPX.java:1178)
        at io.jenetics.jpx.GPX$Reader.read(GPX.java:1191)
        at io.jenetics.jpx.GPX.read(GPX.java:2064)

It does however work in Google Earth.
image

This is a virtual ride that includes power data. A real route without also doesn't parse but includes actual people's homes so sharing this one.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions