#17065 closed defect (fixed)

UnsupportedFlavorException: Layer

Reported by: GerdP Owned by: Don-vip
Priority: normal Milestone: 18.12
Component: Core Version:
Keywords: template_report regression clipboard Cc:

Description (last modified by Don-vip)

What steps will reproduce the problem?

  1. Start JOSM
  2. Ctrl+N
  3. Close Data Layer without any further action

What is the expected result?

no dump

What happens instead?

console shows UnsupportedFlavorException: Layer

2018-12-03 19:33:15.844 SEVERE: java.awt.datatransfer.UnsupportedFlavorException: Layer
java.awt.datatransfer.UnsupportedFlavorException: Layer
        at sun.awt.datatransfer.ClipboardTransferable.getTransferData(Unknown Source)
        at org.openstreetmap.josm.gui.layer.OsmDataLayer.removeClipboardDataFor(
        at org.openstreetmap.josm.gui.layer.OsmDataLayer.destroy(
        at org.openstreetmap.josm.gui.MapView.layerRemoving(
        at org.openstreetmap.josm.gui.layer.LayerManager.fireLayerRemoving(
        at org.openstreetmap.josm.gui.layer.LayerManager.realRemoveSingleLayer(
        at org.openstreetmap.josm.gui.layer.MainLayerManager.realRemoveSingleLayer(
        at org.openstreetmap.josm.gui.layer.LayerManager.realRemoveLayer(
        at org.openstreetmap.josm.gui.layer.LayerManager.lambda$removeLayer$1(
        at org.openstreetmap.josm.gui.util.GuiHelper.runInEDTAndWaitWithException(
        at org.openstreetmap.josm.gui.layer.LayerManager.removeLayer(
        at org.openstreetmap.josm.gui.dialogs.layer.DeleteLayerAction.actionPerformed(
        at Source)

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

Probably related to #17040 and r14500

Build-Date:2018-12-03 19:30:52

Identification: JOSM/1.5 (14502 SVN en) Windows 10 64-Bit
OS Build number: Windows 10 Home 1803 (17134)
Memory Usage: 772 MB / 1820 MB (501 MB allocated, but free)
Java version: 1.8.0_191-b12, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Screen: \Display0 1920x1080
Maximum Screen Size: 1920x1080

+ FastDraw (34510)
+ apache-commons (34506)
+ buildings_tools (34724)
+ download_along (34503)
+ editgpx (34751)
+ ejml (34389)
+ geotools (34513)
+ gpxfilter (34506)
+ jaxb (34506)
+ jts (34524)
+ measurement (34529)
+ o5m (34405)
+ opendata (34698)
+ pbf (34576)
+ poly (34546)
+ reltoolbox (34614)
+ reverter (34552)
+ utilsplugin2 (34506)

Map paint styles:

Last errors/warnings:
- W: No configuration settings found.  Using hardcoded default values for all pools.
- E: java.awt.datatransfer.UnsupportedFlavorException: Layer

Attachments (1)

17065.log (6.9 KB) - added by GerdP 21 months ago.

Download all attachments as: .zip

Change History (4)

Changed 21 months ago by GerdP

Attachment: 17065.log added

comment:1 Changed 21 months ago by Don-vip

Keywords: regression clipboard added
Milestone: 18.12
Owner: changed from team to Don-vip
Status: newassigned

comment:2 Changed 21 months ago by Don-vip

Description: modified (diff)

comment:3 Changed 21 months ago by Don-vip

Resolution: fixed
Status: assignedclosed

In 14504/josm:

fix #17065 - spurious UnsupportedFlavorException displayed in console

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Don-vip.
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.