Modify ↓
Opened 6 years ago
Closed 6 years ago
#18351 closed defect (fixed)
MapWithAI add multiple object bug
| Reported by: | zlavergne | Owned by: | taylor.smock |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Plugin mapwithai | Version: | tested |
| Keywords: | template_report mapwithai | Cc: | taylor.smock |
Description
What steps will reproduce the problem?
- Select at least 3x as many objects as the plugin limit (5 in this error)
- Add the the objects twice
What is the expected result?
No error
What happens instead?
Error was raised
Please provide any additional information below. Attach a screenshot if possible.
URL:https://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2019-11-01 23:59:01 +0100 (Fri, 01 Nov 2019)
Build-Date:2019-11-01 22:59:57
Revision:15492
Relative:URL: ^/trunk
Identification: JOSM/1.5 (15492 en) Mac OS X 10.14.6
OS Build number: Mac OS X 10.14.6 (18G103)
Memory Usage: 1565 MB / 3641 MB (1079 MB allocated, but free)
Java version: 1.8.0_231-b11, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Screen: Display 69732928 1280x800, Display 188945226 1920x1080, Display 188945225 1920x1080
Maximum Screen Size: 1920x1080
Dataset consistency test:
[DELETED REFERENCED] {Way id=-3680828768087792337 version=0 MVT nodes=[{Node id=-3680828768087792191 version=0 MV lat=-5.0520813,lon=31.7912471}, {Node id=-3680828768087792224 version=0 MV lat=-5.0521348,lon=31.7911559}, {Node id=-3680828768087792189 version=0 MV lat=-5.0522256,lon=31.7911237}, {Node id=-3680828768087792075 version=0 MVDT lat=-5.0525036,lon=31.7910755}, {Node id=5272663453 version=1 V lat=-5.0529872,lon=31.7909896}, {Node id=-3680828768087792286 version=0 MV lat=-5.0540958,lon=31.7907804}, {Node id=-3680828768087792235 version=0 MV lat=-5.0545767,lon=31.790657}, {Node id=-3680828768087792064 version=0 MV lat=-5.0546355,lon=31.7906195}]} refers to deleted primitive {Node id=-3680828768087792075 version=0 MVDT lat=-5.0525036,lon=31.7910755}
Plugins:
+ mapwithai (0.2.0)
+ utilsplugin2 (35230)
Map paint styles:
- https://josm.openstreetmap.de/josmfile?page=Styles/MapWithAI&zip=1
Last errors/warnings:
- W: No configuration settings found. Using hardcoded default values for all pools.
- E: Handled by bug report queue: org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Deleted node referenced: {Way id=-3680828768087792337 version=0 MVT nodes=[{Node id=-3680828768087792191 version=0 MV lat=-5.0520813,lon=31.7912471}, {Node id=-3680828768087792224 version=0 MV lat=-5.0521348,lon=31.7911559}, {Node id=-3680828768087792189 version=0 MV lat=-5.0522256,lon=31.7911237}, {Node id=-3680828768087792075 version=0 MVDT lat=-5.0525036,lon=31.7910755}, {Node id=5272663453 version=1 V lat=-5.0529872,lon=31.7909896}, {Node id=-3680828768087792286 version=0 MV lat=-5.0540958,lon=31.7907804}, {Node id=-3680828768087792235 version=0 MV lat=-5.0545767,lon=31.790657}, {Node id=-3680828768087792064 version=0 MV lat=-5.0546355,lon=31.7906195}]}
=== REPORTED CRASH DATA ===
BugReportExceptionHandler#handleException:
No data collected.
Warning issued by: BugReportExceptionHandler#handleException
=== STACK TRACE ===
Thread: org.openstreetmap.josm.plugins.mapwithai.commands.MapWithAIAddCommand (323)
org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Deleted node referenced: {Way id=-3680828768087792337 version=0 MVT nodes=[{Node id=-3680828768087792191 version=0 MV lat=-5.0520813,lon=31.7912471}, {Node id=-3680828768087792224 version=0 MV lat=-5.0521348,lon=31.7911559}, {Node id=-3680828768087792189 version=0 MV lat=-5.0522256,lon=31.7911237}, {Node id=-3680828768087792075 version=0 MVDT lat=-5.0525036,lon=31.7910755}, {Node id=5272663453 version=1 V lat=-5.0529872,lon=31.7909896}, {Node id=-3680828768087792286 version=0 MV lat=-5.0540958,lon=31.7907804}, {Node id=-3680828768087792235 version=0 MV lat=-5.0545767,lon=31.790657}, {Node id=-3680828768087792064 version=0 MV lat=-5.0546355,lon=31.7906195}]}
at org.openstreetmap.josm.data.osm.Way.checkNodes(Way.java:536)
at org.openstreetmap.josm.data.osm.Way.fireNodesChanged(Way.java:552)
at org.openstreetmap.josm.data.osm.Way.setNodes(Way.java:63)
at org.openstreetmap.josm.command.ChangeNodesCommand.modifyWay(ChangeNodesCommand.java:45)
at org.openstreetmap.josm.command.AbstractNodesCommand.executeCommand(AbstractNodesCommand.java:55)
at org.openstreetmap.josm.command.SequenceCommand.executeCommand(SequenceCommand.java:79)
at org.openstreetmap.josm.command.SequenceCommand.executeCommand(SequenceCommand.java:79)
at org.openstreetmap.josm.command.SequenceCommand.executeCommand(SequenceCommand.java:79)
at org.openstreetmap.josm.plugins.mapwithai.commands.CreateConnectionsCommand.executeCommand(CreateConnectionsCommand.java:48)
at org.openstreetmap.josm.command.SequenceCommand.executeCommand(SequenceCommand.java:79)
at org.openstreetmap.josm.plugins.mapwithai.commands.MapWithAIAddCommand.run(MapWithAIAddCommand.java:95)
at java.lang.Thread.run(Thread.java:748)
Attachments (0)
Change History (4)
comment:1 by , 6 years ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
comment:2 by , 6 years ago
| Resolution: | fixed |
|---|---|
| Status: | closed → reopened |
comment:3 by , 6 years ago
| Component: | Plugin → Plugin mapwithai |
|---|
comment:4 by , 6 years ago
| Resolution: | → fixed |
|---|---|
| Status: | reopened → closed |
Note:
See TracTickets
for help on using tickets.



Fixed in https://gitlab.com/gokaart/JOSM_MapWithAI/commit/22504d91df3704e4ebb99b4d2831bf81441e8ec8 (release v0.2.1).