Modify

Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#2827 closed defect (duplicate)

Error when I try to import images.

Reported by: kaitu Owned by: team
Priority: major Milestone:
Component: Core Version: latest
Keywords: import images Cc:

Description (last modified by stoecker)

When I try to import images along a track, the windows "Images for <gpx trackname> first shows text "read GPX", then changes to something like "read <first_image_name> and immediately after the "Unexpected Exception" appears, with the following information:

Path: trunk
URL: http://josm.openstreetmap.de/svn/trunk
Repository Root: http://josm.openstreetmap.de/svn
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Revision: 1732
Node Kind: directory
Last Changed Author: stoecker
Last Changed Rev: 1732
Last Changed Date: 2009-07-04 22:32:30 +0200 (Sat, 04 Jul 2009)

Memory Usage: 508 MB / 508 MB (31 MB allocated, but free)
Java version: 1.6.0_13

Plugins: measurementutilspluginwmsplugin
Plugin measurement Version: 16317
Plugin utilsplugin Version: 16162
Plugin wmsplugin Version: 16308

java.lang.RuntimeException: java.lang.NullPointerException

at org.openstreetmap.josm.gui.PleaseWaitRunnable$4.run(PleaseWaitRunnable.java:127)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

Caused by: java.lang.NullPointerException

at org.openstreetmap.josm.gui.layer.GeoImageLayer.calculatePosition(GeoImageLayer.java:688)
at org.openstreetmap.josm.gui.layer.GeoImageLayer.access$300(GeoImageLayer.java:85)
at org.openstreetmap.josm.gui.layer.GeoImageLayer$Loader.realRun(GeoImageLayer.java:331)
at org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:102)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

I attached a copy of the gpx.

Attachments (1)

test.gpx (19.8 KB ) - added by kaitu 15 years ago.
example of gpx causing error during image import

Download all attachments as: .zip

Change History (4)

by kaitu, 15 years ago

Attachment: test.gpx added

example of gpx causing error during image import

comment:1 by kaitu, 15 years ago

JOSM version 1721 works fine. Version 1727 and later show this problem.

comment:2 by stoecker, 15 years ago

Description: modified (diff)
Resolution: duplicate
Status: newclosed

comment:3 by stoecker, 15 years ago

Closed as duplicate of #2821.

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.