Opened 4 years ago
Closed 4 years ago
#19670 closed defect (irreproducible)
error when using mapwithai
Reported by: | anonymous | Owned by: | taylor.smock |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Plugin mapwithai | Version: | |
Keywords: | template_report | Cc: |
Description
What steps will reproduce the problem?
What is the expected result?
What happens instead?
Please provide any additional information below. Attach a screenshot if possible.
Relative:URL: ^/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2020-07-30 12:44:04 +0200 (Thu, 30 Jul 2020) Revision:16812 Build-Date:2020-07-31 01:30:49 URL:https://josm.openstreetmap.de/svn/trunk Identification: JOSM/1.5 (16812 en_GB) Linux Mint 19.3 Tricia Memory Usage: 385 MB / 1998 MB (66 MB allocated, but free) Java version: 11.0.8+10-post-Ubuntu-0ubuntu118.04.1, Ubuntu, OpenJDK 64-Bit Server VM Look and Feel: javax.swing.plaf.metal.MetalLookAndFeel Screen: :0.0 2560x1440 (scaling 1.0x1.0) Maximum Screen Size: 2560x1440 Best cursor sizes: 16x16 -> 16x16, 32x32 -> 32x32 Java package: openjdk-11-jre:amd64-11.0.8+10-0ubuntu1~18.04.1 libcommons-compress-java: libcommons-compress-java:all-1.18-1~18.04 libcommons-logging-java: libcommons-logging-java:all-1.2-2 fonts-noto: fonts-noto:all-20171026-2 liboauth-signpost-java: liboauth-signpost-java:- Dataset consistency test: [DELETED REFERENCED] {Way id=714953455 version=1 MVT nodes=[{Node id=177349839 version=4 VT lat=39.250686,lon=-106.2876608}, {Node id=6720072919 version=1 VT lat=39.2506407,lon=-106.2876562}, {Node id=1443463144 version=1 V lat=39.2502098,lon=-106.2876125}, {Node id=6720072918 version=1 V lat=39.249793,lon=-106.2874406}, {Node id=-4609817811930830961 version=0 MVDT lat=39.2493816,lon=-106.2873895}, {Node id=6720072916 version=1 V lat=39.2489725,lon=-106.2874365}, {Node id=6720072915 version=1 V lat=39.2485819,lon=-106.2874381}, {Node id=6720072914 version=1 V lat=39.2481652,lon=-106.287385}, {Node id=6720072913 version=1 V lat=39.2480645,lon=-106.2873409}, {Node id=6720072912 version=1 V lat=39.2477916,lon=-106.2871708}, {Node id=6720072911 version=1 V lat=39.2475282,lon=-106.2868914}, {Node id=6720072910 version=1 V lat=39.2473589,lon=-106.286782}, {Node id=6720072909 version=1 V lat=39.2471887,lon=-106.2867574}, {Node id=6720072908 version=1 V lat=39.2470484,lon=-106.2868185}, {Node id=6720072907 version=1 V lat=39.2467191,lon=-106.2870857}, {Node id=6720072920 version=1 V lat=39.2461734,lon=-106.2873044}, {Node id=6720072921 version=1 V lat=39.2458159,lon=-106.2873044}, {Node id=6720072922 version=1 V lat=39.2453643,lon=-106.2876203}, {Node id=6720072923 version=1 V lat=39.2450727,lon=-106.2877904}, {Node id=6720072924 version=1 V lat=39.2446963,lon=-106.287839}, {Node id=6720072925 version=1 V lat=39.2444423,lon=-106.2879604}, {Node id=6720072927 version=1 VT lat=39.2441815,lon=-106.2883201}, {Node id=6720072926 version=1 V lat=39.2437631,lon=-106.2888969}]} refers to deleted primitive {Node id=-4609817811930830961 version=0 MVDT lat=39.2493816,lon=-106.2873895} Plugins: + AddrInterpolation (35405) + FastDraw (35499) + HouseNumberTaggingTool (35508) + Mapillary + apache-commons (35362) + apache-http (35092) + buildings_tools (35500) + ejml (35313) + geotools (35169) + jaxb (35092) + jna (35092) + jts (35122) + mapwithai (1.6.1) + opendata (35513) + photo_geotagging (35499) + photoadjust (35405) + terracer (35499) + utilsplugin2 (35487) Map paint styles: + https://josm.openstreetmap.de/josmfile?page=Styles/MapWithAI&zip=1 Last errors/warnings: - W: Unable to use English input method - W: Unable to use English input method - W: Unable to use English input method - W: Unable to use English input method - W: Unable to use English input method - E: Handled by bug report queue: org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Deleted node referenced: {Way id=714953455 version=1 MVT nodes=[{Node id=177349839 version=4 VT lat=39.250686,lon=-106.2876608}, {Node id=6720072919 version=1 VT lat=39.2506407,lon=-106.2876562}, {Node id=1443463144 version=1 V lat=39.2502098,lon=-106.2876125}, {Node id=6720072918 version=1 V lat=39.249793,lon=-106.2874406}, {Node id=-4609817811930830961 version=0 MVDT lat=39.2493816,lon=-106.2873895}, {Node id=6720072916 version=1 V lat=39.2489725,lon=-106.2874365}, {Node id=6720072915 version=1 V lat=39.2485819,lon=-106.2874381}, {Node id=6720072914 version=1 V lat=39.2481652,lon=-106.287385}, {Node id=6720072913 version=1 V lat=39.2480645,lon=-106.2873409}, {Node id=6720072912 version=1 V lat=39.2477916,lon=-106.2871708}, {Node id=6720072911 version=1 V lat=39.2475282,lon=-106.2868914}, {Node id=6720072910 version=1 V lat=39.2473589,lon=-106.286782}, {Node id=6720072909 version=1 V lat=39.2471887,lon=-106.2867574}, {Node id=6720072908 version=1 V lat=39.2470484,lon=-106.2868185}, {Node id=6720072907 version=1 V lat=39.2467191,lon=-106.2870857}, {Node id=6720072920 version=1 V lat=39.2461734,lon=-106.2873044}, {Node id=6720072921 version=1 V lat=39.2458159,lon=-106.2873044}, {Node id=6720072922 version=1 V lat=39.2453643,lon=-106.2876203}, {Node id=6720072923 version=1 V lat=39.2450727,lon=-106.2877904}, {Node id=6720072924 version=1 V lat=39.2446963,lon=-106.287839}, {Node id=6720072925 version=1 V lat=39.2444423,lon=-106.2879604}, {Node id=6720072927 version=1 VT lat=39.2441815,lon=-106.2883201}, {Node id=6720072926 version=1 V lat=39.2437631,lon=-106.2888969}]} (changed by the following commands: ) - E: Error header: Placeholder node not found for reference -4609817811930830961 in way 714953455 - E: org.openstreetmap.josm.io.OsmApiException: ResponseCode=400, Error Header=<Placeholder node not found for reference -4609817811930830961 in way 714953455> - E: Bad Request - <html>The OSM server 'https://api.openstreetmap.org/api/0.6/' reported a bad request.<br><br>Error message(untranslated): Placeholder node not found for reference -4609817811930830961 in way 714953455</html> - E: Handled by bug report queue: org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Deleted node referenced: {Way id=-4605568173459063004 version=0 MVT nodes=[{Node id=-4609817811930829829 version=0 MVDT lat=39.2476985,lon=-106.2875225}, {Node id=-4609817811930830577 version=0 MVD lat=39.2475157,lon=-106.2882949}, {Node id=-4609817811930830951 version=0 MVDT lat=39.2473994,lon=-106.2890458}]} (changed by the following commands: [Set highway=service for 2 objects]) === REPORTED CRASH DATA === BugReportExceptionHandler#handleException: No data collected. Warning issued by: BugReportExceptionHandler#handleException === STACK TRACE === Thread: AWT-EventQueue-0 (20) of main org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Deleted node referenced: {Way id=-4605568173459063004 version=0 MVT nodes=[{Node id=-4609817811930829829 version=0 MVDT lat=39.2476985,lon=-106.2875225}, {Node id=-4609817811930830577 version=0 MVD lat=39.2475157,lon=-106.2882949}, {Node id=-4609817811930830951 version=0 MVDT lat=39.2473994,lon=-106.2890458}]} (changed by the following commands: [Set highway=service for 2 objects]) at org.openstreetmap.josm.data.osm.Way.checkNodes(Way.java:537) at org.openstreetmap.josm.data.osm.Way.fireNodesChanged(Way.java:555) at org.openstreetmap.josm.data.osm.Way.setNodes(Way.java:66) at org.openstreetmap.josm.data.osm.Way.load(Way.java:278) at org.openstreetmap.josm.command.Command.undoCommand(Command.java:171) at org.openstreetmap.josm.data.UndoRedoHandler.lambda$undo$0(UndoRedoHandler.java:380) at org.openstreetmap.josm.gui.util.GuiHelper.runInEDTAndWait(GuiHelper.java:218) at org.openstreetmap.josm.data.UndoRedoHandler.undo(UndoRedoHandler.java:372) at org.openstreetmap.josm.data.UndoRedoHandler.undo(UndoRedoHandler.java:362) at org.openstreetmap.josm.actions.UndoAction.actionPerformed(UndoAction.java:39) at java.desktop/javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1810) at java.desktop/javax.swing.JComponent.processKeyBinding(JComponent.java:2900) at java.desktop/javax.swing.KeyboardManager.fireBinding(KeyboardManager.java:311) at java.desktop/javax.swing.KeyboardManager.fireKeyboardAction(KeyboardManager.java:266) at java.desktop/javax.swing.JComponent.processKeyBindingsForAllComponents(JComponent.java:2993) at java.desktop/javax.swing.JComponent.processKeyBindings(JComponent.java:2985) at java.desktop/javax.swing.JComponent.processKeyEvent(JComponent.java:2862) at java.desktop/java.awt.Component.processEvent(Component.java:6412) at java.desktop/java.awt.Container.processEvent(Container.java:2263) at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5011) at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321) at java.desktop/java.awt.Component.dispatchEvent(Component.java:4843) at java.desktop/java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1950) at java.desktop/java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:870) at java.desktop/java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1139) at java.desktop/java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:1009) at java.desktop/java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:835) at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:4892) at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321) at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2772) at java.desktop/java.awt.Component.dispatchEvent(Component.java:4843) at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715) at java.base/java.security.AccessController.doPrivileged(Native Method) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95) at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745) at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:743) at java.base/java.security.AccessController.doPrivileged(Native Method) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85) at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742) at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203) at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124) at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Attachments (0)
Change History (7)
comment:1 by , 4 years ago
comment:2 by , 4 years ago
Okay, I figured out what is causing the problem. When you "create intersections" with mapwithai, some problematic nodes are created which seems to make the program fail.
comment:3 by , 4 years ago
It seems as if this "create intersection" option is a problem when it tries to create intersections with things that are not roads, such as boundaries.
comment:4 by , 4 years ago
Any fix to this? "Creating intersection" on mapwithai roads corrupts and destroys the data. I just saved one file, and tried to re-open it, this error showed up:
Way with external ID 'zyx' includes missing node with external ID '-xyz'.
comment:5 by , 4 years ago
I'm going to try and reproduce. It would help if (a) you had a sample area for me to look at (I have not been able to reproduce yet) and (b) you gave me steps to reproduce. Also, does this occur with mapwithai-dev
?
I cannot fix something I cannot reproduce. Unless there is a stack trace.
comment:6 by , 4 years ago
@anonymous: If you cannot give me a sample area to reproduce with or steps to reproduce (for the placeholder node issue), I'm going to have to close this as irreproducible. I was able to reproduce the issue in comment:3, and I have fixed it in the latest -dev version (requires JOSM >= 16846, so josm-latest, not josm-tested).
I have not been able to reproduce the missing node issue.
comment:7 by , 4 years ago
Resolution: | → irreproducible |
---|---|
Status: | new → closed |
I could not reproduce the issue.
when trying to upload data, this errors comes up:
Error message(untranslated): Placeholder node not found for reference -xyz in way xyz
xyz can be any long number.