[josm-dev] patch for JOSM runtime error on MacOS
A Morris
aledmorris2 at gmail.com
Sat Aug 23 21:33:13 BST 2008
I don't knowingly use an external styles file - I simply tried to
build and run the latest JOSM revision.
Is it not a problem that icon files that are referenced in the source
code do not exist in SVN?
Cheers, Aled.
On Sat, Aug 23, 2008 at 9:10 PM, Dirk Stöcker
<openstreetmap at dstoecker.de> wrote:
> 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)
>
> _______________________________________________
> josm-dev mailing list
> josm-dev at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/josm-dev
>
More information about the josm-dev
mailing list