﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
5076	Exception for object download	stoecker	team	"What steps will reproduce the problem?
 1. Try to download primitive
 2. Don't enter anything in the number field

What is the expected result?

A warning.

What happens instead?

An exception

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

{{{
Build-Date: 2010-05-28 20:21:59
Revision: 3274
Is-Local-Build: true

Memory Usage: 102 MB / 986 MB (52 MB allocated, but free)
Java version: 1.6.0_17, Sun Microsystems Inc., OpenJDK Server VM
Operating system: Linux

Dataset consistency test:
No problems found


Plugins: PicLayer,editgpx,lakewalker,livegps,measurement,openstreetbugs,osmarender,remotecontrol,surveyor,tagging-preset-tester,validator,wmsplugin
Plugin openstreetbugs (Version: 20696)
Plugin wmsplugin (Version: 21235)
Plugin editgpx (Version: 19683)
Plugin PicLayer (Version: 20217)
Plugin remotecontrol (Version: 19946)
Plugin validator (Version: 21177)
Plugin livegps (Version: 20431)
Plugin lakewalker (Version: 19624)
Plugin osmarender (Version: 21423)
Plugin tagging-preset-tester (Version: 21280)
Plugin measurement (Version: 21307)
Plugin surveyor (Version: 19681)

java.lang.IllegalArgumentException: Expected unique id > 0 for primitive 'id', got 0
	at org.openstreetmap.josm.tools.CheckParameterUtil.ensureValidPrimitiveId(CheckParameterUtil.java:21)
	at org.openstreetmap.josm.io.OsmServerObjectReader.<init>(OsmServerObjectReader.java:60)
	at org.openstreetmap.josm.actions.downloadtasks.DownloadPrimitiveTask.realRun(DownloadPrimitiveTask.java:95)
	at org.openstreetmap.josm.gui.PleaseWaitRunnable.doRealRun(PleaseWaitRunnable.java:83)
	at org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:129)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
	at java.lang.Thread.run(Thread.java:636)

}}}
"	defect	closed	normal		Core		fixed	template_report	
