Modify

Opened 3 years ago

Last modified 3 years ago

#21674 new defect

IllegalStateException: Already registered a conflict for primitive (merging)

Reported by: anonymous Owned by: team
Priority: normal Milestone:
Component: Core Version: tested
Keywords: template_report merge conflict Cc: GerdP

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.

Revision:18303
Build-Date:2021-11-01 22:53:13

Identification: JOSM/1.5 (18303 en) Windows 10 64-Bit
OS Build number: Windows 10 Pro 2004 (19041)
Memory Usage: 1470 MB / 2004 MB (522 MB allocated, but free)
Java version: 17.0.1+12-LTS, Azul Systems, Inc., OpenJDK 64-Bit Server VM
Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel
Screen: \Display0 1920×1080 (scaling 1.00×1.00)
Maximum Screen Size: 1920×1080
Best cursor sizes: 16×16→32×32, 32×32→32×32
System property file.encoding: Cp1252
System property sun.jnu.encoding: Cp1252
Locale info: en_IN
Numbers with default locale: 1234567890 -> 1234567890
VM arguments: [-Djpackage.app-version=1.5.18303, --add-modules=java.scripting,java.sql,javafx.controls,javafx.media,javafx.swing,javafx.web, --add-exports=java.base/sun.security.action=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.plugins.jpeg=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.spi=ALL-UNNAMED, --add-opens=java.base/java.lang=ALL-UNNAMED, --add-opens=java.base/java.nio=ALL-UNNAMED, --add-opens=java.base/jdk.internal.loader=ALL-UNNAMED, --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED, --add-opens=java.desktop/javax.imageio.spi=ALL-UNNAMED, --add-opens=java.desktop/javax.swing.text.html=ALL-UNNAMED, --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED, -Djpackage.app-path=%UserProfile%\AppData\Local\JOSM\JOSM.exe]
Dataset consistency test: No problems found

Plugins:
+ AddrInterpolation (35640)
+ BuildingGeneralization (36)
+ CADTools (1008)
+ ColumbusCSV (35781)
+ Create_grid_of_ways (35640)
+ FastDraw (35864)
+ HouseNumberTaggingTool (35814)
+ ImageWayPoint (35640)
+ ImproveOsm (215)
+ ImproveWay (32)
+ PolygonCutOut (v0.7)
+ RelationDissolve (0.2.0)
+ Tracer-testing (1590860163)
+ alignways (35753)
+ apache-commons (35524)
+ apache-http (35589)
+ areaselector (368)
+ austriaaddresshelper (1597341117)
+ buildings_tools (35823)
+ centernode (v1.0.4)
+ comfort0 (35640)
+ conflation (0.6.8)
+ editgpx (35562)
+ ejml (35458)
+ ext_tools (35640)
+ fhrsPlugin (0.2)
+ geotools (35458)
+ graphview (35640)
+ imagery-xml-bounds (35723)
+ imagery_offset_db (35640)
+ jaxb (35543)
+ jna (35662)
+ jts (35458)
+ junctionchecking (35640)
+ livegps (35640)
+ log4j (35852)
+ measurement (35640)
+ merge-overlap (35640)
+ o5m (35850)
+ opendata (35803)
+ openqa (0.2.2)
+ openvisible (35640)
+ osm-obj-info (66)
+ pointInfo (35640)
+ reltoolbox (35829)
+ splinex (35866)
+ surveyor (35640)
+ terracer (35827)
+ todo (30306)
+ utilsplugin2 (35856)
+ waypoint_search (35562)

Tagging presets:
+ D:\Percy Production\Sidewalk, Crosswalk, Kerb, Crossing\2.8.Sidewalks.xml
+ D:\Percy Production\Sidewalk, Crosswalk, Kerb, Crossing\2.9.Crosswalks.xml
+ D:\Percy Production\Sidewalk, Crosswalk, Kerb, Crossing\2.10.Crossing.xml
+ D:\Percy Production\Sidewalk, Crosswalk, Kerb, Crossing\2.11.Kerb.xml

Map paint styles:
+ D:\Percy Production\direction_Stop.mapcss
+ https://raw.githubusercontent.com/yopaseopor/traffic_signs_style_JOSM/master/DE.zip

