Opened 5 years ago

Closed 5 years ago

#14307 closed defect (fixed)

Can't import images from local computer to Mapillary

Reported by: vazhnov@… Owned by: nokutu
Priority: normal Milestone:
Component: Plugin mapillary Version: tested
Keywords: template_report apache-commons Cc:


What steps will reproduce the problem?

  1. Install plugin Mapillary;
  2. File → Download from OSM → Download;
  3. File → Import pictures (or Import pictures into sequence);
  4. Select any picture with GPS tags (or multiple) → Open.

What is the expected result?

Importing images.

What happens instead?

Window with error (unexpected exception), no images were imported.

Please provide any additional information below. Attach a screenshot if possible.

I tried to select images created by Mapillary app for Android as well as images created by Open Camera (

Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2017-01-02 00:53:29 +0100 (Mon, 02 Jan 2017)
Build-Date:2017-01-02 02:33:21
Relative:URL: ^/trunk

Identification: JOSM/1.5 (11427 ru) Linux Ubuntu 16.04.1 LTS
Memory Usage: 340 MB / 1102 MB (108 MB allocated, but free)
Java version: 1.8.0_121-8u121-b13-0ubuntu1.16.04.2-b13, Oracle Corporation, OpenJDK 64-Bit Server VM
Screen: :0.0 1920x1080
Maximum Screen Size: 1920x1080
Java package: openjdk-8-jre:amd64-8u121-b13-0ubuntu1.16.04.2
Dataset consistency test: No problems found

+ Mapillary (v1.3.2)
+ apache-commons (32994)
+ apache-http (32699)
+ imagery_offset_db (33004)
+ photo_geotagging (33088)
+ photoadjust (33088)
+ reverter (33088)

Last errors/warnings:
- E: Handled by bug report queue: java.lang.NoSuchFieldError: GPS_TAG_GPS_LATITUDE

No data collected.

Warning issued by: BugReportExceptionHandler#handleException

Thread: AWT-EventQueue-0 (17) of main
java.lang.NoSuchFieldError: GPS_TAG_GPS_LATITUDE
	at org.openstreetmap.josm.plugins.mapillary.utils.ImageUtil.readImageFrom(
	at org.openstreetmap.josm.plugins.mapillary.utils.ImageUtil.readImagesFrom(
	at org.openstreetmap.josm.plugins.mapillary.actions.MapillaryImportAction.chooseImages(
	at org.openstreetmap.josm.plugins.mapillary.actions.MapillaryImportAction.actionPerformed(
	at javax.swing.AbstractButton.fireActionPerformed(
	at javax.swing.AbstractButton$Handler.actionPerformed(
	at javax.swing.DefaultButtonModel.fireActionPerformed(
	at javax.swing.DefaultButtonModel.setPressed(
	at javax.swing.AbstractButton.doClick(
	at javax.swing.plaf.basic.BasicMenuItemUI.doClick(
	at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(
	at java.awt.AWTEventMulticaster.mouseReleased(
	at java.awt.Component.processMouseEvent(
	at javax.swing.JComponent.processMouseEvent(
	at java.awt.Component.processEvent(
	at java.awt.Container.processEvent(
	at java.awt.Component.dispatchEventImpl(
	at java.awt.Container.dispatchEventImpl(
	at java.awt.Component.dispatchEvent(
	at java.awt.LightweightDispatcher.retargetMouseEvent(
	at java.awt.LightweightDispatcher.processMouseEvent(
	at java.awt.LightweightDispatcher.dispatchEvent(
	at java.awt.Container.dispatchEventImpl(
	at java.awt.Window.dispatchEventImpl(
	at java.awt.Component.dispatchEvent(
	at java.awt.EventQueue.dispatchEventImpl(
	at java.awt.EventQueue.access$500(
	at java.awt.EventQueue$
	at java.awt.EventQueue$
	at Method)
	at java.awt.EventQueue$
	at java.awt.EventQueue$
	at Method)
	at java.awt.EventQueue.dispatchEvent(
	at java.awt.EventDispatchThread.pumpOneEventForFilters(
	at java.awt.EventDispatchThread.pumpEventsForFilter(
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(
	at java.awt.EventDispatchThread.pumpEvents(
	at java.awt.EventDispatchThread.pumpEvents(

Attachments (1)

IMG_20160826_190203.jpg (3.0 MB) - added by vazhnov@… 5 years ago.
Image example with GPS tags (Russia, Chelyabinsk); license CC-BY-SA 4.0

Change History (2)

Changed 5 years ago by vazhnov@…

Attachment: IMG_20160826_190203.jpg added

Image example with GPS tags (Russia, Chelyabinsk); license CC-BY-SA 4.0

comment:1 Changed 5 years ago by floscher

Keywords: apache-commons added
Resolution: fixed
Status: newclosed

Thank you for reporting, this was not an issue with the Mapillary plugin itself. The plugin apache-commons was changed incompatibly since the last release, which caused the Mapillary plugin to fail.
I simply recompiled the version v1.3.2 of the plugin against the latest version of the apache-commons plugin.
So if you update your JOSM plugins (go to the JOSM preferences, in the Plugins section there is a button to update the plugins at the bottom) and restart JOSM, you should be able to import images again.

(This issue is the same as reported in

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain nokutu.
as The resolution will be set.
The resolution will be deleted.

Add Comment

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

Note: See TracTickets for help on using tickets.