﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
18578	issue on the mapwithai	dilan.celik@…	taylor.smock	"==== What steps will reproduce the problem?
1. 
2. 
3. 

==== What is the expected result?

==== What happens instead?

==== Please provide any additional information below. Attach a screenshot if possible.

{{{
Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2020-01-02 22:34:59 +0100 (Thu, 02 Jan 2020)
Revision:15628
Build-Date:2020-01-02 21:52:31
URL:https://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (15628 en) Linux Mint 19.1 Tessa
Memory Usage: 728 MB / 966 MB (198 MB allocated, but free)
Java version: 11.0.5+10-post-Ubuntu-0ubuntu1.118.04, Private Build, OpenJDK 64-Bit Server VM
Screen: :0.0 1366x768
Maximum Screen Size: 1366x768
Java package: openjdk-11-jre:amd64-11.0.5+10-0ubuntu1.1~18.04
fonts-noto: fonts-noto:all-20171026-2
VM arguments: [-Djosm.restart=true, -Djava.net.useSystemProxies=true]
Dataset consistency test: No problems found

Plugins:
+ AddrInterpolation (35248)
+ BuildingGeneralization (23)
+ Mapillary (1.5.20)
+ OpenStreetCam (280)
+ OpeningHoursEditor (35250)
+ ShapeTools (1240)
+ SimplifyArea (35248)
+ alignways (35248)
+ apache-commons (35092)
+ apache-http (35092)
+ austriaaddresshelper (57)
+ auto_tools (73)
+ buildings_tools (35248)
+ changeset-viewer (22)
+ ejml (35122)
+ fieldpapers (v0.5.0)
+ imagery_offset_db (35248)
+ importvec (35248)
+ intersection (0.0.7)
+ jna (35092)
+ log4j (35092)
+ mapathoner (0.10.3)
+ mapwithai (1.1.5)
+ reverter (35248)
+ splinex (35248)
+ todo (30306)
+ utilsplugin2 (35248)

Map paint styles:
- https://josm.openstreetmap.de/josmfile?page=Styles/MapWithAI&zip=1
+ ${HOME}/Downloads/Kaart-Styles-master(1).zip

Last errors/warnings:
- W: Failed to scan file 'Mapillary.jar.new' for plugin information. Skipping.
- W: Failed to install plugin '<josm.userdata>/plugins/Mapillary.jar' from temporary download file '<josm.userdata>/plugins/Mapillary.jar.new'. zip file is empty: java.util.zip.ZipException: zip file is empty
- W: No configuration settings found.  Using hardcoded default values for all pools.
- E: Handled by bug report queue: java.lang.IllegalArgumentException: Cannot add a layer twice: MapWithAILayer [name=MapWithAI, associatedFile=null]
- E: Handled by bug report queue: java.lang.IllegalArgumentException: Cannot add a layer twice: MapWithAILayer [name=MapWithAI, associatedFile=null]
- W: Warning - <html>JOSM could not find information about the following plugins:<ul><li>apache-commons</li><li>SimplifyArea</li><li>ShapeTools</li><li>alignways</li><li>OpenStreetCam</li><li>utilsplugin2</li><li>mapathoner</li><li>intersection</li><li>AddrInterpolation</li><li>jna</li><li>importvec</li><li>log4j</li><li>BuildingGeneralization</li><li>auto_tools</li><li>imagery_offset_db</li><li>Mapillary</li><li>splinex</li><li>changeset-viewer</li><li>ejml</li><li>reverter</li><li>todo</li><li>fieldpapers</li><li>mapwithai</li><li>OpeningHoursEditor</li><li>buildings_tools</li><li>austriaaddresshelper</li><li>apache-http</li></ul>The plugins are not going to be loaded.</html>
- W: java.util.zip.ZipException: zip file is empty
- W: PluginException: : org.openstreetmap.josm.plugins.PluginException: Invalid jar file '<josm.userdata>/plugins/Mapillary.jar.new'
- W: Failed to scan file 'Mapillary.jar.new' for plugin information. Skipping.
- E: Handled by bug report queue: java.lang.IllegalArgumentException: Cannot add a layer twice: MapWithAILayer [name=MapWithAI, associatedFile=null]


=== REPORTED CRASH DATA ===
BugReportExceptionHandler#handleException:
No data collected.

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: AWT-EventQueue-0 (18) of main
java.lang.IllegalArgumentException: Cannot add a layer twice: MapWithAILayer [name=MapWithAI, associatedFile=null]
	at org.openstreetmap.josm.gui.layer.LayerManager.realAddLayer(LayerManager.java:227)
	at org.openstreetmap.josm.gui.layer.MainLayerManager.realAddLayer(MainLayerManager.java:284)
	at org.openstreetmap.josm.gui.layer.LayerManager.lambda$addLayer$0(LayerManager.java:217)
	at org.openstreetmap.josm.gui.util.GuiHelper.runInEDTAndWaitWithException(GuiHelper.java:239)
	at org.openstreetmap.josm.gui.layer.LayerManager.addLayer(LayerManager.java:217)
	at org.openstreetmap.josm.gui.layer.LayerManager.addLayer(LayerManager.java:206)
	at org.openstreetmap.josm.plugins.mapwithai.backend.MapWithAIDataUtils.getLayer(MapWithAIDataUtils.java:313)
	at org.openstreetmap.josm.plugins.mapwithai.backend.MapWithAIAction.actionPerformed(MapWithAIAction.java:49)
	at java.desktop/javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1810)
	at java.desktop/javax.swing.JComponent.processKeyBinding(JComponent.java:2900)
	at java.desktop/javax.swing.KeyboardManager.fireBinding(KeyboardManager.java:311)
	at java.desktop/javax.swing.KeyboardManager.fireKeyboardAction(KeyboardManager.java:266)
	at java.desktop/javax.swing.JComponent.processKeyBindingsForAllComponents(JComponent.java:2993)
	at java.desktop/javax.swing.JComponent.processKeyBindings(JComponent.java:2985)
	at java.desktop/javax.swing.JComponent.processKeyEvent(JComponent.java:2862)
	at java.desktop/java.awt.Component.processEvent(Component.java:6409)
	at java.desktop/java.awt.Container.processEvent(Container.java:2263)
	at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5008)
	at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
	at java.desktop/java.awt.Component.dispatchEvent(Component.java:4840)
	at java.desktop/java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1950)
	at java.desktop/java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:870)
	at java.desktop/java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1139)
	at java.desktop/java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:1009)
	at java.desktop/java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:835)
	at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:4889)
	at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
	at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2772)
	at java.desktop/java.awt.Component.dispatchEvent(Component.java:4840)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95)
	at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745)
	at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:743)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
	at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
	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	closed	normal		Plugin mapwithai		fixed	template_report	
