Modify

Opened 4 years ago

Closed 3 days ago

#13641 closed defect (fixed)

IAE: Attempted to add listener that was already in list in seachart plugin

Reported by: anonymous Owned by: malcolmh
Priority: normal Milestone:
Component: Plugin seachart Version:
Keywords: template_report gsoc-core regression Cc: michael2402

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.

URL:http://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2016-09-06 00:16:07 +0200 (Tue, 06 Sep 2016)
Build-Date:2016-09-05 22:21:00
Revision:10966
Relative:URL: ^/trunk

Identification: JOSM/1.5 (10966 ru) Windows 8.1 64-Bit
Memory Usage: 514 MB / 900 MB (266 MB allocated, but free)
Java version: 1.8.0_73-b02, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Screen: \Display0 1366x768, \Display1 1920x1080
Maximum Screen Size: 1920x1080
VM arguments: [-Djava.security.manager, -Djava.security.policy=file:<java.home>\lib\security\javaws.policy, -DtrustProxy=true, -Djnlpx.home=<java.home>\bin, -Djnlpx.origFilenameArg=%UserProfile%\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\56\1ee8cfb8-7bed82b7, -Djnlpx.remove=false, -Djava.util.Arrays.useLegacyMergeSort=true, -Djnlpx.splashport=1560, -Djnlp.application.href=https://josm.openstreetmap.de/download/josm.jnlp, -Djnlpx.jvm=<java.home>\bin\javaw.exe, -Djnlpx.vmargs=LURqYXZhLnV0aWwuQXJyYXlzLnVzZUxlZ2FjeU1lcmdlU29ydD10cnVlAC1Eam5scC5hcHBsaWNhdGlvbi5ocmVmPWh0dHBzOi8vam9zbS5vcGVuc3RyZWV0bWFwLmRlL2Rvd25sb2FkL2pvc20uam5scAA=]

Dataset consistency test:
[WARN - NO NODES] Way {Way id=425091780 version=1 V nodes=[{Node id=4244200442 version=1 V lat=48.2613986,lon=22.485226}]} has only one node


Plugins:
+ ColorPlugin (1414145445)
+ Create_grid_of_ways (32699)
+ DirectDownload (32699)
+ FastDraw (32938)
+ SeaChart (32699)
+ SeaMapEditor (32767)
+ apache-commons (32699)
+ apache-http (32699)
+ ejml (32680)
+ geojson (43)
+ geotools (32813)
+ gson (32680)
+ imagery-xml-bounds (32699)
+ imagery_offset_db (32796)
+ imageryadjust (32699)
+ jts (32699)
+ mapdust (32787)
+ splinex (32918)
+ turnrestrictions (32796)
+ utilsplugin2 (32815)
+ wikipedia (32884)

Last errors/warnings:
- W: Unable to get color from '' for color preference 'improve.way.accuracy.helper.line'
- W: Unable to get color from '' for color preference 'make.parallel.helper.line'
- W: Unable to get color from '' for color preference 'extrude.main.line'
- W: Unable to get color from '' for color preference 'helper.line'
- W: Unable to get color from '' for color preference 'improve.way.accuracy.helper.line'
- W: Unable to get color from '' for color preference 'make.parallel.helper.line'
- W: Unable to get color from '' for color preference 'extrude.main.line'
- W: Unable to get color from '' for color preference 'helper.line'
- W: Unable to get color from '' for color preference 'improve.way.accuracy.helper.line'
- W: Unable to get color from '' for color preference 'make.parallel.helper.line'


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

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: AWT-EventQueue-2 (54) of javawsApplicationThreadGroup
java.lang.IllegalArgumentException: Attempted to add listener that was already in list: seachart.SeachartAction@6dde300c
	at org.openstreetmap.josm.gui.layer.MainLayerManager.addActiveLayerChangeListener(MainLayerManager.java:175)
	at org.openstreetmap.josm.gui.layer.MainLayerManager.addAndFireActiveLayerChangeListener(MainLayerManager.java:186)
	at seachart.SeachartAction.createChartLayer(SeachartAction.java:131)
	at seachart.SeachartAction$2.run(SeachartAction.java:121)
	at java.awt.event.InvocationEvent.dispatch(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.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 (3)

comment:1 Changed 4 years ago by Klumbumbus

Cc: michael2402 added
Component: CorePlugin seachart
Keywords: gsoc-core regression added
Owner: changed from team to malcolmh
Summary: BugIAE: Attempted to add listener that was already in list in seachart plugin

comment:2 Changed 4 years ago by malcolmh

Please update plugin & detail steps that reproduce this problem.

comment:3 Changed 3 days ago by malcolmh

Resolution: fixed
Status: newclosed

In absence of feedback, assume to be fixed

Modify Ticket

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