Modify

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#18435 closed defect (duplicate)

CAD Tools : from irregular polygon to regular polygon - Crash after CTRL+Z

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

Description

What steps will reproduce the problem?

  1. select https://www.openstreetmap.org/way/179499177
  2. cut object (ALT+X)
  3. select "lighthouse"
  4. Use CAD Tools : from irregular polygon to regular polygon
  5. "Rollback" (CTRL+Z)

What is the expected result?

return to the previous geometry

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-12-15 17:37:20 +0100 (Sun, 15 Dec 2019)
Build-Date:2019-12-16 02:30:56
Revision:15595
Relative:URL: ^/trunk

Identification: JOSM/1.5 (15595 fr) Mac OS X 10.14.6
OS Build number: Mac OS X 10.14.6 (18G95)
Memory Usage: 842 MB / 1820 MB (95 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=1898671124 version=3 MV lat=46.48978525132911,lon=-1.8047979446324491} is referenced by {Way id=-198351 version=0 MVT nodes=[{Node id=1898671124 version=3 MV lat=46.48978525132911,lon=-1.8047979446324491}, {Node id=1898670811 version=3 MV lat=46.48973623198022,lon=-1.8048047452504394}, {Node id=1898670778 version=3 MV lat=46.48973281715757,lon=-1.8047528175427354}, {Node id=1898671093 version=3 MV lat=46.489781836509536,lon=-1.8047460169247451}, {Node id=1898671124 version=3 MV lat=46.48978525132911,lon=-1.8047979446324491}]} but not found in dataset
[NO DATASET] {Node id=1898671093 version=3 MV lat=46.489781836509536,lon=-1.8047460169247451} is referenced by {Way id=-198351 version=0 MVT nodes=[{Node id=1898671124 version=3 MV lat=46.48978525132911,lon=-1.8047979446324491}, {Node id=1898670811 version=3 MV lat=46.48973623198022,lon=-1.8048047452504394}, {Node id=1898670778 version=3 MV lat=46.48973281715757,lon=-1.8047528175427354}, {Node id=1898671093 version=3 MV lat=46.489781836509536,lon=-1.8047460169247451}, {Node id=1898671124 version=3 MV lat=46.48978525132911,lon=-1.8047979446324491}]} but not found in dataset
[NO DATASET] {Node id=1898671124 version=3 MV lat=46.48978525132911,lon=-1.8047979446324491} is referenced by {Way id=-198351 version=0 MVT nodes=[{Node id=1898671124 version=3 MV lat=46.48978525132911,lon=-1.8047979446324491}, {Node id=1898670811 version=3 MV lat=46.48973623198022,lon=-1.8048047452504394}, {Node id=1898670778 version=3 MV lat=46.48973281715757,lon=-1.8047528175427354}, {Node id=1898671093 version=3 MV lat=46.489781836509536,lon=-1.8047460169247451}, {Node id=1898671124 version=3 MV lat=46.48978525132911,lon=-1.8047979446324491}]} but not found in dataset
[NO DATASET] {Node id=3841472972 version=2 MV lat=46.48984566475402,lon=-1.8047118762460201} is referenced by {Way id=380838937 version=3 VT nodes=[{Node id=3841472972 version=2 MV lat=46.48984566475402,lon=-1.8047118762460201}, {Node id=3841472971 version=2 MVT lat=46.48987222695778,lon=-1.8046268012233737}]} but not found in dataset


Plugins:
+ CADTools (1008)
+ PicLayer (35248)
+ SeaMapEditor (35248)
+ apache-commons (35092)
+ apache-http (35092)
+ cadastre-fr (35248)
+ ejml (35122)
+ geotools (35169)
+ jaxb (35092)
+ jna (35092)
+ jts (35122)
+ opendata (35248)
+ reverter (35248)
+ tag2link (35248)
+ utilsplugin2 (35248)
+ 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.NullPointerException
- E: Could not find layer BALISAGE_BDD_WMSV
- E: java.lang.NullPointerException
- E: Impossible de trouver l'image "https://raw.githubusercontent.com/OpenNauticalChart/josm/master/icons/svg/Q/Q90/black.svg"
- E: Impossible de trouver l'image "https://raw.githubusercontent.com/OpenNauticalChart/josm/master/icons/svg/Q/Q90/black.svg"
- E: Impossible de trouver l'image "https://raw.githubusercontent.com/OpenNauticalChart/josm/master/icons/svg/Q/Q90/black.svg"
- W: JOSM devrait trouver lʼobjet [nœud 1898671093] dans le jeu de données, mais il nʼest pas là. Merci de le signaler à https://josm.openstreetmap.de. Ce nʼest pas une erreur critique, il ne devrait pas y avoir de problème pour continuer votre travail.
- E: java.lang.Exception
- E: Handled by bug report queue: java.lang.AssertionError: Primitive is of wrong data set for this command: {Node id=3841472972 version=2 MV lat=46.48984566475402,lon=-1.8047118762460201}
- E: Handled by bug report queue: java.lang.AssertionError: Primitive is of wrong data set for this command: {Node id=1898671394 version=3 MV lat=46.48986875778674,lon=-1.8047258309769632}


=== 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=1898671394 version=3 MV lat=46.48986875778674,lon=-1.8047258309769632}
	at org.openstreetmap.josm.command.Command.ensurePrimitivesAreInDataset(Command.java:247)
	at org.openstreetmap.josm.command.MoveCommand.undoCommand(MoveCommand.java:269)
	at org.openstreetmap.josm.data.UndoRedoHandler.lambda$undo$0(UndoRedoHandler.java:380)
	at org.openstreetmap.josm.gui.util.GuiHelper.runInEDTAndWait(GuiHelper.java:217)
	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 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.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
	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 (1)

Capture d’écran 2019-12-18 à 16.54.16.png (98.9 KB ) - added by pyrog 4 years ago.
screen copy

Download all attachments as: .zip

Change History (5)

by pyrog, 4 years ago

screen copy

comment:1 by stoecker, 4 years ago

Component: CorePlugin cadtools
Owner: changed from team to Anamaria.Rotariu

comment:2 by pyrog, 4 years ago

can't upload modified data :-(
some nodes aren't selectable.

comment:3 by Don-vip, 4 years ago

Resolution: othersoftware
Status: newclosed

We don't support this plugin. Please report issues there: https://github.com/ROTARIUANAMARIA/CADTools

comment:4 by skyper, 4 years ago

Resolution: othersoftwareduplicate

duplicate of #17879

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.