Modify

#19488 closed defect (fixed)

JOSM crashes after adding new node

Reported by: anonymous Owned by: taylor.smock
Priority: normal Milestone:
Component: Plugin mapwithai Version: latest
Keywords: template_report Cc: taylor.smock

Description

What steps will reproduce the problem?

  1. JOSM simple crashes after I add a new node

What is the expected result?

What happens instead?

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: 2020-06-30 19:13:42 +0200 (Tue, 30 Jun 2020)
Build-Date:2020-07-01 01:30:51
Revision:16731
Relative:URL: ^/trunk

Identification: JOSM/1.5 (16731 en_GB) Windows 10 64-Bit
OS Build number: Windows 10 Enterprise 1909 (18363)
Memory Usage: 821 MB / 1820 MB (358 MB allocated, but free)
Java version: 1.8.0_144-b01, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel
Screen: \Display0 1366x768 (scaling 1.0x1.0)
Maximum Screen Size: 1366x768
Best cursor sizes: 16x16 -> 32x32, 32x32 -> 32x32
Dataset consistency test: No problems found

Plugins:
+ ImportImagePlugin (35248)
+ Mapillary (1.5.23)
+ apache-commons (35362)
+ apache-http (35092)
+ auto_tools (73)
+ buildings_tools (35474)
+ ejml (35313)
+ geotools (35169)
+ javafx-windows (35458)
+ jaxb (35092)
+ jna (35092)
+ jts (35122)
+ log4j (35092)
+ mapwithai
+ mbtiles (v2.6.1)
+ opendata (35405)
+ reverter (35474)
+ terracer (35327)
+ todo (30306)
+ utilsplugin2 (35476)
+ wikipedia (1.1.4)

Tagging presets:
+ https://josm.openstreetmap.de/josmfile?page=Presets/trotro_bus_stop&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/Quick-highways&zip=1

Map paint styles:
- <josm.pref>\styles\sit.mapcss
- https://github.com/bastik/mapcss-tools/raw/osm/mapnik2mapcss/osm-results/mapnik.zip
- https://josm.openstreetmap.de/josmfile?page=Styles/PublicTransportV2&zip=1
+ https://github.com/osmlab/appledata/archive/josm_paint_inline_validation.zip
+ https://josm.openstreetmap.de/josmfile?page=Styles/MapWithAI&zip=1

Validator rules:
+ <josm.pref>\validator\indoorhelper.validator.mapcss

