Modify

Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#3267 closed defect (fixed)

[PATCH] download osm at waypoints failed

Reported by: anonymous Owned by: team
Priority: major Milestone:
Component: Core Version:
Keywords: DownloadAlongTrack Cc:

Description

Path: trunk
URL: http://josm.openstreetmap.de/svn/trunk
Repository Root: http://josm.openstreetmap.de/svn
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Revision: 1788
Node Kind: directory
Last Changed Author: stoecker
Last Changed Rev: 1788
Last Changed Date: 2009-07-14 18:20:56 +0200 (Tue, 14 Jul 2009)

Memory Usage: 88 MB / 481 MB (33 MB allocated, but free)
Java version: 1.6.0_15

Plugins: openstreetbugsvalidatorwmsplugin
Plugin openstreetbugs Version: 16564
Plugin validator Version: 16439
Plugin wmsplugin Version: 16442

java.lang.NullPointerException

at org.openstreetmap.josm.actions.downloadtasks.DownloadOsmTaskList.run(DownloadOsmTaskList.java:99)
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)

Attachments (2)

test.gpx (339 bytes ) - added by plaicy 15 years ago.
download-check-editlayer.patch (1.3 KB ) - added by plaicy 15 years ago.

Download all attachments as: .zip

Change History (6)

by plaicy, 15 years ago

Attachment: test.gpx added

comment:1 by plaicy, 15 years ago

I can reproduce this bug if the gpx contains no track data (e.g. only waypoints). I attached a test gpx file.

by plaicy, 15 years ago

comment:2 by plaicy, 15 years ago

Summary: download osm at waypoints failed[PATCH] download osm at waypoints failed

Check for getEditLayer!=null would be a simple solution.

comment:3 by stoecker, 15 years ago

Resolution: fixed
Status: newclosed

(In [1979]) closes #3267 - patch by plaicy - fix NPE

comment:4 by plaicy, 15 years ago

Keywords: DownloadAlongTrack added

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.