Modify

Opened 2 years ago

Closed 2 years ago

#22077 closed defect (fixed)

JOSM obstructed by java security warning asking for permission to establish connections to services6.arcgis.com

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

Description

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:
"
Heading:

Security Warning

Body:

The application has requested permission to establish connections to services6.arcgis.com. Do you want to allow this action?
Name: JOSM
Location: https://josm.openstreetmap.de

"
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 by GerdP, 2 years ago

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

comment:2 by cwgrillot@…, 2 years ago

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

comment:3 by GerdP, 2 years ago

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

comment:4 by CaseGrillot <cwgrillot@…>, 2 years ago

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

comment:5 by GerdP, 2 years ago

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

comment:6 by taylor.smock, 2 years ago

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: https://openjdk.java.net/jeps/411 (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 2 years ago by taylor.smock (previous) (diff)

comment:7 by taylor.smock, 2 years ago

@cwgrillot: From https://github.com/karakun/OpenWebStart/issues/508, 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 by taylor.smock, 2 years ago

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
Action
as closed The owner will remain taylor.smock.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.