Modify

Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#5036 closed defect (duplicate)

duplicate causes error

Reported by: malenki Owned by: team
Priority: critical Milestone:
Component: Core Version: latest
Keywords: Cc:

Description

Happened using josm r3256
Can't reproduce the error exactly.
Two different times as I used ctrl-d Josm gave an error and after that, every action caused an error.

Uploading or saving too. The second time this happened I had now and then saved to a local file - but after the error ocurred and I tried to save again, the files size was 0 byte. (20 km newly created highway lost -.-)

Keystroke is already assigned to org.openstreetmap.josm.actions.mapmode.DeleteAction@1c66091, will be overridden by org.openstreetmap.josm.actions.mapmode.DeleteAction@13d765c
Keystroke is already assigned to org.openstreetmap.josm.actions.PasteAction@174a6e2, will be overridden by org.openstreetmap.josm.actions.PasteAction@2b24e6
org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Complete node with null coordinates: {Way id=-1516 version=0 VT nodes=[{Node id=-1517 version=0 V }, {Node id=-1518 version=0 V }, {Node id=-1519 version=0 V }, {Node id=-1520 version=0 V }, {Node id=-1521 version=0 V }, {Node id=-1522 version=0 V }, {Node id=-1523 version=0 V }, {Node id=-1524 version=0 V }]}Unexpected error. Please report it to http://josm.openstreetmap.de/ticket/3892
{Node id=-1517 version=0 V }
Coor is null
 
        at org.openstreetmap.josm.data.osm.Way.checkNodes(Way.java:379)
        at org.openstreetmap.josm.data.osm.Way.fireNodesChanged(Way.java:386)
        at org.openstreetmap.josm.data.osm.Way.setNodes(Way.java:63)
        at org.openstreetmap.josm.data.osm.Way.load(Way.java:212)
        at org.openstreetmap.josm.command.AddPrimitivesCommand.executeCommand(AddPrimitivesCommand.java:34)
        at org.openstreetmap.josm.data.UndoRedoHandler.addNoRedraw(UndoRedoHandler.java:37)
        at org.openstreetmap.josm.data.UndoRedoHandler.add(UndoRedoHandler.java:59)
        at org.openstreetmap.josm.actions.PasteAction.pasteData(PasteAction.java:145)
        at org.openstreetmap.josm.actions.DuplicateAction.actionPerformed(DuplicateAction.java:26)
        at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1633)
        at javax.swing.JComponent.processKeyBinding(JComponent.java:2851)
        at javax.swing.KeyboardManager.fireBinding(KeyboardManager.java:267)
        at javax.swing.KeyboardManager.fireKeyboardAction(KeyboardManager.java:216)
        at javax.swing.JComponent.processKeyBindingsForAllComponents(JComponent.java:2928)
        at javax.swing.JComponent.processKeyBindings(JComponent.java:2920)
        at javax.swing.JComponent.processKeyEvent(JComponent.java:2814)
        at java.awt.Component.processEvent(Component.java:6040)
        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.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1850)
        at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:712)
        at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:990)
        at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:855)
        at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:676)
        at java.awt.Component.dispatchEventImpl(Component.java:4502)
        at java.awt.Container.dispatchEventImpl(Container.java:2099)
        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)
org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Complete node with null coordinates: {Way id=-1534 version=0 VT nodes=[{Node id=-1535 version=0 V }, {Node id=-1536 version=0 V }, {Node id=-1537 version=0 V }, {Node id=-1538 version=0 V }, {Node id=-1539 version=0 V }, {Node id=-1540 version=0 V }, {Node id=-1541 version=0 V }, {Node id=-1542 version=0 V }]}Unexpected error. Please report it to http://josm.openstreetmap.de/ticket/3892
{Node id=-1535 version=0 V }
Coor is null
 
        at org.openstreetmap.josm.data.osm.Way.checkNodes(Way.java:379)
        at org.openstreetmap.josm.data.osm.Way.fireNodesChanged(Way.java:386)
        at org.openstreetmap.josm.data.osm.Way.setNodes(Way.java:63)
        at org.openstreetmap.josm.data.osm.Way.load(Way.java:212)
        at org.openstreetmap.josm.command.AddPrimitivesCommand.executeCommand(AddPrimitivesCommand.java:34)
        at org.openstreetmap.josm.data.UndoRedoHandler.addNoRedraw(UndoRedoHandler.java:37)
        at org.openstreetmap.josm.data.UndoRedoHandler.add(UndoRedoHandler.java:59)
        at org.openstreetmap.josm.actions.PasteAction.pasteData(PasteAction.java:145)
        at org.openstreetmap.josm.actions.PasteAction.actionPerformed(PasteAction.java:40)
        at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1633)
        at javax.swing.JComponent.processKeyBinding(JComponent.java:2851)
        at javax.swing.KeyboardManager.fireBinding(KeyboardManager.java:267)
        at javax.swing.KeyboardManager.fireKeyboardAction(KeyboardManager.java:216)
        at javax.swing.JComponent.processKeyBindingsForAllComponents(JComponent.java:2928)
        at javax.swing.JComponent.processKeyBindings(JComponent.java:2920)
        at javax.swing.JComponent.processKeyEvent(JComponent.java:2814)
        at java.awt.Component.processEvent(Component.java:6040)
        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.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1850)
        at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:712)
        at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:990)
        at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:855)
        at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:676)
        at java.awt.Component.dispatchEventImpl(Component.java:4502)
        at java.awt.Container.dispatchEventImpl(Container.java:2099)
        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)
