Modify

Opened 5 weeks ago

Closed 4 weeks ago

#17466 closed defect (needinfo)

DataIntegrityProblemException: Unable to add primitive to the dataset because it is already included

Reported by: anonymous Owned by: anonymous
Priority: normal Milestone:
Component: Core Version:
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

  1. Draw three rectangular ways
  2. Press Shift+J

What is the expected result?

Overlapping areas are joined

What happens instead?

Crash

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-03-03 00:16:03 +0100 (Sun, 03 Mar 2019)
Build-Date:2019-03-02 23:16:53
Revision:14824
Relative:URL: ^/trunk

Identification: JOSM/1.5 (14824 en) Linux Ubuntu 16.04.6 LTS
Memory Usage: 3597 MB / 27305 MB (2123 MB allocated, but free)
Java version: 1.8.0_191-8u191-b12-2ubuntu0.16.04.1-b12, Oracle Corporation, OpenJDK 64-Bit Server VM
Screen: :0.0 3840x1200, :0.1 1920x1200
Maximum Screen Size: 3840x1200
Java package: openjdk-8-jre:amd64-8u191-b12-2ubuntu0.16.04.1
VM arguments: [-Djosm.restart=true, -Djava.net.useSystemProxies=true]

Dataset consistency test:
[DELETED REFERENCED] {Way id=-105614 version=0 MVT nodes=[{Node id=-105615 version=0 MV lat=11.298882048184083,lon=76.93168695904122}, {Node id=-105651 version=0 MV lat=11.298968078339186,lon=76.93167432973173}, {Node id=-105649 version=0 MV lat=11.299372745201005,lon=76.93161492419655}, {Node id=-105647 version=0 MV lat=11.299458998230092,lon=76.93160226214728}, {Node id=-105616 version=0 MV lat=11.299462514895641,lon=76.93160174589644}, {Node id=-105648 version=0 MV lat=11.299452413644067,lon=76.93153018972826}, {Node id=-105617 version=0 MVD lat=11.299450272194068,lon=76.93151501992955}, {Node id=-105650 version=0 MV lat=11.299364764690344,lon=76.93152757253442}, {Node id=-105652 version=0 MV lat=11.29895457073748,lon=76.93158778945032}, {Node id=-105618 version=0 MV lat=11.298869805457729,lon=76.93160023307432}, {Node id=-105615 version=0 MV lat=11.298882048184083,lon=76.93168695904122}]} refers to deleted primitive {Node id=-105617 version=0 MVD lat=11.299450272194068,lon=76.93151501992955}
[DELETED REFERENCED] {Way id=-105595 version=0 MVT nodes=[{Node id=-105596 version=0 MV lat=11.299000395434367,lon=76.93188137838465}, {Node id=-105597 version=0 MV lat=11.298953806056717,lon=76.93158289030622}, {Node id=-105598 version=0 MV lat=11.298866441662323,lon=76.93159707090037}, {Node id=-105607 version=0 MVD lat=11.298880748305201,lon=76.93168873043774}, {Node id=-105599 version=0 MV lat=11.298913031054171,lon=76.9318955589788}, {Node id=-105596 version=0 MV lat=11.299000395434367,lon=76.93188137838465}]} refers to deleted primitive {Node id=-105607 version=0 MVD lat=11.298880748305201,lon=76.93168873043774}


Plugins:
+ Mapillary (1.5.18)
+ apache-commons (34506)
+ apache-http (34632)
+ buildings_tools (34904)
+ imagery_offset_db (34867)
+ jna (34867)
+ mapathoner (0.8.3)
+ terracer (34867)

