Modify ↓
Opened 15 years ago
Closed 15 years ago
#4777 closed defect (fixed)
Dataset consistency failure on Join overlapping Areas
Reported by: | Ldp | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core | Version: | |
Keywords: | Cc: |
Description
- Open the attached .osm file.
- Select both areas and invoke Join overlapping Ways.
- "No intersection found. Nothing was changed." Click OK.
- Merge top left and bottom right nodes, so you get 2 adjoining areas.
- Select both areas again and invoke Join overlapping Ways.
- "An unexpected exception occured. This is always a coding error." Acknowledge the popup.
- The merged nodes are now slightly separate again, but not in the original positions.
- Every further attempt to Join overlapping Areas gives the bug popup.
Build-Date: 2010-03-21 12:04:20 Revision: 3150 Is-Local-Build: true Memory Usage: 32 MB / 989 MB (7 MB allocated, but free) Java version: 1.6.0_18, Sun Microsystems Inc., Java HotSpot(TM) Client VM Operating system: Windows XP Dataset consistency test: [DELETED REFERENCED] {Way id=-14 version=0 MV nodes=[{Node id=-6 version=0 MVD lat=0.939997105100904,lon=-1.6949123250199043}, {Node id=-4 version=0 MVD lat=-1.2522725318597863,lon=0.32450356187247864}, {Node id=-2 version=0 V lat=1.6699927640341,lon=0.5069530571317524}, {Node id=-6 version=0 MVD lat=0.939997105100904,lon=-1.6949123250199043}]} refers to deleted primitive {Node id=-6 version=0 MVD lat=0.939997105100904,lon=-1.6949123250199043} [DELETED REFERENCED] {Way id=-14 version=0 MV nodes=[{Node id=-6 version=0 MVD lat=0.939997105100904,lon=-1.6949123250199043}, {Node id=-4 version=0 MVD lat=-1.2522725318597863,lon=0.32450356187247864}, {Node id=-2 version=0 V lat=1.6699927640341,lon=0.5069530571317524}, {Node id=-6 version=0 MVD lat=0.939997105100904,lon=-1.6949123250199043}]} refers to deleted primitive {Node id=-4 version=0 MVD lat=-1.2522725318597863,lon=0.32450356187247864} [DELETED REFERENCED] {Way id=-14 version=0 MV nodes=[{Node id=-6 version=0 MVD lat=0.939997105100904,lon=-1.6949123250199043}, {Node id=-4 version=0 MVD lat=-1.2522725318597863,lon=0.32450356187247864}, {Node id=-2 version=0 V lat=1.6699927640341,lon=0.5069530571317524}, {Node id=-6 version=0 MVD lat=0.939997105100904,lon=-1.6949123250199043}]} refers to deleted primitive {Node id=-6 version=0 MVD lat=0.939997105100904,lon=-1.6949123250199043} Plugins: AddrInterpolation,ghost,multipoly,terracer,validator,wmsplugin Plugin wmsplugin (Version: 19992) Plugin validator (Version: 20546) Plugin ghost (Version: 2) Plugin AddrInterpolation (Version: 19422) Plugin terracer (Version: 20084) Plugin multipoly (Version: 19456) org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Deleted node referenced: {Way id=-14 version=0 MV nodes=[{Node id=-6 version=0 MVD lat=0.939997105100904,lon=-1.6949123250199043}, {Node id=-4 version=0 MVD lat=-1.2522725318597863,lon=0.32450356187247864}, {Node id=-2 version=0 V lat=1.6699927640341,lon=0.5069530571317524}, {Node id=-6 version=0 MVD lat=0.939997105100904,lon=-1.6949123250199043}]} at org.openstreetmap.josm.data.osm.Way.checkNodes(Way.java:377) at org.openstreetmap.josm.data.osm.Way.fireNodesChanged(Way.java:384) at org.openstreetmap.josm.data.osm.Way.setNodes(Way.java:63) at org.openstreetmap.josm.data.osm.Way.cloneFrom(Way.java:227) at org.openstreetmap.josm.command.ChangeCommand.executeCommand(ChangeCommand.java:37) at org.openstreetmap.josm.command.SequenceCommand.executeCommand(SequenceCommand.java:51) at org.openstreetmap.josm.data.UndoRedoHandler.addNoRedraw(UndoRedoHandler.java:38) at org.openstreetmap.josm.data.UndoRedoHandler.add(UndoRedoHandler.java:64) at org.openstreetmap.josm.actions.JoinAreasAction.commitCommands(JoinAreasAction.java:436) at org.openstreetmap.josm.actions.JoinAreasAction.joinAreas(JoinAreasAction.java:193) at org.openstreetmap.josm.actions.JoinAreasAction.actionPerformed(JoinAreasAction.java:166) 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 (1)
Change History (4)
by , 15 years ago
Attachment: | merge-areas-exception.osm added |
---|
comment:1 by , 15 years ago
comment:2 by , 15 years ago
Saving out to .osm after the exception results in an inconsistent file as well. Properly undoing before saving seems to help.
comment:3 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
See #4763 for other issues with Join overlapping Areas.