Keystroke is already assigned to org.openstreetmap.josm.actions.mapmode.DeleteAction@13d765c, will be overridden by org.openstreetmap.josm.actions.mapmode.DeleteAction@1ba0fda
Keystroke is already assigned to org.openstreetmap.josm.actions.mapmode.DeleteAction@1ba0fda, will be overridden by org.openstreetmap.josm.actions.mapmode.DeleteAction@17a95c6
java.lang.NullPointerException
        at org.openstreetmap.josm.plugins.validator.tests.UnconnectedWays$MyWaySegment.<init>(UnconnectedWays.java:218)
        at org.openstreetmap.josm.plugins.validator.tests.UnconnectedWays.getWaySegments(UnconnectedWays.java:349)
        at org.openstreetmap.josm.plugins.validator.tests.UnconnectedWays.visit(UnconnectedWays.java:360)
        at org.openstreetmap.josm.data.osm.Way.visit(Way.java:137)
        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.SwingUtilities.notifyAction(SwingUtilities.java:1633)
        at javax.swing.JComponent.processKeyBinding(JComponent.java:2851)
        at javax.swing.KeyboardManager.fireBinding(KeyboardManager.java:267)
        at javax.swing.KeyboardManager.fireKeyboardAction(KeyboardManager.java:229)
        at javax.swing.JComponent.processKeyBindingsForAllComponents(JComponent.java:2928)
        at javax.swing.JComponent.processKeyBindings(JComponent.java:2920)
        at javax.swing.JComponent.processKeyEvent(JComponent.java:2814)
        at java.awt.Component.processEvent(Component.java:6040)
        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.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1850)
        at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:712)
        at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:990)
        at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:855)
        at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:676)
        at java.awt.Component.dispatchEventImpl(Component.java:4502)
        at java.awt.Container.dispatchEventImpl(Container.java:2099)
        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)
java.lang.NullPointerException
        at org.openstreetmap.josm.io.OsmWriter.visit(OsmWriter.java:117)
        at org.openstreetmap.josm.io.OsmWriter.writeContent(OsmWriter.java:84)
        at org.openstreetmap.josm.io.OsmExporter.save(OsmExporter.java:72)
        at org.openstreetmap.josm.io.OsmExporter.exportData(OsmExporter.java:44)
        at org.openstreetmap.josm.actions.SaveActionBase.doSave(SaveActionBase.java:63)
        at org.openstreetmap.josm.actions.SaveActionBase.doSave(SaveActionBase.java:44)
        at org.openstreetmap.josm.actions.SaveActionBase.actionPerformed(SaveActionBase.java:33)
        at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1633)
        at javax.swing.JComponent.processKeyBinding(JComponent.java:2851)
        at javax.swing.KeyboardManager.fireBinding(KeyboardManager.java:267)
        at javax.swing.KeyboardManager.fireKeyboardAction(KeyboardManager.java:229)
        at javax.swing.JComponent.processKeyBindingsForAllComponents(JComponent.java:2928)
        at javax.swing.JComponent.processKeyBindings(JComponent.java:2920)
        at javax.swing.JComponent.processKeyEvent(JComponent.java:2814)
        at java.awt.Component.processEvent(Component.java:6040)
        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.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1850)
        at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:712)
        at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:990)
        at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:855)
        at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:676)
        at java.awt.Component.dispatchEventImpl(Component.java:4502)
        at java.awt.Container.dispatchEventImpl(Container.java:2099)
        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)
java.lang.NullPointerException
        at org.openstreetmap.josm.io.OsmWriter.visit(OsmWriter.java:117)
        at org.openstreetmap.josm.io.OsmWriter.writeContent(OsmWriter.java:84)
        at org.openstreetmap.josm.io.OsmExporter.save(OsmExporter.java:72)
        at org.openstreetmap.josm.io.OsmExporter.exportData(OsmExporter.java:44)
        at org.openstreetmap.josm.actions.SaveActionBase.doSave(SaveActionBase.java:63)
        at org.openstreetmap.josm.actions.SaveActionBase.doSave(SaveActionBase.java:44)
        at org.openstreetmap.josm.actions.SaveActionBase.actionPerformed(SaveActionBase.java:33)
        at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1633)
        at javax.swing.JComponent.processKeyBinding(JComponent.java:2851)
        at javax.swing.KeyboardManager.fireBinding(KeyboardManager.java:267)
        at javax.swing.KeyboardManager.fireKeyboardAction(KeyboardManager.java:229)
        at javax.swing.JComponent.processKeyBindingsForAllComponents(JComponent.java:2928)
        at javax.swing.JComponent.processKeyBindings(JComponent.java:2920)
        at javax.swing.JComponent.processKeyEvent(JComponent.java:2814)
        at java.awt.Component.processEvent(Component.java:6040)
        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.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1850)
        at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:712)
        at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:990)
        at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:855)
        at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:676)
        at java.awt.Component.dispatchEventImpl(Component.java:4502)
        at java.awt.Container.dispatchEventImpl(Container.java:2099)
        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 (2)

comment:1 by jttt, 14 years ago

Resolution: duplicate
Status: newclosed

comment:2 by anonymous, 14 years ago

Closed as duplicate of #5032.

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.