#21989 closed defect (othersoftware)

Relation editor won't open. Manually moved things to XDG, but things seemed to be working fine. Also get exceptions when deleting layers.

Reported by: anonymous Owned by: anonymous
Priority: normal Milestone:
Component: Core Version:
Keywords: template_report Cc:


What steps will reproduce the problem?

  1. Open JOSM.
  2. Open local data and try to edit a relation. Or try to download data.
  3. It's probably a corrupted profile?

What is the expected result?

No crashy

What happens instead?

crashy crashy

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

Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2022-03-06 10:38:55 +0100 (Sun, 06 Mar 2022)
Build-Date:2022-03-07 02:31:09

Identification: JOSM/1.5 (18387 en) Linux Arch Linux
Memory Usage: 538 MB / 3072 MB (160 MB allocated, but free)
Java version: 17.0.1+12-LTS-39, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Look and Feel: javax.swing.plaf.metal.MetalLookAndFeel
Screen: :0.0 1920×1080 (scaling 1.00×1.00)
Maximum Screen Size: 1920×1080
Best cursor sizes: 16×16→16×16, 32×32→32×32
Environment variable LANG: en_US.UTF-8
System property file.encoding: UTF-8
System property sun.jnu.encoding: UTF-8
Locale info: en_US
Numbers with default locale: 1234567890 -> 1234567890
Desktop environment: XFCE
Dataset consistency test: No problems found

+ OpeningHoursEditor (35893)
+ apache-commons (35893)
+ apache-http (35893)
+ buildings_tools (35929)
+ ejml (35893)
+ geotools (35906)
+ jaxb (35893)
+ jna (35893)
+ jts (35893)
+ measurement (35893)
+ opendata (35910)
+ pbf (35893)
+ poly (35893)
+ reverter (35893)
+ tagging-preset-tester (35893)
+ todo (30306)
+ turnrestrictions (35893)
+ undelete (35893)
+ utilsplugin2 (35893)
+ wikipedia (605)

Tagging presets:
+ ${HOME}/josm/my.presets.xml

Map paint styles:
+ ${HOME}/josm/Style.BuildingYes.mapcss

Validator rules:
+ ${HOME}/josm/my.validator.mapcss
+ ${HOME}/josm/USHighway.validator.mapcss
+ ${HOME}/josm/Unlikely.validator.mapcss
- ${HOME}/josm/RI.validator.mapcss
+ ${HOME}/josm/USAddress.validator.mapcss
+ ${HOME}/josm/cleanMichigan.validator.mapcss

Last errors/warnings:
- 00006.823 E: Failed to locate image 'tiger.png'
- 00006.824 W: Mappaint style "standard" (My Map styles) icon "tiger.png" not found.
- 00008.373 E: org.xml.sax.SAXException: Reference name_operator is being used before it was defined
- 00008.374 E: ${HOME}/josm/my.presets.xml
- 00069.621 E: Handled by bug report queue: java.lang.IllegalAccessError: class (in unnamed module @0x2274160) cannot access class (in module java.base) because module java.base does not export to unnamed module @0x2274160
- 00559.002 E: Handled by bug report queue: java.lang.NoClassDefFoundError: Could not initialize class

No data collected.

Warning issued by: BugReportExceptionHandler#handleException

Thread: AWT-EventQueue-0 (21) of main
java.lang.NoClassDefFoundError: Could not initialize class
	at java.desktop/javax.imageio.spi.ImageWriterSpi.createWriterInstance(
	at java.desktop/javax.imageio.ImageIO$
	at java.desktop/javax.imageio.ImageIO$
	at java.desktop/sun.awt.X11.XDataTransferer.getPlatformMappingsForFlavor(
	at java.desktop/sun.awt.datatransfer.DesktopDatatransferServiceImpl.getPlatformMappingsForFlavor(
	at java.datatransfer/java.awt.datatransfer.SystemFlavorMap.flavorToNativeLookup(
	at java.datatransfer/java.awt.datatransfer.SystemFlavorMap.getNativesForFlavor(
	at java.desktop/sun.awt.datatransfer.DataTransferer.getFlavorsForFormats(
	at java.desktop/sun.awt.datatransfer.ClipboardTransferable.<init>(
	at java.desktop/sun.awt.X11.XClipboard.getContents(
	at org.openstreetmap.josm.gui.datatransfer.ClipboardUtils.getClipboardContent(
	at org.openstreetmap.josm.gui.datatransfer.ClipboardUtils.getClipboardContent(
	at org.openstreetmap.josm.gui.dialogs.relation.actions.PasteMembersAction.getSupport(
	at org.openstreetmap.josm.gui.dialogs.relation.actions.PasteMembersAction.updateEnabledState(
	at org.openstreetmap.josm.gui.dialogs.relation.actions.PasteMembersAction.<init>(
	at org.openstreetmap.josm.gui.dialogs.relation.GenericRelationEditor$3.<init>(
	at org.openstreetmap.josm.gui.dialogs.relation.GenericRelationEditor.<init>(
	at org.openstreetmap.josm.gui.dialogs.relation.RelationEditor.getEditor(
	at java.desktop/java.awt.AWTEventMulticaster.mouseClicked(
	at java.desktop/java.awt.Component.processMouseEvent(
	at java.desktop/javax.swing.JComponent.processMouseEvent(
	at java.desktop/java.awt.Component.processEvent(
	at java.desktop/java.awt.Container.processEvent(
	at java.desktop/java.awt.Component.dispatchEventImpl(
	at java.desktop/java.awt.Container.dispatchEventImpl(
	at java.desktop/java.awt.Component.dispatchEvent(
	at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(
	at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(
	at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(
	at java.desktop/java.awt.Container.dispatchEventImpl(
	at java.desktop/java.awt.Window.dispatchEventImpl(
	at java.desktop/java.awt.Component.dispatchEvent(
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(
	at java.desktop/java.awt.EventQueue$
	at java.desktop/java.awt.EventQueue$
	at java.base/
	at java.base/$JavaSecurityAccessImpl.doIntersectionPrivilege(
	at java.base/$JavaSecurityAccessImpl.doIntersectionPrivilege(
	at java.desktop/java.awt.EventQueue$
	at java.desktop/java.awt.EventQueue$
	at java.base/
	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 (5)

comment:1 Changed 20 months ago by GerdP

Looks like a duplicate of #21059

comment:2 Changed 20 months ago by skyper

Again missing exports? Does GerdP's comment 2 on #21540 help?

comment:3 Changed 20 months ago by skyper

Owner: changed from team to anonymous
Status: newneedinfo

comment:4 Changed 20 months ago by taylor.smock

Identification: JOSM/1.5 (18387 en) Linux Arch Linux

I think this is probably an Arch packaging problem. They really ought to either use source:trunk/native/linux/tested/usr/bin/josm or provide a patch so that it will work on Arch. The only problem with that is our script is Debian specific.

comment:5 Changed 20 months ago by taylor.smock

Resolution: othersoftware
Status: needinfoclosed

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain anonymous.
as The resolution will be set.
The resolution will be deleted.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.