Opened 3 years ago

Closed 3 years ago

#21213 closed defect (irreproducible)

AccessControlException: access denied ("java.lang.RuntimePermission" "") - OpenWebStart

Reported by: Messinian Owned by: Messinian
Priority: normal Milestone:
Component: Core Version:
Keywords: template_report webstart Cc: taylor.smock


What steps will reproduce the problem?

  1. used lasso select tool to select a small number of Mapwithai buildings (in MapwithAi layer)
  2. Data menu-->add Mapwithai data
  3. crash

What is the expected result?

selected areas (building) would be added to base OSM data layer

What happens instead

JOSM crashed

Please provide any additional information below. Attach a screenshot if possible.

Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2021-08-02 19:44:04 +0200 (Mon, 02 Aug 2021)
Build-Date:2021-08-02 18:26:20

Identification: JOSM/1.5 (18118 en) Windows 10 64-Bit
OS Build number: Windows 10 Home 2009 (19042)
Memory Usage: 2327 MB / 4046 MB (295 MB allocated, but free)
Java version: 11.0.10+9, AdoptOpenJDK, OpenJDK 64-Bit Server VM
Look and Feel: javax.swing.plaf.nimbus.NimbusLookAndFeel
Screen: \Display0 3840×2160 (scaling 2.50×2.50)
Maximum Screen Size: 3840×2160
Best cursor sizes: 16×16→64×64, 32×32→64×64
System property file.encoding: Cp1252
System property sun.jnu.encoding: Cp1252
Locale info: en_US
Numbers with default locale: 1234567890 -> 1234567890
VM arguments: [-Dicedtea-web.bin.location=C:\Program Files\OpenWebStart\javaws, -Djava.util.Arrays.useLegacyMergeSort=true, --add-exports=jdk.deploy/com.sun.deploy.config=ALL-UNNAMED, --add-opens=java.desktop/javax.swing.text.html=ALL-UNNAMED, --add-reads=java.naming=ALL-UNNAMED,java.desktop, --add-exports=java.base/,java.desktop, --add-reads=java.base=ALL-UNNAMED,java.desktop, --add-exports=java.naming/com.sun.jndi.toolkit.url=ALL-UNNAMED,java.desktop, --add-opens=java.base/jdk.internal.loader=ALL-UNNAMED, --add-exports=java.desktop/, --add-exports=java.desktop/sun.awt=ALL-UNNAMED,java.desktop, --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED, --add-exports=java.base/,java.desktop, --add-exports=java.desktop/com.sun.imageio.plugins.jpeg=ALL-UNNAMED, --add-exports=java.base/,java.desktop, --add-exports=java.base/jdk.internal.util.jar=ALL-UNNAMED,java.desktop, --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED, --add-exports=java.base/,java.desktop,, --add-modules=java.scripting,java.sql, --add-exports=java.desktop/sun.awt.X11=ALL-UNNAMED,java.desktop, --add-exports=java.desktop/sun.applet=ALL-UNNAMED,java.desktop,jdk.jsobject, --add-exports=java.base/,java.desktop, --add-opens=java.base/java.lang=ALL-UNNAMED, --add-exports=java.base/,java.desktop, --add-exports=java.desktop/com.sun.imageio.spi=ALL-UNNAMED, --add-reads=java.desktop=ALL-UNNAMED,java.naming, --add-opens=java.base/java.nio=ALL-UNNAMED, --add-exports=java.base/,java.desktop, --add-opens=java.desktop/javax.imageio.spi=ALL-UNNAMED, --add-exports=java.desktop/javax.jnlp=ALL-UNNAMED,java.desktop, --add-exports=java.base/,java.desktop]
Dataset consistency test: No problems found

+ DirectDownload (35640)
+ DirectUpload (35640)
+ ImportImagePlugin (35567)
+ ImproveWay (32)
+ InfoMode (35543)
+ KartaView (374)
+ Mapillary (2.0.0-alpha.30-dirty)
+ MicrosoftStreetside (35779)
+ alignways (35753)
+ apache-commons (35524)
+ apache-http (35589)
+ buildings_tools (35756)
+ changeset-viewer (25)
+ editgpx (35562)
+ ejml (35458)
+ geotools (35458)
+ gpsblam (35458)
+ imagery_offset_db (35640)
+ javafx-windows (35655)
+ jaxb (35543)
+ jna (35662)
+ jts (35458)
+ log4j (35458)
+ mapwithai (1.8.2)
+ opendata (35640)
+ osm-obj-info (66)
+ pdfimport (35640)
+ reltoolbox (35640)
+ splinex (35718)
+ utilsplugin2 (35792)

