#22077 closed defect (fixed)

JOSM obstructed by java security warning asking for permission to establish connections to

Reported by: cwgrillot@… Owned by: taylor.smock
Priority: normal Milestone:
Component: Plugin mapwithai Version: tested
Keywords: Cc:


I am currently unable to utilize JOSM as any attempt to open the program (18427, latest tested version). Once JOSM opens, a window with the Java logo in the upper right states:

Security Warning


The application has requested permission to establish connections to Do you want to allow this action?
Name: JOSM

Clicking the x button at the top right corner, or the ok button, or the cancel button does nothing and I must restart my computer to remove the JOSM window. This window can be dragged around but not closed. Moreover, a window that is completely white and labeled "download" next to the JOSM logo in the top left corner also appears behind the previous window. This window unlike the other one cannot be moved (similar to the other window it cannot be closed)

This error prevents me from even reaching the report bug button so that is why any status report is not attached. If there is anymore information I need to show please tell me, this is my first time filing a bug report.
Hopefully this is an issue with Java or my computer and not JOSM.

Thank you!

Attachments (0)

Change History (8)

comment:1 Changed 13 months ago by GerdP

What OS do you use? How do you start JOSM?

comment:2 Changed 13 months ago by cwgrillot@…

My OS is Windows 10 and I open JOSM with the jnlp file on my desktop.

comment:3 Changed 13 months ago by GerdP

What happens when you start it in a cmd window?
java -jar josm-tested.jar

comment:4 Changed 13 months ago by CaseGrillot <cwgrillot@…>

I will update you when I have access to internet/my computer again, which will be on 5/20

comment:5 Changed 13 months ago by GerdP

OK. Maybe you have to switch to OpenWebStart to use the *.jnlp, see #17858.

comment:6 Changed 13 months ago by taylor.smock

Component: CorePlugin mapwithai
Owner: changed from team to taylor.smock

This is probably due to me using ForkJoinPool#commonPool somewhere in the MapWithAI plugin. I'll try to get a fix out in the next hour or two.

EDIT: I've rolled back to v1.9.10, which should be fine
EDIT2: Relevant JEP: (AKA, this will no longer a problem when the security manager goes away). Anyway, I've tracked down the issue -- I'm calling ForkJoinTask#fork outside of the appropriate ForkJoinPool.

Last edited 13 months ago by taylor.smock (previous) (diff)

comment:7 Changed 13 months ago by taylor.smock

@cwgrillot: From, you can work around this issue with OpenWebStart by running (via the command line) javaws josm.jnlp --nosecurity. Hopefully that is the right command for Windows (I use Linux/Mac). But it will probably be easier to run the jar file or executable to roll back your local copy of the plugin.

comment:8 Changed 13 months ago by taylor.smock

Resolution: fixed
Status: newclosed

This should be fixed in MapWithAI v1.9.13. Rather unfortunately, you are going to have to use either OpenWebStart, an installer, or the jar file to get the update. (I'm assuming you cannot get to the JOSM preference panel with Oracle WebStart).

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain taylor.smock.
as The resolution will be set.
The resolution will be deleted.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.