Modify

Opened 7 months ago

Last modified 3 months ago

#21659 new defect

IAE: Listener org.openstreetmap.josm.plugins.fastdraw.FastDrawingMode was not registered before or already removed

Reported by: anonymous Owned by: akks
Priority: normal Milestone:
Component: Plugin FastDraw Version:
Keywords: template_report listener register remove 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.

URL:https://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2021-11-01 23:05:46 +0100 (Mon, 01 Nov 2021)
Build-Date:2021-11-01 22:25:18
Revision:18303
Relative:URL: ^/trunk

Identification: JOSM/1.5 (18303 pt_BR) Windows 10 64-Bit
OS Build number: Windows 10 Home 2009 (19043)
Memory Usage: 247 MB / 247 MB (7 MB allocated, but free)
Java version: 1.8.0_181-b13, Oracle Corporation, Java HotSpot(TM) Client VM
Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel
Screen: \Display0 1366×768 (scaling 1.00×1.00) \Display1 1360×768 (scaling 1.00×1.00)
Maximum Screen Size: 1366×768
Best cursor sizes: 16×16→32×32, 32×32→32×32
System property file.encoding: Cp1252
System property sun.jnu.encoding: Cp1252
Locale info: pt_BR
Numbers with default locale: 1234567890 -> 1234567890
Dataset consistency test: No problems found

Plugins:
+ FastDraw (35864)
+ buildings_tools (35823)
+ reverter (35869)
+ turnrestrictions (35640)
+ utilsplugin2 (35856)

Validator rules:
+ https://raw.githubusercontent.com/OSMBrasil/validador-josm/master/Rules_Brazilian-Specific.validator.mapcss
+ %UserProfile%\Documents\Open Street Maps\Josm\kaart.validator.mapcss

Last errors/warnings:
- 32947.602 W: javax.net.ssl.SSLException: Received fatal alert: internal_error
- 32947.644 E: Exception while applying condition[org.openstreetmap.josm.gui.mappaint.mapcss.ExpressionFactory$Factory$$Lambda$457/8166153@950f53]:: java.util.regex.PatternSyntaxException: Illegal character range near index 6
- 33233.435 E: Exception while applying condition[org.openstreetmap.josm.gui.mappaint.mapcss.ExpressionFactory$Factory$$Lambda$457/8166153@950f53]:: java.util.regex.PatternSyntaxException: Illegal character range near index 6
- 33728.885 E: Exception while applying condition[org.openstreetmap.josm.gui.mappaint.mapcss.ExpressionFactory$Factory$$Lambda$457/8166153@950f53]:: java.util.regex.PatternSyntaxException: Illegal character range near index 6
- 33789.538 E: Exception while applying condition[org.openstreetmap.josm.gui.mappaint.mapcss.ExpressionFactory$Factory$$Lambda$457/8166153@950f53]:: java.util.regex.PatternSyntaxException: Illegal character range near index 6
- 34423.464 W: java.net.SocketException: Unexpected end of file from server. Causa: java.net.SocketException: Unexpected end of file from server
- 34423.466 W: Already here java.net.SocketException: Unexpected end of file from server
- 34423.767 E: org.openstreetmap.josm.io.OsmTransferException: java.net.SocketException: Unexpected end of file from server. Causa: java.net.SocketException: Unexpected end of file from server. Causa: java.net.SocketException: Unexpected end of file from server
- 34423.797 E: Exceção de rede - <html>Falha ao abrir uma conexão com o servidor remoto<br>' https://api.openstreetmap.org/api/0.6/'.<br>Por favor, verifique sua conexão de internet.</html>
- 37533.842 E: Handled by bug report queue: java.lang.IllegalArgumentException: Listener org.openstreetmap.josm.plugins.fastdraw.FastDrawingMode@271616 (instance of org.openstreetmap.josm.plugins.fastdraw.FastDrawingMode) 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 (19) of main
java.lang.IllegalArgumentException: Listener org.openstreetmap.josm.plugins.fastdraw.FastDrawingMode@271616 (instance of org.openstreetmap.josm.plugins.fastdraw.FastDrawingMode) 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:86)
	at org.openstreetmap.josm.plugins.fastdraw.FastDrawingMode.exitMode(FastDrawingMode.java:125)
	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:115)
	at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
	at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
	at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
	at javax.swing.JToggleButton$ToggleButtonModel.setPressed(Unknown Source)
	at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
	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 (5)

comment:1 Changed 7 months ago by skyper

Ticket #21660 has been marked as a duplicate of this ticket.

comment:2 Changed 7 months ago by skyper

Component: CorePlugin FastDraw
Owner: changed from team to akks
Summary: Unespected errorIllegalArgumentException: Listener org.openstreetmap.josm.plugins.fastdraw.FastDrawingMode

Looks like a duplicate of #17366. Was the new version of the plugin proper released?

comment:3 in reply to:  description Changed 7 months ago by skyper

Replying to anonymous:

Identification: JOSM/1.5 (18303 pt_BR) Windows 10 64-Bit
OS Build number: Windows 10 Home 2009 (19043)
Memory Usage: 247 MB / 247 MB (7 MB allocated, but free)
Java version: 1.8.0_181-b13, Oracle Corporation, Java HotSpot(TM) Client VM

Please, always use a 64-bit java version on a 64-bit operating system. This should automatically increase the available memory which is quite low with only 247 MB.
Your java version is outdated, please, update, at least, to latest release of 1.8.0.

comment:4 Changed 7 months ago by skyper

Keywords: listener register remove added
Summary: IllegalArgumentException: Listener org.openstreetmap.josm.plugins.fastdraw.FastDrawingModeIAE: Listener org.openstreetmap.josm.plugins.fastdraw.FastDrawingMode was not registered before or already removed

comment:5 Changed 3 months ago by floscher

I can confirm this issue with the current version of the plugin.

Steps to reproduce:

  • Enter FastDraw mode, but do not commit the currently drawn line (so the line is still highlighted in orange)
  • upload the changes to the server
  • change editing mode

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain akks.
as The resolution will be set.
to The owner will be changed from akks to the specified user.
The owner will change to anonymous
as duplicate The resolution will be set to duplicate.The specified ticket will be cross-referenced with this ticket
The owner will be changed from akks to anonymous.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.