Opened 3 years ago

Last modified 3 years ago

#22964 closed defect

IAE: Listener org.openstreetmap.josm.plugins.pt_assistant.actions.DoubleSplitAction was not registered before or already removed. — at Version 1

Reported by: kickingleaves@… Owned by: Biswesh
Priority: normal Milestone:
Component: Plugin pt_assistant Version:
Keywords: template_report Cc:

Description (last modified by skyper)

Bug appears when using the splitting tool (for bridges and culverts) and has recurred on several days. Latest versions of Mac Ventura and Firefox in use. Sorry but I have limited IT skills!

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:18721
Build-Date:2023-05-03 12:37:58

Identification: JOSM/1.5 (18721 en_GB) Mac OS X 13.4
OS Build number: macOS 13.4 (22F66)
Memory Usage: 1499 MB / 2048 MB (777 MB allocated, but free)
Java version: 17.0.7+7-LTS, Azul Systems, Inc., OpenJDK 64-Bit Server VM
Look and Feel: com.apple.laf.AquaLookAndFeel
Screen: Display 1 1440×900 (scaling 2.00×2.00)
Maximum Screen Size: 1440×900
Best cursor sizes: 16×16→16×16, 32×32→32×32
System property file.encoding: UTF-8
System property sun.jnu.encoding: UTF-8
Locale info: en_GB
Numbers with default locale: 1234567890 -> 1234567890
VM arguments: [-Djpackage.app-version=18721, --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.apple.eawt=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=/private/var/folders/04/vl9tj_0j6h596wm0lts1vgh80000gn/T/AppTranslocation/1C6B1B96-A1DB-470E-8055-98DCB92921BF/d/JOSM 18721.app/Contents/MacOS/JOSM]
Dataset consistency test: No problems found

Plugins:
+ FastDraw (36066)
+ SeaMapEditor (36079)
+ apache-commons (36034)
+ apache-http (35924)
+ buildings_tools (36011)
+ ejml (35924)
+ imagery_offset_db (36079)
+ jna (36005)
+ jts (36004)
+ mapathoner (1.4.3)
+ mapwithai (794)
+ markseen (14)
+ measurement (36066)
+ photo_geotagging (36079)
+ pt_assistant (2.1.15-19-g9aeec3c-SNAPSHOT)
+ reverter (36066)
+ scripting (v0.2.7)
+ terracer (36079)
+ todo (123)
+ tofix (490)
+ utilsplugin2 (36079)

Map paint styles:
+ https://github.com/MissingMaps/josm_styles/archive/master.zip
+ https://josm.openstreetmap.de/josmfile?page=Styles/MapWithAI&zip=1
+ ${HOME}/Documents/Volunteering/Red Cross HOTM/HOTOSM/Apple Paint Style/applepaintstyles-main.zip
- https://josm.openstreetmap.de/josmfile?page=Styles/PublicTransport&zip=1
- https://gitlab.com/peculiar-theater/mapcss/-/archive/main/mapcss-main.zip?path=osm-meta
- https://github.com/hotosm/HDM-JOSM-style/archive/master.zip
+ https://github.com/osmlab/appledata/archive/josm_paint_inline_validation.zip

