Modify

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#2541 closed defect (duplicate)

Upload trace fail with a stack trace for WhereamI+ traces

Reported by: ramilehti Owned by: team
Priority: major Component: Plugin
Version: latest Keywords: upload fail stack trace
Cc:

Description

When trying to upload a trace using the upload trace plugin and a trace created by WhereAmI
http://www.symbianos.org/projects_mapping
I get the following stack trace.

java.lang.ClassCastException: java.lang.Float cannot be cast to java.lang.String

at org.openstreetmap.josm.io.GpxWriter.writeAttr(GpxWriter.java:70)
at org.openstreetmap.josm.io.GpxWriter.wayPoint(GpxWriter.java:238)
at org.openstreetmap.josm.io.GpxWriter.writeTracks(GpxWriter.java:156)
at org.openstreetmap.josm.io.GpxWriter.write(GpxWriter.java:54)
at org.openstreetmap.josm.plugins.DirectUpload.UploadDataGui.writeGpxFile(UploadDataGui.java:424)
at org.openstreetmap.josm.plugins.DirectUpload.UploadDataGui.upload(UploadDataGui.java:183)
at org.openstreetmap.josm.plugins.DirectUpload.UploadDataGui.access$300(UploadDataGui.java:56)
at org.openstreetmap.josm.plugins.DirectUpload.UploadDataGui$1.realRun(UploadDataGui.java:380)
at org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:101)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)

Tracks created by Nokia Sports Tracker for example work.
You will find attached one such trace.

Attachments (1)

wami-20090430-00.gpx (31.1 KB) - added by ramilehti 4 years ago.

Download all attachments as: .zip

Change History (3)

Changed 4 years ago by ramilehti

comment:1 Changed 4 years ago by stoecker

  • Resolution set to duplicate
  • Status changed from new to closed

comment:2 Changed 4 years ago by stoecker

Closed as duplicate of #2359.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed .
as The resolution will be set. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.