Opened 3 years ago
Closed 3 years 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 by , 3 years ago
comment:3 by , 3 years ago
What happens when you start it in a cmd window?
java -jar josm-tested.jar
comment:4 by , 3 years ago
I will update you when I have access to internet/my computer again, which will be on 5/20
comment:5 by , 3 years ago
OK. Maybe you have to switch to OpenWebStart to use the *.jnlp, see #17858.
comment:6 by , 3 years ago
Component: | Core → Plugin mapwithai |
---|---|
Owner: | changed from | to
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 by , 3 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 , 3 years ago
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?