Last errors/warnings:
- W: java.io.IOException: Attribution is not loaded yet
- W: java.io.IOException: Attribution is not loaded yet
- W: java.io.IOException: Attribution is not loaded yet
- W: java.io.IOException: Attribution is not loaded yet
- W: java.io.IOException: Attribution is not loaded yet
- W: java.io.IOException: Attribution is not loaded yet
- W: java.io.IOException: Attribution is not loaded yet
- W: java.io.IOException: Attribution is not loaded yet
- E: Handled by bug report queue: org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Deleted node referenced: {Way id=-105614 version=0 MVT nodes=[{Node id=-105615 version=0 MV lat=11.298882048184083,lon=76.93168695904122}, {Node id=-105651 version=0 MV lat=11.298968078339186,lon=76.93167432973173}, {Node id=-105649 version=0 MV lat=11.299372745201005,lon=76.93161492419655}, {Node id=-105647 version=0 MV lat=11.299458998230092,lon=76.93160226214728}, {Node id=-105616 version=0 MV lat=11.299462514895641,lon=76.93160174589644}, {Node id=-105648 version=0 MV lat=11.299452413644067,lon=76.93153018972826}, {Node id=-105617 version=0 MVD lat=11.299450272194068,lon=76.93151501992955}, {Node id=-105650 version=0 MV lat=11.299364764690344,lon=76.93152757253442}, {Node id=-105652 version=0 MV lat=11.29895457073748,lon=76.93158778945032}, {Node id=-105618 version=0 MV lat=11.298869805457729,lon=76.93160023307432}, {Node id=-105615 version=0 MV lat=11.298882048184083,lon=76.93168695904122}]}
- E: Handled by bug report queue: org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Unable to add primitive {Node id=-105647 version=0 MV lat=11.299458998230092,lon=76.93160226214728} to the dataset because it is already included


=== REPORTED CRASH DATA ===
BugReportExceptionHandler#handleException:
No data collected.

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: AWT-EventQueue-0 (28) of main
org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Unable to add primitive {Node id=-105647 version=0 MV lat=11.299458998230092,lon=76.93160226214728} to the dataset because it is already included
	at org.openstreetmap.josm.data.osm.DataSet.addPrimitive(DataSet.java:470)
	at org.openstreetmap.josm.command.AddCommand.executeCommand(AddCommand.java:54)
	at org.openstreetmap.josm.command.SequenceCommand.executeCommand(SequenceCommand.java:79)
	at org.openstreetmap.josm.data.UndoRedoHandler.addNoRedraw(UndoRedoHandler.java:289)
	at org.openstreetmap.josm.data.UndoRedoHandler.add(UndoRedoHandler.java:331)
	at org.openstreetmap.josm.actions.JoinAreasAction.commitCommand(JoinAreasAction.java:835)
	at org.openstreetmap.josm.actions.JoinAreasAction.commitCommands(JoinAreasAction.java:825)
	at org.openstreetmap.josm.actions.JoinAreasAction.resolveTagConflicts(JoinAreasAction.java:742)
	at org.openstreetmap.josm.actions.JoinAreasAction.join(JoinAreasAction.java:534)
	at org.openstreetmap.josm.actions.JoinAreasAction.actionPerformed(JoinAreasAction.java:475)
	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
	at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
	at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
	at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
	at javax.swing.AbstractButton.doClick(AbstractButton.java:376)
	at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:842)
	at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:886)
	at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289)
	at java.awt.Component.processMouseEvent(Component.java:6539)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
	at java.awt.Component.processEvent(Component.java:6304)
	at java.awt.Container.processEvent(Container.java:2239)
	at java.awt.Component.dispatchEventImpl(Component.java:4889)
	at java.awt.Container.dispatchEventImpl(Container.java:2297)
	at java.awt.Component.dispatchEvent(Component.java:4711)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)
	at java.awt.Container.dispatchEventImpl(Container.java:2283)
	at java.awt.Window.dispatchEventImpl(Window.java:2746)
	at java.awt.Component.dispatchEvent(Component.java:4711)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
	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:74)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:84)
	at java.awt.EventQueue$4.run(EventQueue.java:733)
	at java.awt.EventQueue$4.run(EventQueue.java:731)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
	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 (4)

comment:1 Changed 5 weeks ago by GerdP

If you can reproduce the problem please attach a file that contains the three rectangles (before pressing Shift+J)

comment:2 Changed 5 weeks ago by Don-vip

Summary: Join overlapping areasDataIntegrityProblemException: Unable to add primitive to the dataset because it is already included

comment:3 Changed 5 weeks ago by Don-vip

Owner: changed from team to anonymous
Status: newneedinfo

Please update your plugins and tell us if the issue still happens.

comment:4 Changed 4 weeks ago by Don-vip

Resolution: needinfo
Status: needinfoclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain anonymous.
as The resolution will be set.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.