﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
5545	Validator crashes when attempting to upload new/changed relation	skela	skela	"What steps will reproduce the problem?
 1. download http://www.openstreetmap.org/?lat=60.1601896&lon=24.9361113&zoom=17
 2. edit something, e.g., move a multipolygon relation member to a new multipolygon relation as in http://www.openstreetmap.org/browse/changeset/6019567
 3. attempt to upload

What is the expected result?

The dialog for uploading changes appears.

What happens instead?

Validator crashes.

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

I have seen this happen several times in the past few weeks in Finland. The problem persists after restarting JOSM and trying to upload the saved changes. Only disabling the validator plugin helps.

{{{
Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2010-10-06 01:31:17
Last Changed Author: bastiK
Revision: 3592
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2010-10-05 20:34:31 +0200 (Tue, 05 Oct 2010)
Last Changed Rev: 3592

Identification: JOSM/1.5 (3592 fi)
Memory Usage: 40 MB / 483 MB (6 MB allocated, but free)
Java version: 1.6.0_21, Sun Microsystems Inc., Java HotSpot(TM) Client VM
Operating system: Linux
Dataset consistency test: No problems found

Plugin: dataimport (22542)
Plugin: openvisible (21706)
Plugin: osmarender (22765)
Plugin: validator (22805)
Plugin: wayselector (19676)
Plugin: wmsplugin (22964)

java.lang.NoSuchFieldError: types
	at org.openstreetmap.josm.plugins.validator.tests.RelationChecker.visit(RelationChecker.java:180)
	at org.openstreetmap.josm.data.osm.Relation.visit(Relation.java:141)
	at org.openstreetmap.josm.plugins.validator.Test.visit(Test.java:144)
	at org.openstreetmap.josm.plugins.validator.ValidateUploadHook.checkUpload(ValidateUploadHook.java:61)
	at org.openstreetmap.josm.actions.UploadAction.checkPreUploadConditions(UploadAction.java:137)
	at org.openstreetmap.josm.actions.UploadAction.uploadData(UploadAction.java:159)
	at org.openstreetmap.josm.actions.UploadAction.actionPerformed(UploadAction.java:192)
	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
	at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
	at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
	at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
	at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
	at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
	at java.awt.Component.processMouseEvent(Component.java:6267)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
	at java.awt.Component.processEvent(Component.java:6032)
	at java.awt.Container.processEvent(Container.java:2041)
	at java.awt.Component.dispatchEventImpl(Component.java:4630)
	at java.awt.Container.dispatchEventImpl(Container.java:2099)
	at java.awt.Component.dispatchEvent(Component.java:4460)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
	at java.awt.Container.dispatchEventImpl(Container.java:2085)
	at java.awt.Window.dispatchEventImpl(Window.java:2478)
	at java.awt.Component.dispatchEvent(Component.java:4460)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

}}}"	defect	closed	normal		Core validator	tested	fixed	crash upload relation	
