Modify

Opened 4 years ago

Closed 4 years ago

#18384 closed defect (othersoftware)

Crash when moving a polygon

Reported by: pyrog Owned by: Anamaria.Rotariu
Priority: normal Milestone:
Component: Plugin cadtools Version:
Keywords: template_report github Cc:

Description

What steps will reproduce the problem?

  1. cut polygon in 2 pieces with more tools -> cut object (lighthouse tower + building)
  2. make regular polygon with CAD Tool
  3. move regular polygon (tower) -> OK
  4. move (building) -> crash

What is the expected result?

Please provide any additional information below. Attach a screenshot if possible.

https://www.openstreetmap.org/way/104690813

URL:https://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2019-12-02 19:47:42 +0100 (Mon, 02 Dec 2019)
Build-Date:2019-12-03 02:30:57
Revision:15554
Relative:URL: ^/trunk

Identification: JOSM/1.5 (15554 fr) Mac OS X 10.14.6
OS Build number: Mac OS X 10.14.6 (18G95)
Memory Usage: 913 MB / 1820 MB (562 MB allocated, but free)
Java version: 1.8.0_231-b11, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Screen: Display 69732928 1280x800
Maximum Screen Size: 1280x800
VM arguments: [-Djava.security.policy=file:<java.home>/lib/security/javaws.policy, -DtrustProxy=true, -Djnlpx.home=<java.home>/bin, -Djava.security.manager, -Djnlpx.origFilenameArg=${HOME}/Library/Application Support/Oracle/Java/Deployment/cache/6.0/31/583aa85f-4a297e61, -Djnlpx.remove=false, -Dsun.awt.warmup=true, -Djava.util.Arrays.useLegacyMergeSort=true, -Djnlpx.heapsize=NULL,2048m, -Dmacosx.jnlpx.dock.name=JOSM (development version), -Dmacosx.jnlpx.dock.icon=${HOME}/Library/Application Support/Oracle/Java/Deployment/cache/6.0/25/4c122699-72a21903.icns, -Djnlp.application.href=https://josm.openstreetmap.de/download/josm-latest.jnlp , -Djnlpx.jvm="<java.home>/bin/java"]

Dataset consistency test:
[NO DATASET] {Node id=1207552161 version=1 MV lat=50.961267155311226,lon=1.8536896472387316} is referenced by {Way id=104690813 version=4 MVT nodes=[{Node id=1207552161 version=1 MV lat=50.961267155311226,lon=1.8536896472387316}, {Node id=-351759 version=0 MV lat=50.961256940381475,lon=1.8536987894028425}, {Node id=1207528655 version=1 MV lat=50.96124615531084,lon=1.8537086472387316}, {Node id=1207538135 version=1 MV lat=50.961288155311586,lon=1.8538206472387315}, {Node id=1207525685 version=1 MV lat=50.96132215531221,lon=1.8537896472387319}, {Node id=1207528824 version=1 MV lat=50.96139415531354,lon=1.8537216472387317}, {Node id=1207546389 version=1 MV lat=50.961354155312804,lon=1.8536116472387316}, {Node id=1207534183 version=1 MV lat=50.96133515531245,lon=1.8536296472387317}, {Node id=-351139 version=0 MV lat=50.961323792572536,lon=1.8536796354271539}, {Node id=-351143 version=0 MV lat=50.96129583145158,lon=1.8536993304005862}, {Node id=1207552161 version=1 MV lat=50.961267155311226,lon=1.8536896472387316}]} but not found in dataset
[NO DATASET] {Node id=1207534183 version=1 MV lat=50.96133515531245,lon=1.8536296472387317} is referenced by {Way id=104690813 version=4 MVT nodes=[{Node id=1207552161 version=1 MV lat=50.961267155311226,lon=1.8536896472387316}, {Node id=-351759 version=0 MV lat=50.961256940381475,lon=1.8536987894028425}, {Node id=1207528655 version=1 MV lat=50.96124615531084,lon=1.8537086472387316}, {Node id=1207538135 version=1 MV lat=50.961288155311586,lon=1.8538206472387315}, {Node id=1207525685 version=1 MV lat=50.96132215531221,lon=1.8537896472387319}, {Node id=1207528824 version=1 MV lat=50.96139415531354,lon=1.8537216472387317}, {Node id=1207546389 version=1 MV lat=50.961354155312804,lon=1.8536116472387316}, {Node id=1207534183 version=1 MV lat=50.96133515531245,lon=1.8536296472387317}, {Node id=-351139 version=0 MV lat=50.961323792572536,lon=1.8536796354271539}, {Node id=-351143 version=0 MV lat=50.96129583145158,lon=1.8536993304005862}, {Node id=1207552161 version=1 MV lat=50.961267155311226,lon=1.8536896472387316}]} but not found in dataset
[NO DATASET] {Node id=-351139 version=0 MV lat=50.961323792572536,lon=1.8536796354271539} is referenced by {Way id=104690813 version=4 MVT nodes=[{Node id=1207552161 version=1 MV lat=50.961267155311226,lon=1.8536896472387316}, {Node id=-351759 version=0 MV lat=50.961256940381475,lon=1.8536987894028425}, {Node id=1207528655 version=1 MV lat=50.96124615531084,lon=1.8537086472387316}, {Node id=1207538135 version=1 MV lat=50.961288155311586,lon=1.8538206472387315}, {Node id=1207525685 version=1 MV lat=50.96132215531221,lon=1.8537896472387319}, {Node id=1207528824 version=1 MV lat=50.96139415531354,lon=1.8537216472387317}, {Node id=1207546389 version=1 MV lat=50.961354155312804,lon=1.8536116472387316}, {Node id=1207534183 version=1 MV lat=50.96133515531245,lon=1.8536296472387317}, {Node id=-351139 version=0 MV lat=50.961323792572536,lon=1.8536796354271539}, {Node id=-351143 version=0 MV lat=50.96129583145158,lon=1.8536993304005862}, {Node id=1207552161 version=1 MV lat=50.961267155311226,lon=1.8536896472387316}]} but not found in dataset
[NO DATASET] {Node id=-351143 version=0 MV lat=50.96129583145158,lon=1.8536993304005862} is referenced by {Way id=104690813 version=4 MVT nodes=[{Node id=1207552161 version=1 MV lat=50.961267155311226,lon=1.8536896472387316}, {Node id=-351759 version=0 MV lat=50.961256940381475,lon=1.8536987894028425}, {Node id=1207528655 version=1 MV lat=50.96124615531084,lon=1.8537086472387316}, {Node id=1207538135 version=1 MV lat=50.961288155311586,lon=1.8538206472387315}, {Node id=1207525685 version=1 MV lat=50.96132215531221,lon=1.8537896472387319}, {Node id=1207528824 version=1 MV lat=50.96139415531354,lon=1.8537216472387317}, {Node id=1207546389 version=1 MV lat=50.961354155312804,lon=1.8536116472387316}, {Node id=1207534183 version=1 MV lat=50.96133515531245,lon=1.8536296472387317}, {Node id=-351139 version=0 MV lat=50.961323792572536,lon=1.8536796354271539}, {Node id=-351143 version=0 MV lat=50.96129583145158,lon=1.8536993304005862}, {Node id=1207552161 version=1 MV lat=50.961267155311226,lon=1.8536896472387316}]} but not found in dataset
[NO DATASET] {Node id=1207552161 version=1 MV lat=50.961267155311226,lon=1.8536896472387316} is referenced by {Way id=104690813 version=4 MVT nodes=[{Node id=1207552161 version=1 MV lat=50.961267155311226,lon=1.8536896472387316}, {Node id=-351759 version=0 MV lat=50.961256940381475,lon=1.8536987894028425}, {Node id=1207528655 version=1 MV lat=50.96124615531084,lon=1.8537086472387316}, {Node id=1207538135 version=1 MV lat=50.961288155311586,lon=1.8538206472387315}, {Node id=1207525685 version=1 MV lat=50.96132215531221,lon=1.8537896472387319}, {Node id=1207528824 version=1 MV lat=50.96139415531354,lon=1.8537216472387317}, {Node id=1207546389 version=1 MV lat=50.961354155312804,lon=1.8536116472387316}, {Node id=1207534183 version=1 MV lat=50.96133515531245,lon=1.8536296472387317}, {Node id=-351139 version=0 MV lat=50.961323792572536,lon=1.8536796354271539}, {Node id=-351143 version=0 MV lat=50.96129583145158,lon=1.8536993304005862}, {Node id=1207552161 version=1 MV lat=50.961267155311226,lon=1.8536896472387316}]} but not found in dataset


Plugins:
+ CADTools (1008)
+ PicLayer (35104)
+ SeaMapEditor (34908)
+ apache-commons (35092)
+ apache-http (34908)
+ cadastre-fr (35194)
+ ejml (35122)
+ geotools (35169)
+ jaxb (35014)
+ jna (34908)
+ jts (35122)
+ opendata (35179)
+ reverter (35226)
+ tag2link (35149)
+ utilsplugin2 (35238)
+ wikipedia (1.1.3)

Tagging presets:
+ https://josm.openstreetmap.de/josmfile?page=Presets/Towers&zip=1
+ https://raw.githubusercontent.com/OpenNauticalChart/josm/master/INT-1-preset.xml
+ https://josm.openstreetmap.de/josmfile?page=Presets/Telecom&zip=1

Validator rules:
+ https://github.com/Jungle-Bus/transport_mapcss/raw/gh-pages/transport.validator.zip
+ ${HOME}/Downloads/Rules_Pictures.validator.mapcss

Last errors/warnings:
- E: java.lang.Exception
- E: Handled by bug report queue: java.lang.AssertionError: Primitive is of wrong data set for this command: {Node id=-351143 version=0 MV lat=50.96129583145158,lon=1.8536993304005862}
- E: Handled by bug report queue: java.lang.AssertionError: Primitive is of wrong data set for this command: {Node id=-351143 version=0 MV lat=50.96129583145158,lon=1.8536993304005862}
- E: Handled by bug report queue: java.lang.AssertionError: Primitive is of wrong data set for this command: {Node id=-351143 version=0 MV lat=50.96129583145158,lon=1.8536993304005862}
- E: Handled by bug report queue: java.lang.AssertionError: Primitive is of wrong data set for this command: {Node id=-351143 version=0 MV lat=50.96129583145158,lon=1.8536993304005862}
- E: Handled by bug report queue: org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Nodes in way must be in the same dataset
- E: Handled by bug report queue: org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Impossible d’ajouter l’objet {Node id=-351759 version=0 MV lat=50.961256940381475,lon=1.8536987894028425} au jeu de données parce qu’il est déjà inclu
- E: Handled by bug report queue: java.lang.AssertionError: Primitive is of wrong data set for this command: {Node id=-351143 version=0 MV lat=50.96129583145158,lon=1.8536993304005862}
- E: Handled by bug report queue: java.lang.AssertionError: Primitive is of wrong data set for this command: {Node id=-351143 version=0 MV lat=50.96129583145158,lon=1.8536993304005862}
- E: Handled by bug report queue: java.lang.AssertionError: Primitive is of wrong data set for this command: {Node id=-351143 version=0 MV lat=50.96129583145158,lon=1.8536993304005862}


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

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: AWT-EventQueue-2 (46) of javawsApplicationThreadGroup
java.lang.AssertionError: Primitive is of wrong data set for this command: {Node id=-351143 version=0 MV lat=50.96129583145158,lon=1.8536993304005862}
	at org.openstreetmap.josm.command.Command.ensurePrimitivesAreInDataset(Command.java:247)
	at org.openstreetmap.josm.command.MoveCommand.executeCommand(MoveCommand.java:252)
	at org.openstreetmap.josm.data.UndoRedoHandler.addNoRedraw(UndoRedoHandler.java:301)
	at org.openstreetmap.josm.data.UndoRedoHandler.add(UndoRedoHandler.java:355)
	at org.openstreetmap.josm.actions.mapmode.SelectAction.updateCommandWhileDragging(SelectAction.java:721)
	at org.openstreetmap.josm.actions.mapmode.SelectAction.mouseDragged(SelectAction.java:552)
	at java.awt.AWTEventMulticaster.mouseDragged(AWTEventMulticaster.java:320)
	at java.awt.Component.processMouseMotionEvent(Component.java:6587)
	at javax.swing.JComponent.processMouseMotionEvent(JComponent.java:3342)
	at java.awt.Component.processEvent(Component.java:6308)
	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:4552)
	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 (2)

comment:1 by skyper, 4 years ago

The important question is:

How did you get the data inconsistency?

The move action fails but the problem is somewhere before this action.

comment:2 by Don-vip, 4 years ago

Component: CorePlugin cadtools
Keywords: github added
Owner: changed from team to Anamaria.Rotariu
Resolution: othersoftware
Status: newclosed

Please report CADTools issues there: https://github.com/ROTARIUANAMARIA/CADTools/issues

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Anamaria.Rotariu.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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