Bug#962156: josm: Could not initialize class org.openstreetmap.josm.data.cache.JCSCacheManager

Andrew Harvey andrew.harvey4 at gmail.com
Thu Jun 4 02:07:36 BST 2020


Package: josm
Version: 0.0.svn16538+dfsg-2
Severity: grave
Justification: renders package unusable

Dear Maintainer,

I opened JOSM and tried to download an area of data from OSM but before the
JMapViewer window opened JOSM crashed with:

{{{
Revision:16538
Is-Local-Build:false
Build-Date:1970-01-23 23:34:59
Debian-Release:0.0.svn16538+dfsg-2
Build-Name:Debian

Identification: JOSM/1.5 (16538 Debian en_AU) Linux Debian GNU/Linux
bullseye/sid
Memory Usage: 441 MB / 3976 MB (138 MB allocated, but free)
Java version: 11.0.7+10-post-Debian-3, Debian, OpenJDK 64-Bit Server VM
Look and Feel: javax.swing.plaf.metal.MetalLookAndFeel
Screen: :0.0 1920x1080
Maximum Screen Size: 1920x1080
Java package: openjdk-11-jre:amd64-11.0.7+10-3
Java ATK Wrapper package: libatk-wrapper-java:all-0.38.0-1
libcommons-compress-java: libcommons-compress-java:all-1.20-1
libcommons-logging-java: libcommons-logging-java:all-1.2-2
fonts-noto: fonts-noto:all-20200323-1
liboauth-signpost-java: liboauth-signpost-java:all-1.2.1.2-3
VM arguments: [--add-modules=java.scripting,java.sql, -Djosm.restart=true,
-Djava.net.useSystemProxies=true]

Plugins:
+ Mapillary (1.5.23)
+ apache-commons (35362)
+ apache-http (35092)
+ buildings_tools (35474)
+ editgpx (35248)
+ javafx-unixoid (35375)
+ jna (35092)
+ photo_geotagging (35405)
+ photoadjust (35405)
+ poly (35248)
+ reverter (35474)
+ tageditor (35258)
+ turnlanes (35405)
+ turnlanes-tagging (283)
+ turnrestrictions (35405)
+ undelete (35474)
+ utilsplugin2 (35476)

Tagging presets:
+ /usr/share/josm/data/defaultpresets.xml
+
https://raw.githubusercontent.com/yopaseopor/traffic_signs_preset_JOSM/master/AU.zip
+ https://raw.githubusercontent.com/osmlab/name-suggestion-
index/master/dist/name-suggestions.presets.xml

Map paint styles:
- /usr/share/josm/styles/standard/potlatch2.mapcss
- https://raw.githubusercontent.com/yopaseopor/indoormap/master/indoormap-
style.mapcss
- https://josm.openstreetmap.de/josmfile?page=Styles/Admin_Boundaries&zip=1
-
https://josm.openstreetmap.de/josmfile?page=Styles/SlovakiaBicycleRoutes&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Cycleways&zip=1
-
https://josm.openstreetmap.de/josmfile?page=Styles/Enhanced_Lane_and_Road_Attributes&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/iD&zip=1
-
https://josm.openstreetmap.de/josmfile?page=Styles/Lane_and_Road_Attributes&zip=1
-
https://josm.openstreetmap.de/josmfile?page=Styles/LessObtrusiveNodes&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Maxspeed&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/MTB&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Mountains&zip=1
- https://raw.githubusercontent.com/OpenSidewalks/OpenSidewalks-
Schema/master/open_sidewalks.mapcss
- https://josm.openstreetmap.de/josmfile?page=Styles/Osmc&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/ParkingLanes&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/PublicTransport&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/sac_scale&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Sidewalks&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Surface&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Fixme&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Noname&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/MapWithAI&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Lit&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/LitObjects&zip=1

Validator rules:
+ <josm.pref>/validator/indoorhelper.validator.mapcss

Last errors/warnings:
- E: Failed to locate image
'
https://koordinates.a.ssl.fastly.net/media/settings/branding/favicon-lds.ico
'
- E: Failed to locate image
'https://www.spatial.nsw.gov.au/__data/assets/file/0017/224801/favicon.ico'
- E: Failed to locate image
'https://www.spatial.nsw.gov.au/__data/assets/file/0017/224801/favicon.ico'
- E: Failed to locate image
'https://www.spatial.nsw.gov.au/__data/assets/file/0017/224801/favicon.ico'
- E: Failed to locate image
'https://www.spatial.nsw.gov.au/__data/assets/file/0017/224801/favicon.ico'
- W: javax.imageio.IIOException: Caught exception during read:. Cause:
java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1
- E: Failed to locate image 'traffic_signs_presets/tunnel.png'
- W:  Tunnel: Could not get presets icon traffic_signs_presets/tunnel.png
- E: Handled by bug report queue: java.lang.NoClassDefFoundError: Could not
initialize class org.openstreetmap.josm.data.cache.JCSCacheManager
- E: Handled by bug report queue: java.lang.NoClassDefFoundError: Could not
initialize class org.openstreetmap.josm.data.cache.JCSCacheManager


=== REPORTED CRASH DATA ===
BugReportExceptionHandler#handleException:
No data collected.

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: AWT-EventQueue-0 (20) of main
java.lang.NoClassDefFoundError: Could not initialize class
org.openstreetmap.josm.data.cache.JCSCacheManager
        at
org.openstreetmap.josm.gui.layer.AbstractCachedTileSourceLayer.getCache(AbstractCachedTileSourceLayer.java:118)
        at
org.openstreetmap.josm.gui.layer.AbstractCachedTileSourceLayer.getTileLoaderFactory(AbstractCachedTileSourceLayer.java:106)
        at
org.openstreetmap.josm.gui.bbox.JosmMapViewer.<init>(JosmMapViewer.java:148)
        at
org.openstreetmap.josm.gui.bbox.SlippyMapBBoxChooser.<init>(SlippyMapBBoxChooser.java:87)
        at
org.openstreetmap.josm.gui.download.SlippyMapChooser.<init>(SlippyMapChooser.java:35)
        at
org.openstreetmap.josm.gui.download.DownloadDialog.buildMainPanel(DownloadDialog.java:128)
        at
org.openstreetmap.josm.gui.download.DownloadDialog.<init>(DownloadDialog.java:230)
        at
org.openstreetmap.josm.gui.download.DownloadDialog.<init>(DownloadDialog.java:218)
        at
org.openstreetmap.josm.gui.download.DownloadDialog.getInstance(DownloadDialog.java:84)
        at
org.openstreetmap.josm.actions.DownloadAction.actionPerformed(DownloadAction.java:35)
        at
java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1967)
        at
java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2308)
        at
java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:405)
        at