Last errors/warnings:
- 03887.840 E: Error in layer change listener: java.lang.IllegalArgumentException: Listener org.openstreetmap.josm.plugins.pt_assistant.actions.DoubleSplitAction@6efbafc3 (instance of org.openstreetmap.josm.plugins.pt_assistant.actions.DoubleSplitAction) was not registered before or already removed.
- 03908.183 E: Error in layer change listener: java.lang.IllegalArgumentException: Listener org.openstreetmap.josm.plugins.pt_assistant.actions.DoubleSplitAction@6efbafc3 (instance of org.openstreetmap.josm.plugins.pt_assistant.actions.DoubleSplitAction) was not registered before or already removed.
- 03909.026 E: Error in layer change listener: java.lang.IllegalArgumentException: Listener org.openstreetmap.josm.plugins.pt_assistant.actions.DoubleSplitAction@6efbafc3 (instance of org.openstreetmap.josm.plugins.pt_assistant.actions.DoubleSplitAction) was not registered before or already removed.
- 03955.296 E: Error in layer change listener: java.lang.IllegalArgumentException: Listener org.openstreetmap.josm.plugins.pt_assistant.actions.DoubleSplitAction@6efbafc3 (instance of org.openstreetmap.josm.plugins.pt_assistant.actions.DoubleSplitAction) was not registered before or already removed.
- 03955.960 E: Error in layer change listener: java.lang.IllegalArgumentException: Listener org.openstreetmap.josm.plugins.pt_assistant.actions.DoubleSplitAction@6efbafc3 (instance of org.openstreetmap.josm.plugins.pt_assistant.actions.DoubleSplitAction) was not registered before or already removed.
- 03983.983 E: Handled by bug report queue: java.lang.IllegalArgumentException: Listener org.openstreetmap.josm.plugins.pt_assistant.actions.DoubleSplitAction@6efbafc3 (instance of org.openstreetmap.josm.plugins.pt_assistant.actions.DoubleSplitAction) was not registered before or already removed.
- 04008.360 E: Handled by bug report queue: java.lang.IllegalArgumentException: Listener org.openstreetmap.josm.plugins.pt_assistant.actions.DoubleSplitAction@6efbafc3 (instance of org.openstreetmap.josm.plugins.pt_assistant.actions.DoubleSplitAction) was not registered before or already removed.
- 04018.310 E: Handled by bug report queue: java.lang.IllegalArgumentException: Listener org.openstreetmap.josm.plugins.pt_assistant.actions.DoubleSplitAction@6efbafc3 (instance of org.openstreetmap.josm.plugins.pt_assistant.actions.DoubleSplitAction) was not registered before or already removed.
- 04021.700 E: Handled by bug report queue: java.lang.IllegalArgumentException: Listener org.openstreetmap.josm.plugins.pt_assistant.actions.DoubleSplitAction@6efbafc3 (instance of org.openstreetmap.josm.plugins.pt_assistant.actions.DoubleSplitAction) was not registered before or already removed.
- 04023.707 E: Handled by bug report queue: java.lang.IllegalArgumentException: Listener org.openstreetmap.josm.plugins.pt_assistant.actions.DoubleSplitAction@6efbafc3 (instance of org.openstreetmap.josm.plugins.pt_assistant.actions.DoubleSplitAction) was not registered before or already removed.



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

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: AWT-EventQueue-0 (23) of main
java.lang.IllegalArgumentException: Listener org.openstreetmap.josm.plugins.pt_assistant.actions.DoubleSplitAction@6efbafc3 (instance of org.openstreetmap.josm.plugins.pt_assistant.actions.DoubleSplitAction) was not registered before or already removed.
	at org.openstreetmap.josm.tools.ListenerList.failRemove(ListenerList.java:137)
	at org.openstreetmap.josm.tools.ListenerList.removeListener(ListenerList.java:131)
	at org.openstreetmap.josm.data.Preferences.removePreferenceChangeListener(Preferences.java:261)
	at org.openstreetmap.josm.actions.mapmode.MapMode.exitMode(MapMode.java:99)
	at org.openstreetmap.josm.plugins.pt_assistant.actions.DoubleSplitAction.exitMode(DoubleSplitAction.java:130)
	at org.openstreetmap.josm.gui.MapFrame.selectMapMode(MapFrame.java:498)
	at org.openstreetmap.josm.gui.MapFrame.selectMapMode(MapFrame.java:475)
	at org.openstreetmap.josm.actions.mapmode.MapMode.actionPerformed(MapMode.java:128)
	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)

Change History (1)

comment:1 by skyper, 3 years ago

Component: CorePlugin pt_assistant
Description: modified (diff)
Owner: changed from team to Biswesh
Summary: Bug appears when using the splitting tool (for bridges and culverts) and has recurred on several days. Latest versions of Mac Ventura and Firefox in use. Sorry but I have limited IT skills!IAE: Listener org.openstreetmap.josm.plugins.pt_assistant.actions.DoubleSplitAction was not registered before or already removed.

Sorry but I have limited IT skills!

There is no need of IT skills and tickets about defects are always appreciated. Though, a detailed step by step description and a small example file as attachment or at least some OSM object ids are usually helpful.

Note: See TracTickets for help on using tickets.