Modify ↓
Opened 9 years ago
Closed 8 years ago
#13438 closed defect (needinfo)
DataIntegrityProblemException: Deleted node referenced
| Reported by: | anonymous | Owned by: | anonymous |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Core | Version: | |
| Keywords: | template_report | Cc: |
Description
What steps will reproduce the problem?
- Combine features
What is the expected result?
What happens instead?
Please provide any additional information below. Attach a screenshot if possible.
URL:http://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2016-08-11 21:54:24 +0200 (Thu, 11 Aug 2016)
Build-Date:2016-08-11 22:36:05
Revision:10786
Relative:URL: ^/trunk
Identification: JOSM/1.5 (10786 en) Mac OS X 10.11.6
Memory Usage: 947 MB / 947 MB (291 MB allocated, but free)
Java version: 1.8.0_101-b13, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
VM arguments: [-Djava.library.path=/Applications/JOSM.app/Contents/MacOS, -DLibraryDirectory=${HOME}/Library, -DDocumentsDirectory=${HOME}/Documents, -DApplicationSupportDirectory=${HOME}/Library/Application Support, -DCachesDirectory=${HOME}/Library/Caches, -DSandboxEnabled=false, -Dapple.laf.useScreenMenuBar=true, -Dcom.apple.macos.use-file-dialog-packages=true, -Dcom.apple.macos.useScreenMenuBar=true, -Dcom.apple.mrj.application.apple.menu.about.name=JOSM, -Dcom.apple.smallTabs=true]
Dataset consistency test:
[DELETED REFERENCED] {Way id=365813722 version=1 MVT nodes=[{Node id=3550311857 version=1 V lat=50.949501,lon=22.2098564}, {Node id=3550311868 version=1 V lat=50.9493812,lon=22.2102008}, {Node id=3550311874 version=1 MV lat=50.94929247027182,lon=22.2104644389636}, {Node id=3498456448 version=2 MV lat=50.94929059999996,lon=22.210470241104506}, {Node id=3698225373 version=1 V lat=50.9491912,lon=22.2103876}, {Node id=3698225374 version=1 V lat=50.9494146,lon=22.2097365}, {Node id=3698225252 version=1 VD lat=50.949501,lon=22.2098564}]} refers to deleted primitive {Node id=3698225252 version=1 VD lat=50.949501,lon=22.2098564}
Plugins:
+ Mapillary (32796)
+ apache-commons (32699)
+ apache-http (32699)
+ auto_tools (1471534390)
+ buildings_tools (32796)
+ download_along (32730)
+ geochat (32796)
+ reltoolbox (32796)
+ turnlanes (32796)
+ turnlanes-tagging (1471546398)
+ turnrestrictions (32796)
+ utilsplugin2 (32815)
Tagging presets:
+ https://josm.openstreetmap.de/josmfile?page=Presets/LaneAttributes&zip=1
Map paint styles:
- https://josm.openstreetmap.de/josmfile?page=Styles/Lane_and_Road_Attributes&zip=1
Last errors/warnings:
- E: Error header: Precondition failed: Node 3698225342 is still used by ways 365631104.
- E: org.openstreetmap.josm.io.OsmApiException: ResponseCode=412, Error Header=<Precondition failed: Node 3698225342 is still used by ways 365631104.>
- E: Object still in use - <html><strong>Failed</strong> to delete <strong>node 3698225342</strong>. It is still referred to by way 365631104.<br>Please load the way, remove the reference to the node, and upload again.<br><br>Click <strong>Prepare conflict resolution</strong> to load them now.<br>If necessary JOSM will create conflicts which you can resolve in the Conflict Resolution Dialog.</html>
- E: Error header: Precondition failed: Node 3698225343 is still used by ways 365631110.
- E: org.openstreetmap.josm.io.OsmApiException: ResponseCode=412, Error Header=<Precondition failed: Node 3698225343 is still used by ways 365631110.>
- E: Object still in use - <html><strong>Failed</strong> to delete <strong>node 3698225343</strong>. It is still referred to by way 365631110.<br>Please load the way, remove the reference to the node, and upload again.<br><br>Click <strong>Prepare conflict resolution</strong> to load them now.<br>If necessary JOSM will create conflicts which you can resolve in the Conflict Resolution Dialog.</html>
- E: Error header: Precondition failed: Node 3698225343 is still used by ways 365631110.
- E: org.openstreetmap.josm.io.OsmApiException: ResponseCode=412, Error Header=<Precondition failed: Node 3698225343 is still used by ways 365631110.>
- E: Object still in use - <html><strong>Failed</strong> to delete <strong>node 3698225343</strong>. It is still referred to by way 365631110.<br>Please load the way, remove the reference to the node, and upload again.<br><br>Click <strong>Prepare conflict resolution</strong> to load them now.<br>If necessary JOSM will create conflicts which you can resolve in the Conflict Resolution Dialog.</html>
- E: org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Deleted node referenced: {Way id=365813722 version=1 MVT nodes=[{Node id=3550311857 version=1 V lat=50.949501,lon=22.2098564}, {Node id=3550311868 version=1 V lat=50.9493812,lon=22.2102008}, {Node id=3550311874 version=1 MV lat=50.94929247027182,lon=22.2104644389636}, {Node id=3498456448 version=2 MV lat=50.94929059999996,lon=22.210470241104506}, {Node id=3698225373 version=1 V lat=50.9491912,lon=22.2103876}, {Node id=3698225374 version=1 V lat=50.9494146,lon=22.2097365}, {Node id=3698225252 version=1 VD lat=50.949501,lon=22.2098564}]}
=== REPORTED CRASH DATA ===
BugReportExceptionHandler$BugReporterThread#askForBugReport:
No data collected.
=== STACK TRACE ===
Thread: AWT-EventQueue-0 (17) of main
org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Deleted node referenced: {Way id=365813722 version=1 MVT nodes=[{Node id=3550311857 version=1 V lat=50.949501,lon=22.2098564}, {Node id=3550311868 version=1 V lat=50.9493812,lon=22.2102008}, {Node id=3550311874 version=1 MV lat=50.94929247027182,lon=22.2104644389636}, {Node id=3498456448 version=2 MV lat=50.94929059999996,lon=22.210470241104506}, {Node id=3698225373 version=1 V lat=50.9491912,lon=22.2103876}, {Node id=3698225374 version=1 V lat=50.9494146,lon=22.2097365}, {Node id=3698225252 version=1 VD lat=50.949501,lon=22.2098564}]}
at org.openstreetmap.josm.data.osm.Way.checkNodes(Way.java:597)
at org.openstreetmap.josm.data.osm.Way.fireNodesChanged(Way.java:613)
at org.openstreetmap.josm.data.osm.Way.setNodes(Way.java:74)
at org.openstreetmap.josm.data.osm.Way.cloneFrom(Way.java:320)
at org.openstreetmap.josm.command.ChangeCommand.executeCommand(ChangeCommand.java:66)
at org.openstreetmap.josm.command.SequenceCommand.executeCommand(SequenceCommand.java:54)
at org.openstreetmap.josm.data.UndoRedoHandler.addNoRedraw(UndoRedoHandler.java:52)
at org.openstreetmap.josm.data.UndoRedoHandler.add(UndoRedoHandler.java:85)
at org.openstreetmap.josm.actions.CombineWayAction.actionPerformed(CombineWayAction.java:233)
at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1663)
at javax.swing.JComponent.processKeyBinding(JComponent.java:2882)
at javax.swing.KeyboardManager.fireBinding(KeyboardManager.java:307)
at javax.swing.KeyboardManager.fireKeyboardAction(KeyboardManager.java:263)
at javax.swing.JComponent.processKeyBindingsForAllComponents(JComponent.java:2974)
at javax.swing.JComponent.processKeyBindings(JComponent.java:2966)
at javax.swing.JComponent.processKeyEvent(JComponent.java:2845)
at java.awt.Component.processEvent(Component.java:6310)
at java.awt.Container.processEvent(Container.java:2236)
at java.awt.Component.dispatchEventImpl(Component.java:4889)
at java.awt.Container.dispatchEventImpl(Container.java:2294)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1954)
at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:806)
at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1074)
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:945)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:771)
at java.awt.Component.dispatchEventImpl(Component.java:4760)
at java.awt.Container.dispatchEventImpl(Container.java:2294)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.awt.EventQueue$4.run(EventQueue.java:729)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Attachments (0)
Change History (5)
comment:1 by , 9 years ago
| Summary: | Crashed → DataIntegrityProblemException: Deleted node referenced |
|---|
comment:2 by , 9 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → needinfo |
follow-up: 4 comment:3 by , 9 years ago
I think I'm having a similar problem (similar/same stack trace). To reproduce:
- Open relation editor
- Create a new node (e.g. by copy+paste)
- Add that node to the relation. Don't close the relation editor
- While relation editor still open, remove the node in the map frame. (The deleted node will still be referenced by the relation)
- Press OK in the relation editor -> JOSM crash
If an existing node is used with an id>0, the problem does not occur. Instead, a dialog asks: "Deleting object. Please confirm to remove 1 object. 17 relation are affected".
comment:4 by , 9 years ago
comment:5 by , 8 years ago
| Resolution: | → needinfo |
|---|---|
| Status: | needinfo → closed |
Note:
See TracTickets
for help on using tickets.



What data did you use ? Any "old" or reverted data ?
See #6529.