Modify

Opened 10 years ago

Closed 10 years ago

#11601 closed defect (fixed)

Mapillary plugin crash (plugin version 31297)

Reported by: skorbut Owned by: skorbut
Priority: normal Milestone:
Component: Plugin mapillary Version: latest
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

  1. Install Mapillary plugin version 31297
  2. Start JOSM
  3. Download some OSM data (not necessary to enable the Mapillary layer)

What is the expected result?

The downloaded OSM data should be displayed.

What happens instead?

An error message appears (see screenshot).

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

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2015-06-24 01:32:18
Last Changed Author: simon04
Revision: 8525
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Relative URL: ^/trunk
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2015-06-23 09:02:53 +0200 (Tue, 23 Jun 2015)
Last Changed Rev: 8525

Identification: JOSM/1.5 (8525 en) Linux Ubuntu 14.10
Memory Usage: 165 MB / 3959 MB (60 MB allocated, but free)
Java version: 1.7.0_65, Oracle Corporation, OpenJDK 64-Bit Server VM
Java package: openjdk-7-jre:amd64-7u71-2.5.3-0ubuntu1
Dataset consistency test: No problems found

Plugins:
- Mapillary (31297)
- commons-imaging (31241)

Last errors/warnings:
- E: org.openstreetmap.josm.plugins.PluginException: An error occurred in plugin Mapillary. Cause: java.lang.reflect.InvocationTargetException. Cause: java.lang.RuntimeException: Fatal: failed to locate image 'styles/standard/vehicle/restriction/speed.png'. This is a serious configuration problem. JOSM will stop working.

org.openstreetmap.josm.plugins.PluginException: An error occurred in plugin Mapillary
	at org.openstreetmap.josm.plugins.PluginProxy.mapFrameInitialized(PluginProxy.java:34)
	at org.openstreetmap.josm.Main.setMapFrame(Main.java:508)
	at org.openstreetmap.josm.Main.createMapFrame(Main.java:769)
	at org.openstreetmap.josm.Main.addLayer(Main.java:756)
	at org.openstreetmap.josm.Main.addLayer(Main.java:741)
	at org.openstreetmap.josm.actions.downloadtasks.DownloadOsmTask$AbstractInternalTask.addNewLayerIfRequired(DownloadOsmTask.java:277)
	at org.openstreetmap.josm.actions.downloadtasks.DownloadOsmTask$AbstractInternalTask.loadData(DownloadOsmTask.java:284)
	at org.openstreetmap.josm.actions.downloadtasks.DownloadOsmTask$DownloadTask.finish(DownloadOsmTask.java:346)
	at org.openstreetmap.josm.gui.PleaseWaitRunnable$1.run(PleaseWaitRunnable.java:101)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:302)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
	at java.awt.EventQueue.access$200(EventQueue.java:103)
	at java.awt.EventQueue$3.run(EventQueue.java:694)
	at java.awt.EventQueue$3.run(EventQueue.java:692)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:154)
	at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:182)
	at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:221)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:219)
	at java.awt.Dialog.show(Dialog.java:1082)
	at java.awt.Component.show(Component.java:1655)
	at java.awt.Component.setVisible(Component.java:1607)
	at java.awt.Window.setVisible(Window.java:1014)
	at java.awt.Dialog.setVisible(Dialog.java:1005)
	at org.openstreetmap.josm.gui.progress.PleaseWaitProgressMonitor$4.run(PleaseWaitProgressMonitor.java:173)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:312)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
	at java.awt.EventQueue.access$200(EventQueue.java:103)
	at java.awt.EventQueue$3.run(EventQueue.java:694)
	at java.awt.EventQueue$3.run(EventQueue.java:692)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
Caused by: java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.openstreetmap.josm.plugins.PluginProxy.mapFrameInitialized(PluginProxy.java:30)
	... 43 more
Caused by: java.lang.RuntimeException: Fatal: failed to locate image 'styles/standard/vehicle/restriction/speed.png'. This is a serious configuration problem. JOSM will stop working.
	at org.openstreetmap.josm.tools.ImageProvider.getResource(ImageProvider.java:548)
	at org.openstreetmap.josm.tools.ImageProvider.get(ImageProvider.java:528)
	at org.openstreetmap.josm.plugins.mapillary.gui.MapillaryFilterChooseSigns.<init>(MapillaryFilterChooseSigns.java:36)
	at org.openstreetmap.josm.plugins.mapillary.gui.MapillaryFilterChooseSigns.getInstance(MapillaryFilterChooseSigns.java:83)
	at org.openstreetmap.josm.plugins.mapillary.gui.MapillaryFilterDialog.<init>(MapillaryFilterDialog.java:62)
	at org.openstreetmap.josm.plugins.mapillary.gui.MapillaryFilterDialog.getInstance(MapillaryFilterDialog.java:107)
	at org.openstreetmap.josm.plugins.mapillary.MapillaryPlugin.mapFrameInitialized(MapillaryPlugin.java:106)
	... 48 more

Attachments (1)

mapillary-plugin-crash.png (28.5 KB ) - added by skorbut 10 years ago.

Download all attachments as: .zip

Change History (8)

by skorbut, 10 years ago

Attachment: mapillary-plugin-crash.png added

comment:2 by Don-vip, 10 years ago

Owner: changed from nokutu to skorbut
Status: newneedinfo

comment:3 by skorbut, 10 years ago

Isn't that the same jar file as before? Mapillary preferences says about the plugin:

Mapillary: Version 31282 (local: 31297)...

I think we had 31297 before...

comment:4 by skorbut, 10 years ago

Owner: changed from skorbut to nokutu
Status: needinfonew

comment:5 by nokutu, 10 years ago

Owner: changed from nokutu to skorbut
Status: newneedinfo

That's because I'm working in local without uploading it to the server, so the version doesn't increase. I think I found now the error so it should work.

https://github.com/nokutu/mapillary/blob/master/Mapillary.jar?raw=true

comment:6 by skorbut, 10 years ago

This version worked for me.

comment:7 by nokutu, 10 years ago

Resolution: fixed
Status: needinfoclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain skorbut.
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.