Modify

Opened 7 years ago

Closed 7 years ago

#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(OsmDataLayer.java:1068)
        at org.openstreetmap.josm.gui.layer.OsmDataLayer.destroy(OsmDataLayer.java:1061)
        at org.openstreetmap.josm.gui.MapView.layerRemoving(MapView.java:404)
        at org.openstreetmap.josm.gui.layer.LayerManager.fireLayerRemoving(LayerManager.java:475)
        at org.openstreetmap.josm.gui.layer.LayerManager.realRemoveSingleLayer(LayerManager.java:277)
        at org.openstreetmap.josm.gui.layer.MainLayerManager.realRemoveSingleLayer(MainLayerManager.java:305)
        at org.openstreetmap.josm.gui.layer.LayerManager.realRemoveLayer(LayerManager.java:265)
        at org.openstreetmap.josm.gui.layer.LayerManager.lambda$removeLayer$1(LayerManager.java:247)
        at org.openstreetmap.josm.gui.util.GuiHelper.runInEDTAndWaitWithException(GuiHelper.java:238)
        at org.openstreetmap.josm.gui.layer.LayerManager.removeLayer(LayerManager.java:247)
        at org.openstreetmap.josm.gui.dialogs.layer.DeleteLayerAction.actionPerformed(DeleteLayerAction.java:52)
...
        at java.awt.EventDispatchThread.run(Unknown 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
Revision:14502
Is-Local-Build:true

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

Plugins:
+ 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:
- https://josm.openstreetmap.de/josmfile?page=Styles/Lane_and_Road_Attributes&zip=1

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 7 years ago.

Download all attachments as: .zip

Change History (4)

by GerdP, 7 years ago

Attachment: 17065.log added

comment:1 by Don-vip, 7 years ago

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

comment:2 by Don-vip, 7 years ago

Description: modified (diff)

comment:3 by Don-vip, 7 years ago

Resolution: fixed
Status: assignedclosed

In 14504/josm:

fix #17065 - spurious UnsupportedFlavorException displayed in console

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Don-vip.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.