Your message dated Mon, 9 Apr 2018 21:00:25 +0200
with message-id <bfbcecc8-c48a-cf67-ae9f-411a4376f...@xs4all.nl>
and subject line Re: Bug#895311: josm: java.lang.NoSuchMethodError when 
downloading data
has caused the Debian Bug report #895311,
regarding josm: java.lang.NoSuchMethodError when downloading data
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
895311: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=895311
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: josm
Version: 0.0.svn13576+dfsg-3
Severity: important

It is not possible to download any data.

Reproduced by:
- Start josm
- Press the "Download data" button
=> An error dialog opens the reports that an unexpected exception
   occured.

The log output reports the exception:
  2018-04-09 20:43:39.391 SEVERE: Handled by bug report queue: 
java.lang.NoSuchMethodError: java.nio.ByteBuffer.flip()Ljava/nio/ByteBuffer;
  java.lang.NoSuchMethodError: java.nio.ByteBuffer.flip()Ljava/nio/ByteBuffer;

The full output with the stack trace is attached to this report.

Regards

-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.15.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=nl_NL.utf8, LC_CTYPE=nl_NL.utf8 (charmap=UTF-8), 
LANGUAGE=nl_NL.utf8 (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  fonts-noto                     20171026-2
ii  jmapviewer                     2.7+dfsg-1
ii  libcommons-compress-java       1.13-1
ii  libcommons-logging-java        1.2-2
ii  libgettext-commons-java        0.9.6-6
ii  liboauth-signpost-java         1.2.1.2-1.5
ii  libsvgsalamander-java          1.1.1+dfsg-2
ii  openjdk-9-jre [java9-runtime]  9.0.4+12-4
ii  proj-data                      5.0.1-1

Versions of packages josm recommends:
ii  josm-l10n  0.0.svn13576+dfsg-3

josm suggests no packages.

-- no debconf information
Using /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java to execute josm.
2018-04-09 20:43:31.300 INFO: Log level is at INFO (INFO, 800)
2018-04-09 20:43:34.021 INFO: GET 
https://josm.openstreetmap.de/maps?ids=Bing,DigitalGlobe-Premium,DigitalGlobe-Standard,EsriWorldImagery,EsriWorldImageryClarity,Mapbox,osm-mapnik-black_and_white,standard
 -> 304
2018-04-09 20:43:34.963 INFO: Defaults for imagery.generic.default_autozoom 
differ:  != true
2018-04-09 20:43:34.963 INFO: Defaults for imagery.generic.default_autoload 
differ:  != true
2018-04-09 20:43:34.963 INFO: Defaults for imagery.generic.default_showerrors 
differ:  != true
log4j:WARN No appenders could be found for logger 
(org.apache.commons.jcs.engine.control.CompositeCacheManager).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more 
info.
2018-04-09 20:43:35.389 INFO: GET 
https://api.openstreetmap.org/api/0.6/user/details -> 200 (372 B)
2018-04-09 20:43:35.480 INFO: Message notifier active (checks every 5 minutes)
2018-04-09 20:43:35.538 INFO: GET 
https://api.openstreetmap.org/api/0.6/user/details (get number of unread 
messages) -> 200 (372 B)
2018-04-09 20:43:39.391 SEVERE: Handled by bug report queue: 
java.lang.NoSuchMethodError: java.nio.ByteBuffer.flip()Ljava/nio/ByteBuffer;
java.lang.NoSuchMethodError: java.nio.ByteBuffer.flip()Ljava/nio/ByteBuffer;
        at 
org.apache.commons.jcs.auxiliary.disk.block.BlockDisk.readBlock(BlockDisk.java:336)
        at 
org.apache.commons.jcs.auxiliary.disk.block.BlockDisk.read(BlockDisk.java:291)
        at 
org.apache.commons.jcs.auxiliary.disk.block.BlockDiskCache.verifyDisk(BlockDiskCache.java:214)
        at 
