question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Android: Fails to parse GPX from Strava

See original GitHub issue

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.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:12 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
tonsV2commented, May 19, 2020

@Segelzwerg - The project I’ve been using JPX in is this. Maybe you can find some inspiration from that.

0reactions
tonsV2commented, May 19, 2020

The library was my own so I just recompiled with Java 8.

On Tue, 19 May 2020, 13.20 Marcel, notifications@github.com wrote:

@tonsV2 https://github.com/tonsV2 did you manage to fix them?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/jenetics/jpx/issues/104#issuecomment-630608070, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALJLVCR7UCP6YOWYC5OL3RSIQK7ANCNFSM4JVFBJCA .

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshooting GPS Issues - Strava Support
Steps to Take when Investigating GPS Issues on Android Devices · Turn the phone off/on. · Turn GPS off/on. · Be sure Strava...
Read more >
Troubleshooting Syncing - Strava Support
Android · Try recording a new activity, saving, and uploading that activity to see if it pushes any missing or pending uploads to...
Read more >
Exporting your Data and Bulk Export - Strava Support
There are several options for exporting your data from Strava. We generally recommend exporting the original version of an activity file.
Read more >
Bad GPS Data - Strava Support
Have trouble with inaccurate GPS data while recording your activities? See the information below to learn more about what bad GPS data...
Read more >
Uploading Route Files - Strava Support
You can create a Strava route from a GPX file by selecting Dashboard from the top navigation menu on the Strava website >...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found