﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
4979	Exception when opening the download window	andre68@…	team	"What steps will reproduce the problem?
 1. Click on download button or select ""download from server"" from menu.
 2. 
 3. 

What is the expected result?
It should open the download window.

What happens instead?
Nothing. Immediate exception.

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

Falling back to version 3213 works.


{{{
Build-Date: 2010-05-03 07:11:05
Revision: 3214
Is-Local-Build: true

Memory Usage: 22 MB / 508 MB (8 MB allocated, but free)
Java version: 1.6.0_18, Sun Microsystems Inc., OpenJDK Client VM
Operating system: Linux


Plugins: editgpx,measurement,multipoly,openstreetbugs,osmarender,photo_geotagging,remotecontrol,slippymap,turnrestrictions,validator,waydownloader,wmsplugin
Plugin openstreetbugs (Version: 20696)
Plugin wmsplugin (Version: 20891)
Plugin editgpx (Version: 19683)
Plugin remotecontrol (Version: 19946)
Plugin validator (Version: 20799)
Plugin slippymap (Version: 19887)
Plugin waydownloader (Version: 19489)
Plugin osmarender (Version: 19419)
Plugin photo_geotagging (Version: 19873)
Plugin turnrestrictions (Version: 21010)
Plugin multipoly (Version: 19456)
Plugin measurement (Version: 19681)

java.lang.ClassCastException: org.openstreetmap.josm.gui.tagging.ac.AutoCompletionListItem cannot be cast to java.lang.String
	at org.openstreetmap.josm.gui.widgets.ComboBoxHistory.addElement(ComboBoxHistory.java:52)
	at org.openstreetmap.josm.gui.tagging.ac.AutoCompletingComboBox.setPossibleItems(AutoCompletingComboBox.java:190)
	at org.openstreetmap.josm.gui.download.PlaceSelection.buildSearchPanel(PlaceSelection.java:115)
	at org.openstreetmap.josm.gui.download.PlaceSelection.addGui(PlaceSelection.java:137)
	at org.openstreetmap.josm.gui.download.DownloadDialog.buildMainPanel(DownloadDialog.java:119)
	at org.openstreetmap.josm.gui.download.DownloadDialog.<init>(DownloadDialog.java:181)
	at org.openstreetmap.josm.gui.download.DownloadDialog.getInstance(DownloadDialog.java:66)
	at org.openstreetmap.josm.actions.DownloadAction.actionPerformed(DownloadAction.java:39)
	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2012)
	at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2335)
	at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:404)
	at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
	at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:253)
	at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289)
	at java.awt.Component.processMouseEvent(Component.java:6108)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
	at java.awt.Component.processEvent(Component.java:5873)
	at java.awt.Container.processEvent(Container.java:2105)
	at java.awt.Component.dispatchEventImpl(Component.java:4469)
	at java.awt.Container.dispatchEventImpl(Container.java:2163)
	at java.awt.Component.dispatchEvent(Component.java:4295)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4461)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4125)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4055)
	at java.awt.Container.dispatchEventImpl(Container.java:2149)
	at java.awt.Window.dispatchEventImpl(Window.java:2478)
	at java.awt.Component.dispatchEvent(Component.java:4295)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:604)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)

}}}
"	defect	closed	blocker		Core	latest	fixed	template_report	
