Modify

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#22167 closed defect (duplicate)

IAE: Listener was not registered before: LayerChangeAdapter

Reported by: georges.dutreix@… Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: template_report Cc:

Description

Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2022-05-29 21:53:52 +0200 (Sun, 29 May 2022)
Revision:18463
Build-Date:2022-05-30 01:30:57
URL:https://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (18463 fr) Linux Debian GNU/Linux 11 (bullseye)
Memory Usage: 992 MB / 8192 MB (153 MB allocated, but free)
Java version: 11.0.15+10-post-Debian-1deb11u1, Debian, OpenJDK 64-Bit Server VM
Look and Feel: javax.swing.plaf.metal.MetalLookAndFeel
Screen: :0.0 1920×1080 (scaling 1.00×1.00) :0.1 1600×1200 (scaling 1.00×1.00)
Maximum Screen Size: 1920×1200
Best cursor sizes: 16×16→16×16, 32×32→32×32
Environment variable LANG: fr_FR.UTF-8
System property file.encoding: UTF-8
System property sun.jnu.encoding: UTF-8
Locale info: fr_FR
Numbers with default locale: 1234567890 -> 1234567890
Desktop environment: X-Cinnamon
Java package: openjdk-11-jre:amd64-11.0.15+10-1~deb11u1
Java ATK Wrapper package: libatk-wrapper-java:all-0.38.0-2+deb11u1
libcommons-logging-java: libcommons-logging-java:-
fonts-noto: fonts-noto:all-20201225-1

Plugins:
+ FastDraw (35893)
+ KartaView (387)
+ OpeningHoursEditor (35924)
+ apache-commons (35924)
+ apache-http (35924)
+ areaselector (405)
+ austriaaddresshelper (1597341117)
+ buildings_tools (35951)
+ cadastre-fr (35893)
+ contourmerge (v0.1.9)
+ easypresets (1623509627)
+ ejml (35924)
+ geotools (35959)
+ indoorhelper (1.2.1)
+ jackson (35958)
+ jaxb (35952)
+ jna (35924)
+ jts (35924)
+ log4j (35924)
+ openqa (0.3.0)
+ photo_geotagging (35933)
+ reverter (35972)
+ todo (30306)
+ turnrestrictions (35893)
+ utilsplugin2 (35970)

Tagging presets:
+ <josm.userdata>/EasyPresets.xml

Map paint styles:
- https://josm.openstreetmap.de/josmfile?page=Styles/Coloured_Streets&zip=1
- <josm.userdata>/plugins/indoorhelper/resources/sit.mapcss

Validator rules:
+ https://josm.openstreetmap.de/josmfile?page=Rules/FranceSpecificRules&zip=1

