Modify

Opened 7 years ago

Closed 6 years ago

Last modified 6 years ago

#17632 closed defect (othersoftware)

Can't Download OSM Data with Icedtea-web

Reported by: Zian Owned by: Don-vip
Priority: normal Milestone:
Component: Core Webstart Version:
Keywords: adoptopenjdk icedtea-web jcs cache classloader Cc: wiktorn

Description (last modified by Don-vip)

Steps to Reproduce:

  1. Start JOSM
  2. Click the Download Map Data button
  3. Wait for a map to appear.

Expected Result:
A map of the world

Actual Result:
4 hourglasses

Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2019-03-31 21:17:00 +0200 (Sun, 31 Mar 2019)
Revision:14945
Build-Date:2019-03-31 20:25:18
URL:https://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (14945 en) Windows 7 64-Bit
OS Build number: Windows 7 Ultimate (7601)
Memory Usage: 290 MB / 2048 MB (112 MB allocated, but free)
Java version: 12+33, AdoptOpenJDK, OpenJDK 64-Bit Server VM
Screen: \Display0 1600x900, \Display1 1080x1920
Maximum Screen Size: 1600x1920
VM arguments: [--add-reads=java.base=ALL-UNNAMED,java.desktop, --add-reads=java.desktop=ALL-UNNAMED,java.naming, --add-reads=java.naming=ALL-UNNAMED,java.desktop, --add-exports=java.desktop/sun.awt=ALL-UNNAMED,java.desktop, --add-exports=java.desktop/javax.jnlp=ALL-UNNAMED,java.desktop, --add-exports=java.base/com.sun.net.ssl.internal.ssl=ALL-UNNAMED,java.desktop, --add-exports=java.base/sun.net.www.protocol.jar=ALL-UNNAMED,java.desktop, --add-exports=java.base/sun.security.action=ALL-UNNAMED,java.desktop, --add-exports=java.base/sun.security.provider=ALL-UNNAMED,java.desktop, --add-exports=java.base/sun.security.util=ALL-UNNAMED,java.desktop, --add-exports=java.base/sun.security.validator=ALL-UNNAMED,java.desktop, --add-exports=java.base/sun.security.x509=ALL-UNNAMED,java.desktop, --add-exports=java.base/jdk.internal.util.jar=ALL-UNNAMED,java.desktop, --add-exports=java.base/sun.net.www.protocol.http=ALL-UNNAMED,java.desktop, --add-exports=java.desktop/sun.awt.X11=ALL-UNNAMED,java.desktop, --add-exports=java.desktop/sun.applet=ALL-UNNAMED,java.desktop, --add-exports=java.desktop/sun.applet=ALL-UNNAMED,jdk.jsobject, --add-exports=java.naming/com.sun.jndi.toolkit.url=ALL-UNNAMED,java.desktop, --patch-module=jdk.jsobject=C:\Program Files\IcedTeaWeb\WebStart\share/icedtea-web\jsobject.jar, -Dicedtea-web.bin.name=javaws.exe, -Dicedtea-web.bin.location=C:\Program Files\IcedTeaWeb\WebStart\bin\javaws.exe]

Plugins:
+ ElevationProfile (34928)
+ InfoMode (34755)
+ Mapillary (1.5.18)
+ OpeningHoursEditor (34867)
+ apache-commons (34506)
+ apache-http (34632)
+ buildings_tools (34904)
+ imagery_offset_db (34867)
+ jna (34867)
+ measurement (34867)
+ scoutsigns (140)
+ utilsplugin2 (34932)

Map paint styles:
+ https://josm.openstreetmap.de/josmfile?page=Styles/Lane_and_Road_Attributes&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Maxspeed&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Fixme&zip=1
+ https://raw.githubusercontent.com/species/josm-preset-traffic_sign_direction/master/direction.mapcss
+ https://josm.openstreetmap.de/josmfile?page=Styles/Traffic_signs&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/ParkingLanes&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/PublicTransportV2&zip=1