Last errors/warnings:
- E: Exception raised in EDT: java.util.concurrent.ExecutionException: java.lang.NoSuchMethodError: org.openstreetmap.josm.data.UndoRedoHandler.getUndoCommands()Ljava/util/LinkedList;. Cause: java.lang.NoSuchMethodError: org.openstreetmap.josm.data.UndoRedoHandler.getUndoCommands()Ljava/util/LinkedList;
- E: org.openstreetmap.josm.plugins.PluginException: An error occurred in plug-in mapwithai. Cause: java.lang.reflect.InvocationTargetException. Cause: java.lang.NullPointerException
- W: Disable plug-in - Could not load plug-in 'mapwithai'. Delete from preferences?
- E: Handled by bug report queue: java.lang.NoSuchMethodError: org.openstreetmap.josm.data.UndoRedoHandler.getUndoCommands()Ljava/util/LinkedList;
- E: Handled by bug report queue: java.lang.NoSuchMethodError: org.openstreetmap.josm.data.UndoRedoHandler.getUndoCommands()Ljava/util/LinkedList;
- E: Handled by bug report queue: java.lang.NoSuchMethodError: org.openstreetmap.josm.data.UndoRedoHandler.getUndoCommands()Ljava/util/LinkedList;
- E: Handled by bug report queue: java.lang.NoSuchMethodError: org.openstreetmap.josm.data.UndoRedoHandler.getUndoCommands()Ljava/util/LinkedList;
- E: Handled by bug report queue: java.lang.NoSuchMethodError: org.openstreetmap.josm.data.UndoRedoHandler.getUndoCommands()Ljava/util/LinkedList;
- E: Handled by bug report queue: java.lang.NoSuchMethodError: org.openstreetmap.josm.data.UndoRedoHandler.getUndoCommands()Ljava/util/LinkedList;
- E: Handled by bug report queue: java.lang.NoSuchMethodError: org.openstreetmap.josm.data.UndoRedoHandler.getUndoCommands()Ljava/util/LinkedList;


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

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: AWT-EventQueue-0 (18) of main
java.lang.NoSuchMethodError: org.openstreetmap.josm.data.UndoRedoHandler.getUndoCommands()Ljava/util/LinkedList;
	at org.openstreetmap.josm.plugins.mapwithai.backend.MapWithAIDataUtils.lambda$getAddedObjects$26(MapWithAIDataUtils.java:533)
	at org.openstreetmap.josm.gui.util.GuiHelper.runInEDTAndWaitAndReturn(GuiHelper.java:262)
	at org.openstreetmap.josm.plugins.mapwithai.backend.MapWithAIDataUtils.getAddedObjects(MapWithAIDataUtils.java:533)
	at org.openstreetmap.josm.plugins.mapwithai.backend.MapWithAIObject.setText(MapWithAIObject.java:53)
	at org.openstreetmap.josm.plugins.mapwithai.backend.MapWithAIObject.commandChanged(MapWithAIObject.java:49)
	at org.openstreetmap.josm.data.UndoRedoHandler.fireCommandsChanged(UndoRedoHandler.java:427)
	at org.openstreetmap.josm.data.UndoRedoHandler.afterAdd(UndoRedoHandler.java:321)
	at org.openstreetmap.josm.data.UndoRedoHandler.add(UndoRedoHandler.java:355)
	at org.openstreetmap.josm.actions.mapmode.DrawAction.mouseReleased(DrawAction.java:656)
	at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
	at java.awt.Component.processMouseEvent(Unknown Source)
	at javax.swing.JComponent.processMouseEvent(Unknown Source)
	at java.awt.Component.processEvent(Unknown Source)
	at java.awt.Container.processEvent(Unknown Source)
	at java.awt.Component.dispatchEventImpl(Unknown Source)
	at java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.awt.Component.dispatchEvent(Unknown Source)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
	at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
	at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
	at java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.awt.Window.dispatchEventImpl(Unknown Source)
	at java.awt.Component.dispatchEvent(Unknown Source)
	at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
	at java.awt.EventQueue.access$500(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.awt.EventQueue$4.run(Unknown Source)
	at java.awt.EventQueue$4.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.run(Unknown Source)

Attachments (0)

Change History (7)

comment:1 in reply to:  description Changed 17 months ago by skyper

Cc: taylor.smock added
Component: CorePlugin mapillary
Owner: changed from team to cbeddow

Replying to anonymous:

…
Java version: 1.8.0_144-b01, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
…

You should update you java run time environment.

comment:2 Changed 17 months ago by Klumbumbus

Why do you think it is related to the mapillary plugin?

comment:3 Changed 17 months ago by Sammyhawkrad

Version: latest

This was from the latest version 1673, I reverted to the previous version and everything is working fine

comment:4 in reply to:  2 Changed 17 months ago by skyper

Replying to Klumbumbus:

Why do you think it is related to the mapillary plugin?

Sorry, I misread/chose the wrong component.. It is mapwithAI not mapillary present in the exception log.

Last edited 17 months ago by skyper (previous) (diff)

comment:5 Changed 17 months ago by stoecker

Component: Plugin mapillaryPlugin mapwithai
Owner: changed from cbeddow to taylor.smock

comment:6 Changed 17 months ago by taylor.smock

I think you just need to update the MapWithAI plugin--the error was fixed in the past month or so, when the method signature changed. You should be running v1.6.x.

comment:7 Changed 17 months ago by Klumbumbus

Resolution: fixed
Status: newclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain taylor.smock.
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.