Last errors/warnings:
- 14746.370 W: java.net.SocketException: Unexpected end of file from server. Cause : java.net.SocketException: Unexpected end of file from server
- 14746.403 E: org.openstreetmap.josm.io.OsmTransferException: java.net.SocketException: Unexpected end of file from server. Cause : java.net.SocketException: Unexpected end of file from server. Cause : java.net.SocketException: Unexpected end of file from server
- 14746.407 E: Exception de réseau - <html>Échec lors de l’ouverture d’une connexion au serveur distant <br>"https://api.openstreetmap.org/api/0.6/" <br>Veuillez vérifier votre connexion à Internet.</html>
- 15685.761 W: JCS - Silent failure during download: https://tms.cadastre.openstreetmap.fr/*/tout/19/258713/185021.png
- 15687.802 W: JCS - Silent failure during download: https://tms.cadastre.openstreetmap.fr/*/tout/19/258713/185025.png
- 15691.642 W: JCS - Silent failure during download: https://tms.cadastre.openstreetmap.fr/*/tout/19/258713/185020.png
- 15692.041 W: JCS - Silent failure during download: https://tms.cadastre.openstreetmap.fr/*/tout/19/258713/185023.png
- 15696.486 W: JCS - Silent failure during download: https://tms.cadastre.openstreetmap.fr/*/tout/19/258713/185024.png
- 20230.901 W: JCS - Silent failure during download: https://tms.cadastre.openstreetmap.fr/*/tout/19/258729/185032.png
- 20762.536 E: Handled by bug report queue: java.lang.IllegalArgumentException: Listener was not registered before: LayerChangeAdapter [org.openstreetmap.josm.plugins.areaselector.AreaSelectorAction@6d420cdd]



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

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: AWT-EventQueue-0 (20) of main
java.lang.IllegalArgumentException: Listener was not registered before: LayerChangeAdapter [org.openstreetmap.josm.plugins.areaselector.AreaSelectorAction@6d420cdd]
	at org.openstreetmap.josm.gui.layer.LayerManager.removeLayerChangeListener(LayerManager.java:434)
	at org.openstreetmap.josm.actions.JosmAction.destroy(JosmAction.java:277)
	at org.openstreetmap.josm.gui.IconToggleButton.destroy(IconToggleButton.java:73)
	at org.openstreetmap.josm.gui.MapFrame.destroy(MapFrame.java:359)
	at org.openstreetmap.josm.gui.MainPanel.updateContent(MainPanel.java:59)
	at org.openstreetmap.josm.gui.MainPanel$1.afterLastLayerRemoved(MainPanel.java:162)
	at org.openstreetmap.josm.gui.layer.MainLayerManager.realRemoveSingleLayer(MainLayerManager.java:334)
	at org.openstreetmap.josm.gui.layer.LayerManager.realRemoveLayer(LayerManager.java:266)
	at org.openstreetmap.josm.gui.layer.LayerManager.lambda$removeLayer$1(LayerManager.java:248)
	at org.openstreetmap.josm.gui.util.GuiHelper.runInEDTAndWaitWithException(GuiHelper.java:246)
	at org.openstreetmap.josm.gui.layer.LayerManager.removeLayer(LayerManager.java:248)
	at org.openstreetmap.josm.gui.layer.LayerManager.realResetState(LayerManager.java:515)
	at org.openstreetmap.josm.gui.layer.MainLayerManager.realResetState(MainLayerManager.java:516)
	at org.openstreetmap.josm.gui.util.GuiHelper.runInEDTAndWaitWithException(GuiHelper.java:246)
	at org.openstreetmap.josm.gui.layer.LayerManager.resetState(LayerManager.java:506)
	at org.openstreetmap.josm.gui.MainTermination.run(MainTermination.java:43)
	at org.openstreetmap.josm.spi.lifecycle.Lifecycle.exitJosm(Lifecycle.java:121)
	at org.openstreetmap.josm.gui.MainApplication.exitJosm(MainApplication.java:522)
	at org.openstreetmap.josm.gui.MainFrame$ExitWindowAdapter.windowClosing(MainFrame.java:199)
	at java.desktop/java.awt.AWTEventMulticaster.windowClosing(AWTEventMulticaster.java:357)
	at java.desktop/java.awt.AWTEventMulticaster.windowClosing(AWTEventMulticaster.java:357)
	at java.desktop/java.awt.Window.processWindowEvent(Window.java:2078)
	at java.desktop/javax.swing.JFrame.processWindowEvent(JFrame.java:298)
	at java.desktop/java.awt.Window.processEvent(Window.java:2037)
	at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5011)
	at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
	at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2772)
	at java.desktop/java.awt.Component.dispatchEvent(Component.java:4843)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95)
	at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745)
	at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:743)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
	at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)

Attachments (0)

Change History (2)

comment:1 by taylor.smock, 4 years ago

Resolution: duplicate
Status: newclosed

Closed as duplicate of #21902.

comment:2 by taylor.smock, 4 years ago

Summary: error message while closing the appIAE: Listener was not registered before: LayerChangeAdapter

I've got a PR fixing this issue here: https://github.com/JOSM/areaselector/pull/49

It is just waiting for someone with write access to the github repo to merge it and do a release.

Modify Ticket

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