Dne 27.4.2014 18:08, Dirk Stöcker napsal(a): > On Sat, 26 Apr 2014, Nicolás Alvarez wrote: > >> I'm running a self-compiled JOSM 7006 with a few patches on top. >> Whenever I try to open a preset dialog, I get this error: >> >> java.lang.RuntimeException: Fatal: failed to locate image 'pin.???'. >> This is a serious configuration problem. JOSM will stop working. >> at >> org.openstreetmap.josm.tools.ImageProvider.get(ImageProvider.java:307) >> at >> org.openstreetmap.josm.tools.ImageProvider.get(ImageProvider.java:357) >> at >> org.openstreetmap.josm.gui.tagging.TaggingPreset$ToolbarButtonAction.<init>(TaggingPreset.java:511) >> at >> org.openstreetmap.josm.gui.tagging.TaggingPreset.createPanel(TaggingPreset.java:258) >> at >> org.openstreetmap.josm.gui.tagging.TaggingPreset.showDialog(TaggingPreset.java:323) >> at >> org.openstreetmap.josm.gui.tagging.TaggingPreset.actionPerformed(TaggingPreset.java:292) >> at >> javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018) >> at >> javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341) >> at >> javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402) >> at >> javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259) >> at javax.swing.AbstractButton.doClick(AbstractButton.java:376) >> at [...] >> >> What could be the cause? My patches aren't anywhere near the preset or >> image-loading code... > > Very likely you have a toolbar action for a preset and this one uses > an image "pin.png". Either an error or the file existed in the past > and exists no more. >
And is it correct that JOSM stops just due to missing image? What about to show no image or some "missing" image instead? Maybe together with a warning that will show which preset is looking for what image. Marián _______________________________________________ josm-dev mailing list josm-dev@openstreetmap.org https://lists.openstreetmap.org/listinfo/josm-dev