[josm-dev] patch for JOSM runtime error on MacOS

Dirk Stöcker openstreetmap at dstoecker.de
Sat Aug 23 21:10:11 BST 2008


On Sat, 23 Aug 2008, A Morris wrote:

> I am trying to run the latest SVN revision of JOSM in eclipse on a
> Mac. The code builds, but does not run; it hangs inside the native
> method Object.wait() in ElemStyleHandler. The offending line is:
>
> 		curIcon = new ImageIcon(Toolkit.getDefaultToolkit().createImage(path));
>
> I note that the file 'misc/no_icon.png' (which it is trying to load)
> does not exist anywhere in my filesystem. (Actually neither does
> 'amenity.png').
>
> I have applied the following patch which seems to have fixed the
> problem on my system (the hang, that is, not the fact that icons seem
> to be missing):

You use an external styles file? It must have some errors.

The problem is, that the internal style names aren't properly initialized 
in case an external file is loaded. I will fix that.

Ciao
-- 
http://www.dstoecker.eu/ (PGP key available)




More information about the josm-dev mailing list