Last errors/warnings:
- E: Region [TMS_BLOCK_v2] Failure getting from disk, key = OpenStreetMap Carto:https://%s.tile.openstreetmap.org/11/355/824
- E: Region [TMS_BLOCK_v2] Failure getting from disk, key = OpenStreetMap Carto:https://%s.tile.openstreetmap.org/11/357/824
- E: Region [TMS_BLOCK_v2] Failure getting from disk, key = OpenStreetMap Carto:https://%s.tile.openstreetmap.org/11/357/823
- E: Region [TMS_BLOCK_v2] Failure getting from disk, key = OpenStreetMap Carto:https://%s.tile.openstreetmap.org/11/356/823
- E: Region [TMS_BLOCK_v2] Failure getting from disk, key = OpenStreetMap Carto:https://%s.tile.openstreetmap.org/11/354/823
- E: Region [TMS_BLOCK_v2] Failure getting from disk, key = OpenStreetMap Carto:https://%s.tile.openstreetmap.org/11/354/824
- E: Region [TMS_BLOCK_v2] Failure getting from disk, key = OpenStreetMap Carto:https://%s.tile.openstreetmap.org/11/358/824
- E: Region [TMS_BLOCK_v2] Failure getting from disk, key = OpenStreetMap Carto:https://%s.tile.openstreetmap.org/11/356/824
- E: Region [TMS_BLOCK_v2] Failure getting from disk, key = OpenStreetMap Carto:https://%s.tile.openstreetmap.org/11/357/824
- E: Region [TMS_BLOCK_v2] Failure getting from disk, key = OpenStreetMap Carto:https://%s.tile.openstreetmap.org/11/357/823

Attachments (3)

Download Data Window.png (61.3 KB ) - added by Zian 7 years ago.
Screenshot of the hourglasses
Can't Download Map Data.zip (3.8 MB ) - added by Zian 7 years ago.
Unzip the file and then open the PML file with Process Monitor
jcs-itw.PNG (19.7 KB ) - added by Don-vip 7 years ago.

Change History (19)

by Zian, 7 years ago

Attachment: Download Data Window.png added

Screenshot of the hourglasses

comment:1 by Don-vip, 7 years ago

Owner: changed from team to Zian
Status: newneedinfo

It seems JOSM is unable to read or write cache data from/to your disk, please check rights, quota, etc:

- E: Region [TMS_BLOCK_v2] Failure getting from disk

comment:2 by Don-vip, 7 years ago

Resolution: needinfo
Status: needinfoclosed

comment:3 by Zian, 7 years ago

The program is able to read from TMS_BLOCK_v2.data but it fails consistently when it tries to create files in "C:\Program Files\IcedTeaWeb\WebStart\bin\org\" because "PATH NOT FOUND".

I'll attach a Process Monitor log that shows the problem.

by Zian, 7 years ago

Attachment: Can't Download Map Data.zip added

Unzip the file and then open the PML file with Process Monitor

comment:4 by Zian, 7 years ago

Comment 3 and the PML were generated by:

Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2019-04-28 04:36:41 +0200 (Sun, 28 Apr 2019)
Revision:15031
Build-Date:2019-04-28 02:37:58
URL:https://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (15031 en) Windows 10 64-Bit
OS Build number: Windows 10 Pro 1809 (17763)
Memory Usage: 249 MB / 2048 MB (110 MB allocated, but free)
Java version: 12.0.1+12, AdoptOpenJDK, OpenJDK 64-Bit Server VM
Screen: \Display0 1080x1920, \Display1 1600x900
Maximum Screen Size: 1600x1920
VM arguments: [--add-reads=java.base=ALL-UNNAMED,java.desktop, --add-reads=java.desktop=ALL-UNNAMED,java.naming, --add-reads=java.naming=ALL-UNNAMED,java.desktop, --add-exports=java.desktop/sun.awt=ALL-UNNAMED,java.desktop, --add-exports=java.desktop/javax.jnlp=ALL-UNNAMED,java.desktop, --add-exports=java.base/com.sun.net.ssl.internal.ssl=ALL-UNNAMED,java.desktop, --add-exports=java.base/sun.net.www.protocol.jar=ALL-UNNAMED,java.desktop, --add-exports=java.base/sun.security.action=ALL-UNNAMED,java.desktop, --add-exports=java.base/sun.security.provider=ALL-UNNAMED,java.desktop, --add-exports=java.base/sun.security.util=ALL-UNNAMED,java.desktop, --add-exports=java.base/sun.security.validator=ALL-UNNAMED,java.desktop, --add-exports=java.base/sun.security.x509=ALL-UNNAMED,java.desktop, --add-exports=java.base/jdk.internal.util.jar=ALL-UNNAMED,java.desktop, --add-exports=java.base/sun.net.www.protocol.http=ALL-UNNAMED,java.desktop, --add-exports=java.desktop/sun.awt.X11=ALL-UNNAMED,java.desktop, --add-exports=java.desktop/sun.applet=ALL-UNNAMED,java.desktop, --add-exports=java.desktop/sun.applet=ALL-UNNAMED,jdk.jsobject, --add-exports=java.naming/com.sun.jndi.toolkit.url=ALL-UNNAMED,java.desktop, --patch-module=jdk.jsobject=C:\Program Files\IcedTeaWeb\WebStart\share/icedtea-web\jsobject.jar, -Dicedtea-web.bin.name=javaws.exe, -Dicedtea-web.bin.location=C:\Program Files\IcedTeaWeb\WebStart\bin\javaws.exe]