Last errors/warnings:
- 02954.073 W: Conflicts detected - <html>There was 1 conflict detected.</html>
- 02959.034 W: Conflicts detected - <html>There was 1 conflict detected.</html>
- 02963.131 W: Conflicts detected - <html>There was 1 conflict detected.</html>
- 02966.834 W: Conflicts detected - <html>There was 1 conflict detected.</html>
- 02971.007 W: Conflicts detected - <html>There was 1 conflict detected.</html>
- 05673.604 W: Conflicts detected - <html>There was 1 conflict detected.</html>
- 05683.559 E: Handled by bug report queue: java.lang.IllegalStateException: Already registered a conflict for primitive '{Node id=4785625005 version=1 MVD lat=33.7596278,lon=-117.9620714}'.
- 05710.856 E: Handled by bug report queue: java.lang.IllegalStateException: Already registered a conflict for primitive '{Node id=4785625005 version=1 MVD lat=33.7596278,lon=-117.9620714}'.
- 05739.575 E: Handled by bug report queue: java.lang.IllegalStateException: Already registered a conflict for primitive '{Node id=4785625005 version=1 MVD lat=33.7596278,lon=-117.9620714}'.
- 05786.982 E: Handled by bug report queue: java.lang.IllegalStateException: Already registered a conflict for primitive '{Node id=4785625005 version=1 MVD lat=33.7596278,lon=-117.9620714}'.



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

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: AWT-EventQueue-0 (25) of main
java.lang.IllegalStateException: Already registered a conflict for primitive '{Node id=4785625005 version=1 MVD lat=33.7596278,lon=-117.9620714}'.
	at org.openstreetmap.josm.data.conflict.ConflictCollection.addConflict(ConflictCollection.java:87)
	at org.openstreetmap.josm.data.conflict.ConflictCollection.add(ConflictCollection.java:102)
	at org.openstreetmap.josm.data.osm.DataSetMerger.addConflict(DataSetMerger.java:138)
	at org.openstreetmap.josm.data.osm.DataSetMerger.mergeById(DataSetMerger.java:336)
	at org.openstreetmap.josm.data.osm.DataSetMerger.mergePrimitive(DataSetMerger.java:87)
	at org.openstreetmap.josm.data.osm.DataSetMerger.lambda$merge$0(DataSetMerger.java:423)
	at org.openstreetmap.josm.data.osm.DataSet.update(DataSet.java:992)
	at org.openstreetmap.josm.data.osm.DataSetMerger.merge(DataSetMerger.java:416)
	at org.openstreetmap.josm.data.osm.DataSetMerger.merge(DataSetMerger.java:397)
	at org.openstreetmap.josm.gui.layer.OsmDataLayer.mergeFrom(OsmDataLayer.java:600)
	at org.openstreetmap.josm.gui.layer.OsmDataLayer.mergeFrom(OsmDataLayer.java:588)
	at org.openstreetmap.josm.actions.MergeSelectionAction.mergeSelected(MergeSelectionAction.java:60)
	at org.openstreetmap.josm.actions.MergeSelectionAction.actionPerformed(MergeSelectionAction.java:68)
	at java.desktop/javax.swing.SwingUtilities.notifyAction(Unknown Source)
	at java.desktop/javax.swing.JComponent.processKeyBinding(Unknown Source)
	at java.desktop/javax.swing.KeyboardManager.fireBinding(Unknown Source)
	at java.desktop/javax.swing.KeyboardManager.fireKeyboardAction(Unknown Source)
	at java.desktop/javax.swing.JComponent.processKeyBindingsForAllComponents(Unknown Source)
	at java.desktop/javax.swing.JComponent.processKeyBindings(Unknown Source)
	at java.desktop/javax.swing.JComponent.processKeyEvent(Unknown Source)
	at java.desktop/java.awt.Component.processEvent(Unknown Source)
	at java.desktop/java.awt.Container.processEvent(Unknown Source)
	at java.desktop/java.awt.Component.dispatchEventImpl(Unknown Source)
	at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.desktop/java.awt.Component.dispatchEvent(Unknown Source)
	at java.desktop/java.awt.KeyboardFocusManager.redispatchEvent(Unknown Source)
	at java.desktop/java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source)
	at java.desktop/java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Source)
	at java.desktop/java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source)
	at java.desktop/java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)
	at java.desktop/java.awt.Component.dispatchEventImpl(Unknown Source)
	at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.desktop/java.awt.Window.dispatchEventImpl(Unknown Source)
	at java.desktop/java.awt.Component.dispatchEvent(Unknown Source)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
	at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
	at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
	at java.base/java.security.AccessController.doPrivileged(Unknown Source)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.desktop/java.awt.EventQueue$5.run(Unknown Source)
	at java.desktop/java.awt.EventQueue$5.run(Unknown Source)
	at java.base/java.security.AccessController.doPrivileged(Unknown Source)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)

Attachments (0)

Change History (2)

comment:1 by skyper, 3 years ago

Cc: GerdP added
Keywords: merge conflict added
Milestone: 21.12
Summary: merging errorIllegalStateException: Already registered a conflict for primitive (merging)
Version: latesttested

Duplicate of #20904?
Some source code lines are different but in my opinion this is caused by changes in DataSetMerger within the last seven month.

comment:2 by skyper, 3 years ago

Ticket #21834 has been marked as a duplicate of this ticket.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain team.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from team to the specified user.
Next status will be 'needinfo'. The owner will be changed from team to anonymous.
as duplicate The resolution will be set to duplicate. Next status will be 'closed'. The specified ticket will be cross-referenced with this ticket.
The owner will be changed from team to anonymous. Next status will be 'assigned'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.