Opened 13 months ago
Closed 13 months ago
#22077 closed defect (fixed)
JOSM obstructed by java security warning asking for permission to establish connections to services6.arcgis.com
Reported by: | 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 Changed 13 months ago by
comment:2 Changed 13 months ago by
My OS is Windows 10 and I open JOSM with the jnlp file on my desktop.
comment:3 Changed 13 months ago by
What happens when you start it in a cmd window?
java -jar josm-tested.jar
comment:4 Changed 13 months ago by
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
OK. Maybe you have to switch to OpenWebStart to use the *.jnlp, see #17858.
comment:6 Changed 13 months ago by
Component: | Core → Plugin 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
.
comment:7 Changed 13 months ago by
@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 Changed 13 months ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
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).
What OS do you use? How do you start JOSM?