Plugins:
+ InfoMode (34908)
+ Mapillary (1.5.18)
+ OpeningHoursEditor (34977)
+ apache-commons (34908)
+ apache-http (34908)
+ buildings_tools (34982)
+ jna (34908)
+ scoutsigns (142)
+ utilsplugin2 (34977)
Last edited 7 years ago by Don-vip (previous) (diff)

comment:5 by Don-vip, 7 years ago

Component: CoreCore Webstart
Keywords: adoptopenjdk icedtea-web added
Resolution: needinfo
Status: closedreopened

Didn't see you were trying AdoptOpenJDK and IcedTea-Web! Probably something wrong with it.

by Don-vip, 7 years ago

Attachment: jcs-itw.PNG added

comment:6 by Don-vip, 7 years ago

Cc: wiktorn added
Keywords: jcs cache classloader added

Looks like a classloader issue with JCS? These 5 classes are searched on the file system in loop:


comment:7 by Don-vip, 7 years ago

Description: modified (diff)

comment:8 by Don-vip, 7 years ago

@Zian: where did you get IcedTea-Web installer from? The current AdoptOpenJDK 12 installer does not seem to include it yet.

comment:9 by Zian, 7 years ago

I got the IcedTea-Web installer from the IcedTea-Web releases page <https://github.com/AdoptOpenJDK/IcedTea-Web/releases>.

comment:10 by Zian, 7 years ago

Owner: changed from Zian to Don-vip
Status: reopenednew

comment:11 by Zian, 6 years ago

The problem persists with the final 1.8.1 release of Iced Tea Web Start.

comment:12 by Don-vip, 6 years ago

Summary: Can't Download OSM DataCan't Download OSM Data with Icedtea-web

comment:13 by wiktorn, 6 years ago

Strange thing. I tried with 1.8.1 Iced Tea Web Start. On startup many exceptions were risen:

java.lang.ClassNotFoundException: com.sun.deploy.config.BuiltInProperties
java.lang.ClassNotFoundException: java.lang.ObjectBeanInfo
java.lang.ClassNotFoundException: java.lang.ObjectCustomizer
java.lang.ClassNotFoundException: org.apache.commons.jcs.engine.CompositeCacheAttributesBeanInfo
java.lang.ClassNotFoundException: org.apache.commons.jcs.engine.CompositeCacheAttributesCustomizer
java.lang.ClassNotFoundException: org.apache.commons.jcs.engine.ElementAttributesBeanInfo
java.lang.ClassNotFoundException: org.apache.commons.jcs.engine.ElementAttributesCustomizer
java.lang.ClassNotFoundException: org.apache.commons.logging.impl.Log4JLogger
java.lang.ClassNotFoundException: org.openstreetmap
java.lang.ClassNotFoundException: org.openstreetmap.josm
java.lang.ClassNotFoundException: org.openstreetmap.josm.data.cache.CacheEntryAttributesBeanInfo
java.lang.ClassNotFoundException: org.openstreetmap.josm.data.cache.CacheEntryAttributesCustomizer
java.lang.ClassNotFoundException: org.openstreetmap.josm.tools

Though it looks like it was working (at least, on third or fourth time I was executing it).

comment:14 by Don-vip, 6 years ago

I don't think this is worth it to spend a lot of time on ITW 1.x. Karakun guys are rewriting the application in a new major version (2.x), we should try this one once a developer version is published. See #17858

comment:15 by Don-vip, 6 years ago

Resolution: othersoftware
Status: newclosed

Tried again with OpenWebStart 1.1.1 and it works fine.

comment:16 by Zian, 6 years ago

I confirm that the program eventually launches with OpenWebStart 1.1.1. Unfortunately, it repeatedly asks if shortcuts should be created. I will follow up with OpenWebStart for that issue.

Modify Ticket

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