Modify

Opened 15 years ago

Closed 15 years ago

#5545 closed defect (fixed)

Validator crashes when attempting to upload new/changed relation

Reported by: skela Owned by: skela
Priority: normal Milestone:
Component: Core validator Version: tested
Keywords: crash upload relation Cc:

Description

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)

Attachments (0)

Change History (3)

comment:1 by stoecker, 15 years ago

Owner: changed from team to skela
Status: newneedinfo

Please update and retry.

in reply to:  1 comment:2 by skela, 15 years ago

Replying to stoecker:

Please update and retry.

Thanks, I could repeat it before updating, and cannot repeat after updating the Validator plugin.

comment:3 by skela, 15 years ago

Resolution: fixed
Status: needinfoclosed

Fixed in [o23192]

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain skela.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.