﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
6592	[Patch] IllegalArgumentException when viewing history of incomplete relation members	Don-vip	team	"What steps will reproduce the problem?
 1. Select members of an incomplete relation
 2. Click on ""Show"" button of History view

What is the expected result? Don't know. Is it relevant to enable history of a member not downloaded ?

What happens instead? An ugly error popup window ;)

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

{{{
Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2011-07-13 01:31:30
Last Changed Author: jttt
Revision: 4229
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2011-07-12 20:47:58 +0200 (Tue, 12 Jul 2011)
Last Changed Rev: 4229

Identification: JOSM/1.5 (4229 fr)
Memory Usage: 201 MB / 3729 MB (48 MB allocated, but free)
Java version: 1.6.0_26, Sun Microsystems Inc., Java HotSpot(TM) 64-Bit Server VM
Operating system: Windows 7
Dataset consistency test: No problems found

Plugin: OpeningHoursEditor (26284)
Plugin: RoadSigns (26174)
Plugin: cadastre-fr (26284)
Plugin: epci-fr (26282)
Plugin: openstreetbugs (26299)
Plugin: photo_geotagging (26174)
Plugin: proj4j (26174)
Plugin: public_transport (26284)
Plugin: restart (26254)

java.lang.IllegalArgumentException: Parameter 'version' > 0 expected. Got '0'.
	at org.openstreetmap.josm.data.osm.history.HistoryOsmPrimitive.ensurePositiveLong(HistoryOsmPrimitive.java:36)
	at org.openstreetmap.josm.data.osm.history.HistoryOsmPrimitive.<init>(HistoryOsmPrimitive.java:54)
	at org.openstreetmap.josm.data.osm.history.HistoryNode.<init>(HistoryNode.java:20)
	at org.openstreetmap.josm.gui.history.HistoryBrowserModel$HistoryPrimitiveBuilder.visit(HistoryBrowserModel.java:880)
	at org.openstreetmap.josm.data.osm.Node.visit(Node.java:185)
	at org.openstreetmap.josm.gui.history.HistoryBrowserModel$HistoryPrimitiveBuilder.build(HistoryBrowserModel.java:902)
	at org.openstreetmap.josm.gui.history.HistoryBrowserModel.setHistory(HistoryBrowserModel.java:175)
	at org.openstreetmap.josm.gui.history.HistoryBrowser.populate(HistoryBrowser.java:127)
	at org.openstreetmap.josm.gui.history.HistoryBrowserDialog.setHistory(HistoryBrowserDialog.java:107)
	at org.openstreetmap.josm.gui.history.HistoryBrowserDialog.<init>(HistoryBrowserDialog.java:96)
	at org.openstreetmap.josm.gui.history.HistoryBrowserDialogManager.show(HistoryBrowserDialogManager.java:107)
	at org.openstreetmap.josm.gui.dialogs.HistoryDialog$ShowHistoryAction$1.run(HistoryDialog.java:365)
	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
	at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
	at java.util.concurrent.FutureTask.run(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
}}}
"	defect	closed	normal		Core		fixed	template_report	
