<p>I could reproduce the issue:</p>
<p>Demo data: <a href="https://gist.githubusercontent.com/mmd-osm/578da03912f6b70d08131eaa13884090/raw/5a9c9ec7ed4ea4831a67678c92de573d750114b2/a.gpx" rel="nofollow">https://gist.githubusercontent.com/mmd-osm/578da03912f6b70d08131eaa13884090/raw/5a9c9ec7ed4ea4831a67678c92de573d750114b2/a.gpx</a></p>
<p>Error message:</p>
<blockquote>
<p>undefined method <code>type' for nil:NilClass /srv/www.openstreetmap.org/rails/lib/gpx.rb:54:in </code>rescue in points' /srv/www.openstreetmap.org/rails/lib/gpx.rb:47:in <code>points' /srv/www.openstreetmap.org/rails/app/models/trace.rb:287:in </code>each' /srv/www.openstreetmap.org/rails/app/models/trace.rb:287:in <code>each_slice' /srv/www.openstreetmap.org/rails/app/models/trace.rb:287:in </code>import' /srv/www.openstreetmap.org/rails/app/jobs/trace_importer_job.rb:5:in <code>perform' /var/lib/gems/2.5.0/gems/activejob-5.2.3/lib/active_job/execution.rb:39:in </code>block in perform_now' /var/lib/gems/2.5.0/gems/activesupport-5.2.3/lib/active_support/callbacks.rb:109:in <code>block in run_callbacks' /var/lib/gems/2.5.0/gems/i18n-0.9.5/lib/i18n.rb:268:in </code>with_locale' /var/lib/gems/2.5.0/gems/activejob-5.2.3/lib/active_job/translation.rb:9:in <code>block (2 levels) in <module:Translation>' /var/lib/gems/2.5.0/gems/activesupport-5.2.3/lib/active_support/callbacks.rb:118:in </code>instance_exec' /var/lib</p>
</blockquote>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/issues/2258?email_source=notifications&email_token=AAK2OLOUJVDY2LXBLIVBQELP2ODZ5A5CNFSM4HXW4KKKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXWTXXA#issuecomment-502086620">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLMRIVGVMUDT52B3PFLP2ODZ5ANCNFSM4HXW4KKA">mute the thread</a>.<img src="https://github.com/notifications/beacon/AAK2OLOVDVJRNRPI2DKR26LP2ODZ5A5CNFSM4HXW4KKKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXWTXXA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/issues/2258?email_source=notifications\u0026email_token=AAK2OLOUJVDY2LXBLIVBQELP2ODZ5A5CNFSM4HXW4KKKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXWTXXA#issuecomment-502086620",
"url": "https://github.com/openstreetmap/openstreetmap-website/issues/2258?email_source=notifications\u0026email_token=AAK2OLOUJVDY2LXBLIVBQELP2ODZ5A5CNFSM4HXW4KKKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXWTXXA#issuecomment-502086620",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>