[josm-dev] Exception when opening a preset
Nicolás Alvarez
nicolas.alvarez at gmail.com
Mon Apr 28 22:41:51 UTC 2014
2014-04-26 22:22 GMT-03:00 Nicolás Alvarez <nicolas.alvarez at gmail.com>:
> 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...
It turns out my git-svn clone had the images/styles SVN external in
the wrong subdirectory. Other icons were also failing to load, this
one was just the first one that caused an exception instead of a
harmless warning...
--
Nicolás
More information about the josm-dev
mailing list