﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
24833	Error when copy/pasting data from a LibreOffice spreadsheet	tintou	team	"==== What steps will reproduce the problem?
1. Open a libreoffice spreadsheet
2. Copy the data directly
3. Paste it

==== What is the expected result?

I'm getting an exception

==== What happens instead?

It should just paste the data (note that LibreOffice provides several data format for copy/pasting and it seems to pick the png capture here instead of the plain text)

==== Please provide any additional information below. Attach a screenshot if possible.

{{{
Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2026-03-28 20:28:41 +0100 (Sat, 28 Mar 2026)
Revision:19555
Build-Date:2026-03-29 01:30:57
URL:https://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (19555 fr) Linux elementary OS 8
Memory Usage: 464 MB / 23712 MB (115 MB allocated, but free)
Java version: 25.0.3+9-2-24.04.2-Ubuntu, Ubuntu, OpenJDK 64-Bit Server VM
Look and Feel: javax.swing.plaf.metal.MetalLookAndFeel
Screen: :0.0 1920x1200x[Multi depth]@60Hz (scaling 1.00×1.00)
Maximum Screen Size: 1920×1200
Best cursor sizes: 16×16→16×16, 32×32→32×32
Environment variable LANG: fr_FR.UTF-8
System property file.encoding: UTF-8
System property sun.jnu.encoding: UTF-8
Locale info: fr_FR
Numbers with default locale: 1234567890 -> 1234567890
Desktop environment: Pantheon
Java package: openjdk-25-jre:amd64-25.0.3+9-2~24.04.2
fonts-noto: fonts-noto:all-20201225-2
VM arguments: [--module-path=/usr/share/openjfx/lib, --add-modules=java.scripting,java.sql,javafx.controls,javafx.media,javafx.swing,javafx.web, -Djosm.restart=true, -Djava.net.useSystemProxies=true, -XX:MaxRAMPercentage=75.0, --add-exports=java.base/sun.security.action=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.plugins.jpeg=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.spi=ALL-UNNAMED]
Dataset consistency test: No problems found

Plugins:
+ OpeningHoursEditor (36474)
+ PicLayer (273)
+ apache-commons (36474)
+ cadastre-fr (36480)
+ ejml (36474)
+ geotools (36474)
+ jackson (36474)
+ jaxb (36474)
+ jts (36474)
+ pt_assistant (682)

Tagging presets:
+ https://github.com/Jungle-Bus/josm-presets/raw/gh-pages/jungle-stops/Preset_Jungle-Bus.zip

Map paint styles:
+ https://josm.openstreetmap.de/josmfile?page=Styles/PublicTransport&zip=1

Validator rules:
+ https://github.com/Jungle-Bus/transport_mapcss/raw/gh-pages/transport.validator.zip

Last errors/warnings:
- 01015.005 E: java.lang.NoClassDefFoundError: Could not initialize class com.sun.media.imageioimpl.plugins.pnm.PNMImageWriter. Cause : java.lang.ExceptionInInitializerError: Exception java.lang.NoClassDefFoundError: sun/security/action/GetPropertyAction [in thread ""AWT-EventQueue-0""]
- 01015.011 E: java.lang.NoClassDefFoundError: Could not initialize class com.sun.media.imageioimpl.plugins.pnm.PNMImageWriter. Cause : java.lang.ExceptionInInitializerError: Exception java.lang.NoClassDefFoundError: sun/security/action/GetPropertyAction [in thread ""AWT-EventQueue-0""]
- 01015.015 E: java.lang.NoClassDefFoundError: Could not initialize class com.sun.media.imageioimpl.plugins.pnm.PNMImageWriter. Cause : java.lang.ExceptionInInitializerError: Exception java.lang.NoClassDefFoundError: sun/security/action/GetPropertyAction [in thread ""AWT-EventQueue-0""]
- 01015.017 E: java.lang.NoClassDefFoundError: Could not initialize class com.sun.media.imageioimpl.plugins.pnm.PNMImageWriter. Cause : java.lang.ExceptionInInitializerError: Exception java.lang.NoClassDefFoundError: sun/security/action/GetPropertyAction [in thread ""AWT-EventQueue-0""]
- 01015.017 E: java.lang.NoClassDefFoundError: Could not initialize class com.sun.media.imageioimpl.plugins.pnm.PNMImageWriter. Cause : java.lang.ExceptionInInitializerError: Exception java.lang.NoClassDefFoundError: sun/security/action/GetPropertyAction [in thread ""AWT-EventQueue-0""]
- 01015.019 E: java.lang.NoClassDefFoundError: Could not initialize class com.sun.media.imageioimpl.plugins.pnm.PNMImageWriter. Cause : java.lang.ExceptionInInitializerError: Exception java.lang.NoClassDefFoundError: sun/security/action/GetPropertyAction [in thread ""AWT-EventQueue-0""]
- 01015.022 E: java.lang.NoClassDefFoundError: Could not initialize class com.sun.media.imageioimpl.plugins.pnm.PNMImageWriter. Cause : java.lang.ExceptionInInitializerError: Exception java.lang.NoClassDefFoundError: sun/security/action/GetPropertyAction [in thread ""AWT-EventQueue-0""]
- 01015.024 E: java.lang.NoClassDefFoundError: Could not initialize class com.sun.media.imageioimpl.plugins.pnm.PNMImageWriter. Cause : java.lang.ExceptionInInitializerError: Exception java.lang.NoClassDefFoundError: sun/security/action/GetPropertyAction [in thread ""AWT-EventQueue-0""]
- 01015.026 E: java.lang.NoClassDefFoundError: Could not initialize class com.sun.media.imageioimpl.plugins.pnm.PNMImageWriter. Cause : java.lang.ExceptionInInitializerError: Exception java.lang.NoClassDefFoundError: sun/security/action/GetPropertyAction [in thread ""AWT-EventQueue-0""]
- 01015.028 E: Handled by bug report queue: java.lang.NullPointerException: transferable is null



=== REPORTED CRASH DATA ===
BugReportExceptionHandler#handleException:
No data collected.

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: AWT-EventQueue-0 (43) of main
java.lang.NullPointerException: transferable is null
	at java.desktop/javax.swing.TransferHandler$TransferSupport.<init>(TransferHandler.java:251)
	at org.openstreetmap.josm.gui.datatransfer.OsmTransferHandler.pasteOn(OsmTransferHandler.java:74)
	at org.openstreetmap.josm.actions.AbstractPasteAction.doPaste(AbstractPasteAction.java:102)
	at org.openstreetmap.josm.actions.AbstractPasteAction.actionPerformed(AbstractPasteAction.java:98)
	at java.desktop/javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1804)
	at java.desktop/javax.swing.JComponent.processKeyBinding(JComponent.java:2962)
	at java.desktop/javax.swing.KeyboardManager.fireBinding(KeyboardManager.java:309)
	at java.desktop/javax.swing.KeyboardManager.fireKeyboardAction(KeyboardManager.java:264)
	at java.desktop/javax.swing.JComponent.processKeyBindingsForAllComponents(JComponent.java:3055)
	at java.desktop/javax.swing.JComponent.processKeyBindings(JComponent.java:3047)
	at java.desktop/javax.swing.JComponent.processKeyEvent(JComponent.java:2924)
	at java.desktop/java.awt.Component.processEvent(Component.java:6353)
	at java.desktop/java.awt.Container.processEvent(Container.java:2260)
	at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:4958)
	at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2318)
	at java.desktop/java.awt.Component.dispatchEvent(Component.java:4790)
	at java.desktop/java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1829)
	at java.desktop/java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:874)
	at java.desktop/java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1136)
	at java.desktop/java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:1011)
	at java.desktop/java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:839)
	at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:4839)
	at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2318)
	at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2671)
	at java.desktop/java.awt.Component.dispatchEvent(Component.java:4790)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:725)
	at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:702)
	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)
}}}
"	defect	new	normal		Core			template_report	