java.desktop/javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:262)
        at
java.desktop/javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:279)
        at
java.desktop/java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:297)
        at
java.desktop/java.awt.Component.processMouseEvent(Component.java:6631)
        at
java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3342)
        at java.desktop/java.awt.Component.processEvent(Component.java:6396)
        at java.desktop/java.awt.Container.processEvent(Container.java:2263)
        at
java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5007)
        at
java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
        at
java.desktop/java.awt.Component.dispatchEvent(Component.java:4839)
        at
java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4918)
        at
java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4547)
        at
java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4488)
        at
java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2307)
        at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2772)
        at
java.desktop/java.awt.Component.dispatchEvent(Component.java:4839)
        at
java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772)
        at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
        at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
        at java.base/java.security.AccessController.doPrivileged(Native
Method)
        at
java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
        at
java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95)
        at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745)
        at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:743)
        at java.base/java.security.AccessController.doPrivileged(Native
Method)
        at
java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
        at
java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
        at
java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
        at
java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
        at
java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
        at
java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
        at
java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
        at
java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
}}}



-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-8-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8),
LANGUAGE=en_AU:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages josm depends on:
ii  default-jre [java9-runtime]     2:1.11-72
ii  fonts-noto                      20200323-1
ii  jmapviewer                      2.14+dfsg-1
ii  libcommons-compress-java        1.20-1
ii  libgettext-commons-java         0.9.6-6
ii  liboauth-signpost-java          1.2.1.2-3
ii  openjdk-11-jre [java9-runtime]  11.0.7+10-3
ii  openjfx                         11.0.7+0-2
ii  proj-data                       7.0.1-1

Versions of packages josm recommends:
ii  josm-l10n  0.0.svn16538+dfsg-2

josm suggests no packages.

-- Configuration Files:
/etc/default/josm changed [not included]

-- no debconf information
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20200604/5819ce15/attachment-0001.html>


More information about the Pkg-grass-devel mailing list