--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: josm: NPE when reordering relation elements
- From: Roland Hieber <rohieb@rohieb.name>
- Date: Wed, 06 Apr 2016 20:34:14 +0200
- Message-id: <145996765432.30790.2614886057998237619.reportbug@r2d2.rohieb.name>
Package: josm
Version: 0.0.svn9979+dfsg-1
Severity: normal
Dear Maintainer,
I did the following:
* Move my ~/.josm to somewhere else
* Start JOSM
* File -> Download Object, import relation 3067629
* Open the imported relation in the relation editor
* Select a way segment that is in the wrong place (the line in the right column
has a gap)
* Try to reorder this way segments by clicking the button "Move currently
selected members down".
As soon as I do the last action, JOSM presents me a window "Unexpected
Exception: [Report Bug] [Do Nothing]".
However, JOSM still works like before when I click the button "do nothing", but
the exception occurs again when I click the "move down" button. But not always!
Sometimes, I can reorder relation members without the exception window
appearing.
I'm on XFCE with lightdm, but this also happens often on my usual awesome-wm
desktop. It happens with Java 7 as well as with Java 8. Since the exception
stack trace refers to libatk, those are the versions of installed packages on my
system:
$ dpkg -l libatk*|grep '^ii'
ii libatk-bridge2.0-0:amd64 2.18.1-3
ii libatk-wrapper-java 0.33.3-6
ii libatk-wrapper-java-jni:amd64 0.33.3-6
ii libatk1.0-0:amd64 2.18.0-1
ii libatk1.0-data 2.18.0-1
ii libatkmm-1.6-1v5:amd64 2.24.2-1
(I'm not sure if this is a bug in JOSM or really in ATK, or in something else.)
This is the info when I click the "Report Bug" button:
{{{
Build-Name:Debian
Build-Date:2016-03-13 18:06:27
Revision:9979
Is-Local-Build:false
Debian-Release:0.0.svn9979+dfsg-1
Identification: JOSM/1.5 (9979 Debian en) Linux Debian GNU/Linux testing-proposed-updates (sid)
Memory Usage: 188 MB / 844 MB (115 MB allocated, but free)
Java version: 1.8.0_72-internal-b15, Oracle Corporation, OpenJDK 64-Bit Server VM
VM arguments: [-Djosm.restart=true, -Djava.net.useSystemProxies=true]
Dataset consistency test: No problems found
Last errors/warnings:
- E: java.lang.NullPointerException
java.lang.NullPointerException
at org.openstreetmap.josm.gui.dialogs.relation.sort.WayConnectionTypeCalculator.determineOnewayConnectionType(WayConnectionTypeCalculator.java:146)
at org.openstreetmap.josm.gui.dialogs.relation.sort.WayConnectionTypeCalculator.updateLinks(WayConnectionTypeCalculator.java:71)
at org.openstreetmap.josm.gui.dialogs.relation.MemberTableModel.getWayConnection(MemberTableModel.java:761)
at org.openstreetmap.josm.gui.dialogs.relation.MemberTable$ZoomToGapAction.getConnectionType(MemberTable.java:214)
at org.openstreetmap.josm.gui.dialogs.relation.MemberTable$ZoomToGapAction.hasGap(MemberTable.java:221)
at org.openstreetmap.josm.gui.dialogs.relation.MemberTable$ZoomToGapAction.updateEnabledState(MemberTable.java:245)
at org.openstreetmap.josm.gui.dialogs.relation.MemberTable$ZoomToGapAction.valueChanged(MemberTable.java:250)
at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:184)
at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:164)
at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:211)
at javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:405)
at javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:415)
at javax.swing.DefaultListSelectionModel.addSelectionInterval(DefaultListSelectionModel.java:518)
at org.openstreetmap.josm.gui.dialogs.relation.MemberTableModel.moveUp(MemberTableModel.java:266)
at org.openstreetmap.josm.gui.dialogs.relation.actions.MoveUpAction.actionPerformed(MoveUpAction.java:38)
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:6535)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6300)
at java.awt.Container.processEvent(Container.java:2236)
at java.awt.Component.dispatchEventImpl(Component.java:4891)
at java.awt.Container.dispatchEventImpl(Container.java:2294)
at java.awt.Component.dispatchEvent(Component.java:4713)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4525)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466)
at java.awt.Container.dispatchEventImpl(Container.java:2280)
at java.awt.Window.dispatchEventImpl(Window.java:2750)
at java.awt.Component.dispatchEvent(Component.java:4713)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
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:76)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.awt.EventQueue$4.run(EventQueue.java:729)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at org.GNOME.Accessibility.AtkWrapper$5.dispatchEvent(AtkWrapper.java:697)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
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)
}}}
-- System Information:
Debian Release: stretch/sid
APT prefers testing-proposed-updates
APT policy: (500, 'testing-proposed-updates'), (500, 'testing'), (170, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.4.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages josm depends on:
ii default-jre [java7-runtime] 2:1.8-57
ii fonts-noto 20160116-1
ii jmapviewer 1.15+dfsg-1
ii libcommons-compress-java 1.10-2
ii libcommons-logging-java 1.2-1
ii libgettext-commons-java 0.9.6-3
ii liboauth-signpost-java 1.2.1.2-1.3
ii libsvgsalamander-java 0~svn95-1
ii openjdk-7-jre [java7-runtime] 7u95-2.6.4-1
ii openjdk-8-jre [java7-runtime] 8u72-b15-4
ii openstreetmap-map-icons-classic 1:0.0.svn32088-1
Versions of packages josm recommends:
pn josm-l10n <none>
pn josm-plugins <none>
ii webkit-image-gtk 0.0.svn25399-3
josm suggests no packages.
-- debconf-show failed
--- End Message ---
--- Begin Message ---
Source: java-atk-wrapper
Source-Version: 0.33.3-7
We believe that the bug you reported is fixed in the latest version of
java-atk-wrapper, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 820227@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Samuel Thibault <sthibault@debian.org> (supplier of updated java-atk-wrapper package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sun, 22 May 2016 17:42:20 +0200
Source: java-atk-wrapper
Binary: libatk-wrapper-java libatk-wrapper-java-jni
Architecture: source amd64 all
Version: 0.33.3-7
Distribution: unstable
Urgency: medium
Maintainer: Debian Accessibility Team <debian-accessibility@lists.debian.org>
Changed-By: Samuel Thibault <sthibault@debian.org>
Description:
libatk-wrapper-java - ATK implementation for Java using JNI
libatk-wrapper-java-jni - ATK implementation for Java using JNI (JNI bindings)
Closes: 820227 821468
Changes:
java-atk-wrapper (0.33.3-7) unstable; urgency=medium
.
* rules: Use $(jvm_includes) from /usr/share/java/java_defaults.mk.
(Closes: #821468)
* control: Build-Depend on java-common >= 0.54 to get $(jvm_includes).
* patches/spurious_recursive_call: Drop spurious infinitely recursive call.
* patches/hash-mutex: Protect object hash table with a mutex.
* patches/fix-unexpected-threaded-call: Avoid calling application callbacks
from the atk glib loop (Closes: #820227)
Checksums-Sha1:
6ce7ff7a800cac9951bf1e04610cfdc4ec71afc7 2380 java-atk-wrapper_0.33.3-7.dsc
848467aae5a8d97aa484cf493bd94a131d4edab4 9395 java-atk-wrapper_0.33.3-7.debian.tar.bz2
6ec9a6a867a7e554e96d000248545f03d7964ce0 158010 libatk-wrapper-java-jni-dbgsym_0.33.3-7_amd64.deb
a91b8cde29e7dd15b0384336b174ef51abdca0dd 36650 libatk-wrapper-java-jni_0.33.3-7_amd64.deb
975eb75ffe8bfad105afe4cec82ff992b7dc2d70 43580 libatk-wrapper-java_0.33.3-7_all.deb
Checksums-Sha256:
4dd86c9f87aa9af105e6d0fdfd9721e031d3802b65a2d16ffd2e634d39b2b9cd 2380 java-atk-wrapper_0.33.3-7.dsc
7b504c4215c317bb2b7ac44e252d85b4adb7efc0f8b4eb4c771203dbe9e1b72b 9395 java-atk-wrapper_0.33.3-7.debian.tar.bz2
a88427a021ab96c228f30c9c2291be00b232aa9afe03fc3d3c36833eba32a810 158010 libatk-wrapper-java-jni-dbgsym_0.33.3-7_amd64.deb
248380416a01766e0e765e56b439799d8d379f517e4c35986b2afd0f01829943 36650 libatk-wrapper-java-jni_0.33.3-7_amd64.deb
d3a2e2ab54785f0e4f71fda85e706903ecc8ca28bf67652978c082c76cda3f0e 43580 libatk-wrapper-java_0.33.3-7_all.deb
Files:
0942699a948adb04ef6e1144cd6eb7b0 2380 java optional java-atk-wrapper_0.33.3-7.dsc
fc63ac6df8147ccd015687130b683035 9395 java optional java-atk-wrapper_0.33.3-7.debian.tar.bz2
e52c33c7a373f36fc5bf54363ab9a00c 158010 debug extra libatk-wrapper-java-jni-dbgsym_0.33.3-7_amd64.deb
b83a49e04a0da55d23289cf86a3a3aae 36650 java optional libatk-wrapper-java-jni_0.33.3-7_amd64.deb
fea02c34a7d3bb46e2eefe25e66c3935 43580 java optional libatk-wrapper-java_0.33.3-7_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCgAGBQJXQdUaAAoJEPs9hU7TiF8YzpgP/3CN+3fzMez9Y2RsF3W4Owai
5eBgfBKdOqibwq96OG4fhDHXjrmW8X455zSQpLSuKt3Y3NwI2EKK7Cy68Hp7AThJ
F32D928VX/VenHg7ns/gaS3w11NuPzgNRz9Hi1VoBcYbmsReY01cCrnJ26VUJ/Wo
nqrx+abGYP2+cKzVL0BNVKJXj28Z9c6pzPDXhkZ2i3wlHXCrTeVUgo/1u40lZTNn
Y6Jquho9ckB++AQZxjleTga8tPCEFFyNTELtg2IcR3d4zX4uVTpKUWGs9FzQXh8x
FYJncw9+30+YXAgQhLQYyjPR5upbf0ESQbR2vWoRbwUYPbxh5EgZXjb9zh6Wrh5m
llHlWs55EFmwG8hNpKctbbh9A8F78iU4ZVKQWAXiLAeMSkF3vq4I4WREPk9c+zp2
Zs1jmWrk29d51e1N1jT/krRjR/pK4v+zneHPpVFeyGv1pYxTXoJtaTtav2/lZZNW
qKn5WsWaRmKroah6Z8mgnjSO0PIoYLPzkGvcw/eb0OKlULFNAZ/wN60Iu1dDUe1n
jOmLC09JR84bkodicU5elFUJpJipvxZiG0ks1dbCXR/i54ZNPj8y+xlrVvgdtrx8
lswoyG0Dzeci8O/1KlmLSZOQ2IikUTMSVFZaPEc6dovooYANtxuM4WFI935cM1bE
Fzgg2DGikoD8C1KhjPOu
=TrCM
-----END PGP SIGNATURE-----
--- End Message ---