org.apache.commons.jcs.auxiliary.disk.block.BlockDiskCache.<init>(BlockDiskCache.java:145)
        at 
org.apache.commons.jcs.auxiliary.disk.block.BlockDiskCacheFactory.createCache(BlockDiskCacheFactory.java:60)
        at 
org.apache.commons.jcs.auxiliary.disk.block.BlockDiskCacheFactory.createCache(BlockDiskCacheFactory.java:33)
        at 
org.openstreetmap.josm.data.cache.JCSCacheManager.getCacheInner(JCSCacheManager.java:182)
        at 
org.openstreetmap.josm.data.cache.JCSCacheManager.getCache(JCSCacheManager.java:164)
        at 
org.openstreetmap.josm.gui.layer.AbstractCachedTileSourceLayer.getCache(AbstractCachedTileSourceLayer.java:128)
        at 
org.openstreetmap.josm.gui.layer.AbstractCachedTileSourceLayer.getTileLoaderFactory(AbstractCachedTileSourceLayer.java:115)
        at 
org.openstreetmap.josm.gui.bbox.SlippyMapBBoxChooser.<init>(SlippyMapBBoxChooser.java:158)
        at 
org.openstreetmap.josm.gui.download.SlippyMapChooser.<init>(SlippyMapChooser.java:35)
        at 
org.openstreetmap.josm.gui.download.DownloadDialog.buildMainPanel(DownloadDialog.java:126)
        at 
org.openstreetmap.josm.gui.download.DownloadDialog.<init>(DownloadDialog.java:231)
        at 
org.openstreetmap.josm.gui.download.DownloadDialog.<init>(DownloadDialog.java:219)
        at 
org.openstreetmap.josm.gui.download.DownloadDialog.getInstance(DownloadDialog.java:82)
        at 
org.openstreetmap.josm.actions.DownloadAction.actionPerformed(DownloadAction.java:35)
        at 
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
        at 
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
        at 
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
        at 
javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
        at 
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
        at 
java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289)
        at java.awt.Component.processMouseEvent(Component.java:6533)
        at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
        at java.awt.Component.processEvent(Component.java:6298)
        at java.awt.Container.processEvent(Container.java:2237)
        at java.awt.Component.dispatchEventImpl(Component.java:4889)
        at java.awt.Container.dispatchEventImpl(Container.java:2295)
        at java.awt.Component.dispatchEvent(Component.java:4711)
        at 
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4889)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4526)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4467)
        at java.awt.Container.dispatchEventImpl(Container.java:2281)
        at java.awt.Window.dispatchEventImpl(Window.java:2746)
        at java.awt.Component.dispatchEvent(Component.java:4711)
        at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
        at java.awt.EventQueue.access$500(EventQueue.java:97)
        at java.awt.EventQueue$3.run(EventQueue.java:709)
        at java.awt.EventQueue$3.run(EventQueue.java:703)
        at java.security.AccessController.doPrivileged(Native Method)
        at 
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
        at 
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90)
        at java.awt.EventQueue$4.run(EventQueue.java:733)
        at java.awt.EventQueue$4.run(EventQueue.java:731)
        at java.security.AccessController.doPrivileged(Native Method)
        at 
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
        at 
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
        at 
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
        at 
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

2018-04-09 20:43:39.607 INFO: GET https://josm.openstreetmap.de/tested -> 200

--- End Message ---
--- Begin Message ---
On 04/09/2018 08:55 PM, Vincent Smeets wrote:
> The log output reports the exception:
>   2018-04-09 20:43:39.391 SEVERE: Handled by bug report queue: 
> java.lang.NoSuchMethodError: java.nio.ByteBuffer.flip()Ljava/nio/ByteBuffer;
>   java.lang.NoSuchMethodError: java.nio.ByteBuffer.flip()Ljava/nio/ByteBuffer;

OpenJDK 9 is required, set is as the default with update-java-alternatives:

 update-java-alternatives -s java-1.9.0-openjdk-amd64

Kind Regards,

Bas

--- End Message ---

Reply via email to