Modify

Opened 14 years ago

Closed 14 years ago

#5131 closed defect (worksforme)

The validator call before uploading a data set fails...

Reported by: JND Owned by: team
Priority: blocker Milestone:
Component: Core validator Version: latest
Keywords: upload validare Cc:

Description

What steps will reproduce the problem?

  1. Do some edits
  2. validate & correct errors
  3. upload fails with the message that there was an error in the validator plug_in

Saving the dataset restarting josm and uploading directly produces the same error.

What is the expected result?

What happens instead?

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

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2010-06-11 01:31:34
Last Changed Author: stoecker
Revision: 3329
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2010-06-10 09:53:42 +0200 (Thu, 10 Jun 2010)
Last Changed Rev: 3329

Identification: JOSM/1.5 (3329 de)
Memory Usage: 61 MB / 989 MB (36 MB allocated, but free)
Java version: 1.6.0_20, Sun Microsystems Inc., Java HotSpot(TM) Client VM
Operating system: Windows XP
Dataset consistency test: No problems found

Plugin: DirectUpload (20881)
Plugin: ElevationProfile (288)
Plugin: PicLayer (20217)
Plugin: alignways (21613)
Plugin: buildings_tools (21236)
Plugin: colorscheme (21563)
Plugin: editgpx (21582)
Plugin: measurement (21307)
Plugin: multipoly (19456)
Plugin: openvisible (20067)
Plugin: remotecontrol (21433)
Plugin: validator (21540)
Plugin: walkingpapers (19487)
Plugin: waydownloader (19489)
Plugin: wmsplugin (21401)

java.lang.NoSuchMethodError: org.openstreetmap.josm.data.osm.DataSet.getErrors(Lorg/openstreetmap/josm/data/osm/OsmPrimitive;)Ljava/util/List;
	at org.openstreetmap.josm.plugins.validator.tests.TagChecker.checkPrimitive(TagChecker.java:470)
	at org.openstreetmap.josm.plugins.validator.tests.TagChecker.visit(TagChecker.java:377)
	at org.openstreetmap.josm.data.osm.Node.visit(Node.java:113)
	at org.openstreetmap.josm.plugins.validator.Test.visit(Test.java:144)
	at org.openstreetmap.josm.plugins.validator.tests.TagChecker.visit(TagChecker.java:639)
	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(Unknown Source)
	at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
	at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
	at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
	at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
	at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
	at java.awt.Component.processMouseEvent(Unknown Source)
	at javax.swing.JComponent.processMouseEvent(Unknown Source)
	at java.awt.Component.processEvent(Unknown Source)
	at java.awt.Container.processEvent(Unknown Source)
	at java.awt.Component.dispatchEventImpl(Unknown Source)
	at java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.awt.Component.dispatchEvent(Unknown Source)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
	at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
	at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
	at java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.awt.Window.dispatchEventImpl(Unknown Source)
	at java.awt.Component.dispatchEvent(Unknown Source)
	at java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.run(Unknown Source)

Attachments (0)

Change History (1)

comment:1 by stoecker, 14 years ago

Resolution: worksforme
Status: newclosed

Somehow you skipped the mandatory plugin-update process when installing new version. You need to update validator.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
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.