Tagging presets:

Map paint styles:

Last errors/warnings:
- 11627.877 W: Unable to delete old backup file <josm.pref>\autosave\MapWithAI_20210808_122127466.osm
- 11832.372 W: connect timed out
- 14878.582 W: Unable to delete old backup file <josm.pref>\autosave\MapWithAI_20210808_132942160.osm
- 15178.585 W: Unable to delete old backup file <josm.pref>\autosave\MapWithAI_20210808_142352865.osm
- 18675.801 E: Unsupported savable layer type: TMSLayer
- 18818.545 W: Unsaved changes - <html>The relation has been changed.<br><br>Do you want to save your changes?</html>
- 19011.792 W: Image not returned for tile:,1,2,3&STYLES=&CRS=EPSG:3857&WIDTH=512&HEIGHT=512&BBOX=-8431768.5901378,5157053.4243443,-8431615.7160812,5157206.2984008 content type was: WMS_XML
- 19011.794 W: Image not returned for tile:,1,2,3&STYLES=&CRS=EPSG:3857&WIDTH=512&HEIGHT=512&BBOX=-8431768.5901378,5157053.4243443,-8431615.7160812,5157206.2984008 content type was: WMS_XML
- 19110.272 E: java.nio.file.AccessDeniedException: <josm.cache>\mirror_https___josm.openstreetmap.de_josmfile_page_Styles_MapWithAI_zip_1.tmp -> <josm.cache>\mirror_https___josm.openstreetmap.de_josmfile_page_Styles_MapWithAI_zip_1
- 19111.538 E: Handled by bug report queue: access denied ("java.lang.RuntimePermission" "")

No data collected.

Warning issued by: BugReportExceptionHandler#handleException

Thread: AWT-EventQueue-0 (57) of main access denied ("java.lang.RuntimePermission" "")
	at java.base/
	at java.base/
	at java.base/java.lang.SecurityManager.checkPermission(
	at net.sourceforge.jnlp.runtime.JNLPSecurityManager.checkPermission(
	at java.base/java.lang.SecurityManager.checkPackageAccess(
	at java.base/sun.reflect.misc.ReflectUtil.checkPackageAccess(
	at java.desktop/javax.swing.UIDefaults.getUIClass(
	at java.desktop/javax.swing.UIDefaults.getUI(
	at java.desktop/javax.swing.UIManager.getUI(
	at java.desktop/javax.swing.JLabel.updateUI(
	at java.desktop/javax.swing.JLabel.<init>(
	at java.desktop/javax.swing.JLabel.<init>(
	at org.openstreetmap.josm.gui.tagging.presets.TaggingPresetLabel.<init>(
	at java.desktop/java.awt.event.InvocationEvent.dispatch(
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(
	at java.desktop/java.awt.EventQueue$
	at java.desktop/java.awt.EventQueue$
	at java.base/ Method)
	at java.base/$JavaSecurityAccessImpl.doIntersectionPrivilege(
	at java.desktop/java.awt.EventQueue.dispatchEvent(
	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(
	at java.desktop/

Attachments (0)

Change History (6)

comment:1 by kdwood1303@…, 3 years ago

forgot-> when I selected the buildings with the lasso tool, only 3 of the bldgs were selected (as indicated by red lines). I tried to add anyway without going back to select the others.

comment:2 by skyper, 3 years ago

Cc: taylor.smock added
Keywords: webstart added

comment:3 by taylor.smock, 3 years ago

@kdwood1303: Thank you for the bug report. I'll see if I can reproduce it today using the MapWithAI plugin.

comment:4 by taylor.smock, 3 years ago

Owner: changed from team to Messinian
Status: newneedinfo

@kdwood1303: Are you able to reliably reproduce? If so, can you please tell me what you do?

What I've done to try to reproduce:

  1. Install all of the plugins specified in your bug report (unable to reproduce)
  2. Install all the tagging presets specified in your bug report (didn't expect to be able to reproduce, unable to reproduce)
  3. Install all the paint styles specified in your bug report (didn't expect to be able to reproduce, unable to reproduce)

Differences in environment:

  • I'm on Mac/Linux, not Windows
  • Maximum screen size (probably not the issue)

comment:5 by Don-vip, 3 years ago

Summary: crashed while adding selected mapwithai buildings to my data layerAccessControlException: access denied ("java.lang.RuntimePermission" "") - OpenWebStart

comment:6 by Don-vip, 3 years ago

Resolution: irreproducible
Status: needinfoclosed

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Messinian.
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.