kendzi / kendzi3d

3D plugin for JOSM
57 stars 19 forks source link

JOSM hanging during startup on "Loading plugin kendzi3d" (webstart) #15

Open kolen opened 11 years ago

kolen commented 11 years ago

JOSM often hangs during startup when Kendzi3D plugin is enabled. Only sometimes it loads successfully.

Hangs on "Loading plugin kendzi3d" message in splash screen.

UI is redrawing but not reacting to actions. Kendzi3d window appears but main josm window not (only splash screen).

Thread dump: https://gist.github.com/kolen/5822454

image

Started using Java Webstart in Windows 7 64-bit, Java 1.7.0_06-b24.

Webstart descriptior for josm contains all permissions:

<security>
    <all-permissions/>
</security>
kendzi commented 11 years ago

What is OS you are using?

kolen commented 11 years ago

Was in Windows 7, 64-bit Java 1.7.0_06-b24

kendzi commented 11 years ago

Is it started by webstart?

kolen commented 11 years ago

Is it started by webstart?

Yes.

kendzi commented 11 years ago

I test it with jdk 1.7.0_04 and worked fine. With jdk 1.7.0_25 it don't start at all. Webstart don't have permissions to something.

I hate webstart...

Why don't you use regular jar for lunching JOSM?

kolen commented 11 years ago

Yes, seems that problem is in webstart. Under Mac OS plugin don't even start when josm started with webstart. Tried directly — it works.

kolen commented 11 years ago

Tried without webstart, works much better, even with lesser visual glitches.

kendzi commented 11 years ago

I'm using this launcher for JOSM: http://www.openstreetmap.org.pl/kendzi/downloadJosm/current/DownloadJosm.jar https://github.com/kendzi/kendzi.josm.launcher

Download, double click. It always download last tested JOSM and run it.