Modify

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#21916 closed defect (duplicate)

IAE: Attempted to add listener that was already in list: RoadSigns

Reported by: anonymous Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: template_report RoadSigns Cc:

Description

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:18360
Build-Date:2022-01-02 23:53:33

Identification: JOSM/1.5 (18360 de) Windows 10 64-Bit
OS Build number: Windows 10 Pro 2009 (19044)
Memory Usage: 240 MB / 4094 MB (30 MB allocated, but free)
Java version: 17.0.1+12-LTS, Azul Systems, Inc., OpenJDK 64-Bit Server VM
Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel
Screen: \Display0 1366×768 (scaling 1.00×1.00) \Display1 1920×1080 (scaling 1.00×1.00)
Maximum Screen Size: 1920×1080
Best cursor sizes: 16×16→32×32, 32×32→32×32
System property file.encoding: Cp1252
System property sun.jnu.encoding: Cp1252
Locale info: de_DE
Numbers with default locale: 1234567890 -> 1234567890
VM arguments: [-Djpackage.app-version=1.5.18360, --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.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=%UserProfile%\AppData\Local\JOSM\JOSM.exe]

Plugins:
+ AddrInterpolation
+ DirectDownload
+ FixAddresses
+ HouseNumberTaggingTool
+ ImportImagePlugin
+ OpeningHoursEditor
+ PicLayer
+ RoadSigns
+ SeaMapEditor
+ apache-commons
+ ejml
+ geochat
+ geotools
+ jaxb (35893)
+ jogl
+ jts
+ kendzi3d
+ kendzi3d-resources
+ log4j (35893)
+ measurement
+ michigan_left
+ pdfimport
+ photo_geotagging
+ print
+ public_transport
+ reverter
+ turnrestrictions
+ utilsplugin2

Tagging presets:
+ http://www.country-linedance.de/daten/Verkehrszeichen-vorlage.zip
+ http://osmtools.de/josm/steps.xml
+ https://josm.openstreetmap.de/josmfile?page=Presets/NewTags&zip=1

Map paint styles:
+ https://josm.openstreetmap.de/josmfile?page=Styles/AddressValidator&style&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/MaxspeedIcons&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/Power&style&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/ParkingLanes&style&zip=1

Last errors/warnings:
- 00012.944 W:   : Could not get presets icon presets/traffic-light.png
- 00013.099 E: Fehler beim Laden des Bildes 'http://www.country-linedance.de/daten/image/pavement.png'
- 00013.263 E: Fehler beim Laden des Bildes 'http://www.country-linedance.de/daten/image/DE_220;DE_267.png'
- 00013.269 E: Handled by bug report queue: org.openstreetmap.josm.tools.JosmRuntimeException: java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException: Attempted to add listener that was already in list:  RoadSigns. Ursache: java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException: Attempted to add listener that was already in list:  RoadSigns. Ursache: java.lang.IllegalArgumentException: Attempted to add listener that was already in list:  RoadSigns
- 00013.405 E: Fehler beim Laden des Bildes 'http://www.country-linedance.de/daten/image/DE_220;DE_267.png'
- 00013.561 E: Fehler beim Laden des Bildes 'http://www.country-linedance.de/daten/image/20.png'
- 00013.738 W: [WAY] pavements: Could not get presets icon http://www.country-linedance.de/daten/image/pavement.png
- 00013.739 W:   : Could not get presets icon http://www.country-linedance.de/daten/image/DE_220;DE_267.png
- 00013.739 W: [WAY]  : Could not get presets icon http://www.country-linedance.de/daten/image/DE_220;DE_267.png
- 00013.739 W: [WAY] Maxspeed 20: Could not get presets icon http://www.country-linedance.de/daten/image/20.png



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

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: main (1)
org.openstreetmap.josm.tools.JosmRuntimeException: java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException: Attempted to add listener that was already in list:  RoadSigns
	at org.openstreetmap.josm.spi.lifecycle.Lifecycle.initialize(Lifecycle.java:93)
	at org.openstreetmap.josm.gui.MainApplication.mainJOSM(MainApplication.java:951)
	at org.openstreetmap.josm.gui.MainApplication$3.processArguments(MainApplication.java:281)
	at org.openstreetmap.josm.gui.MainApplication.main(MainApplication.java:739)
Caused by: java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException: Attempted to add listener that was already in list:  RoadSigns
	at java.base/java.util.concurrent.FutureTask.report(Unknown Source)
	at java.base/java.util.concurrent.FutureTask.get(Unknown Source)
	at org.openstreetmap.josm.spi.lifecycle.Lifecycle.initialize(Lifecycle.java:78)
	... 3 more
Caused by: java.lang.IllegalArgumentException: Attempted to add listener that was already in list:  RoadSigns
	at org.openstreetmap.josm.gui.layer.MainLayerManager.addActiveLayerChangeListener(MainLayerManager.java:177)
	at org.openstreetmap.josm.gui.tagging.presets.TaggingPresets.initialize(TaggingPresets.java:93)
	at org.openstreetmap.josm.spi.lifecycle.InitializationTask.call(InitializationTask.java:33)
	at org.openstreetmap.josm.spi.lifecycle.InitializationTask.call(InitializationTask.java:11)
	at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.base/java.lang.Thread.run(Unknown Source)

Attachments (0)

Change History (6)

comment:1 by skyper, 3 years ago

Component: CorePlugin roadsigns
Resolution: duplicate
Status: newclosed
Summary: BugIAE: Attempted to add listener that was already in list: RoadSigns
Version: latest

Closed as duplicate of #21740.
Replying to anonymous:

Plugins:
+ AddrInterpolation
+ DirectDownload
+ FixAddresses
+ HouseNumberTaggingTool
+ ImportImagePlugin
+ OpeningHoursEditor
+ PicLayer
+ RoadSigns
+ SeaMapEditor
+ apache-commons
+ ejml
+ geochat
+ geotools
+ jaxb (35893)
+ jogl
+ jts
+ kendzi3d
+ kendzi3d-resources
+ log4j (35893)
+ measurement
+ michigan_left
+ pdfimport
+ photo_geotagging
+ print
+ public_transport
+ reverter
+ turnrestrictions
+ utilsplugin2

As the plugin version numbers are missing, it looks like they are not loaded properly. Did you try to update them?

in reply to:  description comment:2 by skyper, 3 years ago

Looking at comment 6 on #21740 again, the problem might be the external preset "Verkehrszeichen".

comment:3 by anonymous, 3 years ago

I disabled "Verkehrszeichen". still doesn't start

comment:4 by anonymous, 3 years ago

I disabled "Vorlagen" "Verkehrszeichen". now start

in reply to:  4 comment:5 by skyper, 3 years ago

Component: Plugin roadsignsExternal preset
Keywords: RoadSigns added

comment:6 by skyper, 3 years ago

Component: External presetCore

Problem was in core.

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.