Modify

Opened 17 years ago

Closed 16 years ago

#1646 closed defect (fixed)

Exception resolving duplicate notes

Reported by: User:Val Owned by: framm
Priority: minor Milestone:
Component: unspecified Version: latest
Keywords: Cc:

Description

While attempting to resolve errors with "duplicate nodes", received an exception when clicked on "Fix". The following text was given:

Path: trunk
URL: http://josm.openstreetmap.de/svn/trunk
Repository Root: http://josm.openstreetmap.de/svn
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Revision: 928
Node Kind: directory
Last Changed Author: ulfl
Last Changed Rev: 928
Last Changed Date: 2008-09-04 23:34:51 +0200 (Thu, 04 Sep 2008)

java.lang.NoSuchMethodError: org.openstreetmap.josm.command.DeleteCommand.delete(Ljava/util/Collection;)Lorg/openstreetmap/josm/command/Command;

at org.openstreetmap.josm.plugins.validator.tests.DuplicateNode.fixError(DuplicateNode.java:140)
at org.openstreetmap.josm.plugins.validator.TestError.getFix(TestError.java:225)
at org.openstreetmap.josm.plugins.validator.ValidatorDialog.fixErrors(ValidatorDialog.java:149)
at org.openstreetmap.josm.plugins.validator.ValidatorDialog.actionPerformed(ValidatorDialog.java:302)
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:6038)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
at java.awt.Component.processEvent(Component.java:5803)
at java.awt.Container.processEvent(Container.java:2058)
at java.awt.Component.dispatchEventImpl(Component.java:4410)
at java.awt.Container.dispatchEventImpl(Container.java:2116)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
at java.awt.Container.dispatchEventImpl(Container.java:2102)
at java.awt.Window.dispatchEventImpl(Window.java:2429)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)

No, I don't know how to get the data to attach to this ticket.

Attachments (3)

Validator1.png (18.7 KB ) - added by anonymous 17 years ago.
Validator2.png (22.8 KB ) - added by anonymous 17 years ago.
Validator3.png (17.9 KB ) - added by anonymous 17 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 by anonymous, 17 years ago

i can confirm this matter,

pushing the check-button of validator; mark the error-group (which includes two errors of double-notes) and choose Fix-button;
Dialog opens with info that points are outside of loaded area; i choose NO button to break deleting;
new dialog opens with notice that a possible error may caused by validator and asked if it should deactivated - choose NO button;
new dialog opens with dump information (see below)

notice: last window dialog text with dump info in german shows swap-letters; should wrote "... seien Sie bitte..." instead of "SEINE Sie bitte"

Path: trunk
URL: http://josm.openstreetmap.de/svn/trunk
Repository Root: http://josm.openstreetmap.de/svn
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Revision: 1037
Node Kind: directory
Last Changed Author: framm
Last Changed Rev: 1037
Last Changed Date: 2008-10-12 01:12:31 +0200 (Sun, 12 Oct 2008)

java.lang.NullPointerException

at org.openstreetmap.josm.command.SequenceCommand.executeCommand(SequenceCommand.java:51)
at org.openstreetmap.josm.data.UndoRedoHandler.add(UndoRedoHandler.java:38)
at org.openstreetmap.josm.plugins.validator.ValidatorDialog.fixErrors(ValidatorDialog.java:151)
at org.openstreetmap.josm.plugins.validator.ValidatorDialog.actionPerformed(ValidatorDialog.java:302)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2012)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2335)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:404)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:253)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289)
at java.awt.Component.processMouseEvent(Component.java:6106)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3276)
at java.awt.Component.processEvent(Component.java:5871)
at java.awt.Container.processEvent(Container.java:2105)
at java.awt.Component.dispatchEventImpl(Component.java:4467)
at java.awt.Container.dispatchEventImpl(Container.java:2163)
at java.awt.Component.dispatchEvent(Component.java:4293)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4461)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4125)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4055)
at java.awt.Container.dispatchEventImpl(Container.java:2149)
at java.awt.Window.dispatchEventImpl(Window.java:2478)
at java.awt.Component.dispatchEvent(Component.java:4293)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:604)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)

by anonymous, 17 years ago

Attachment: Validator1.png added

by anonymous, 17 years ago

Attachment: Validator2.png added

by anonymous, 17 years ago

Attachment: Validator3.png added

comment:2 by anonymous, 17 years ago

alteration: swap-letters are not in dump dialog window as mentioned; is it the error-notice-window message before the described window; see validator3.png file!

comment:3 by stoecker, 16 years ago

Resolution: fixed
Status: newclosed

This should solved by updating JOSM and validator plugin to a recent version. The message indicates that the version of JOSM and plugin are incompatible.

Modify Ticket

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