Modify

Opened 19 months ago

Closed 19 months ago

Last modified 19 months ago

#21057 closed defect (invalid)

MapWithAI: JOSM OOM followed by a failure to locate the mapwithai image

Reported by: anonymous Owned by: taylor.smock
Priority: normal Milestone:
Component: Plugin mapwithai Version:
Keywords: template_report 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-06-02 22:03:39 +0200 (Wed, 02 Jun 2021)
Build-Date:2021-06-02 20:11:30
Revision:17919
Relative:URL: ^/trunk

Identification: JOSM/1.5 (17919 en) Windows 10 64-Bit
OS Build number: Windows 10 Enterprise 1909 (18363)
Memory Usage: 247 MB / 247 MB (5 MB allocated, but free)
Java version: 1.8.0_291-b10, Oracle Corporation, Java HotSpot(TM) Client VM
Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel
Screen: \Display0 1920×1080 (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: en_US
Numbers with default locale: 1234567890 -> 1234567890
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%\Desktop\josm.jnlp, -Djnlpx.remove=false, -Djava.util.Arrays.useLegacyMergeSort=true, -Djnlpx.splashport=53380, -Djnlpx.jvm=<java.home>\bin\javaw.exe]
Dataset consistency test: No problems found

Plugins:
+ apache-commons (35524)
+ apache-http (35589)
+ jna (35662)
+ mapwithai (1.8.2)
+ utilsplugin2 (35691)

Map paint styles:
+ https://josm.openstreetmap.de/josmfile?page=Styles/MapWithAI&zip=1

Last errors/warnings:
- 00017.494 E: Unable to load class org.openstreetmap.josm.plugins.mapwithai.MapWithAIPlugin from plugin mapwithai using classloader PluginClassLoader [urls=[file:/C:/Users/<user.name>/Desktop/]]: java.lang.ClassNotFoundException: org.openstreetmap.josm.plugins.mapwithai.MapWithAIPlugin
- 00017.497 E: org.openstreetmap.josm.plugins.PluginException: An error occurred in plugin mapwithai. Cause: java.lang.ClassNotFoundException: org.openstreetmap.josm.plugins.mapwithai.MapWithAIPlugin
- 00017.546 W: Disable plugin - <html>Could not load plugin 'mapwithai' because the plugin<br>main class 'org.openstreetmap.josm.plugins.mapwithai.MapWithAIPlugin' was not found.<br>Delete from preferences?</html>
- 00455.146 E: Failed to locate image 'MapWithAI'
- 00455.155 E: Failed to locate image 'mapwithai'
- 00455.159 E: Failed to locate image 'mapwithai'
- 00455.165 E: Failed to locate image 'mapwithai'
- 00492.724 E: Handled by bug report queue: java.lang.OutOfMemoryError: Java heap space
- 00523.733 E: Handled by bug report queue: java.lang.reflect.InvocationTargetException. Cause: java.lang.OutOfMemoryError: Java heap space
- 00551.399 E: Handled by bug report queue: org.openstreetmap.josm.tools.JosmRuntimeException: Fatal: failed to locate image 'mapwithai.???'. This is a serious configuration problem. JOSM will stop working.



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

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: AWT-EventQueue-2 (58) of javawsApplicationThreadGroup
org.openstreetmap.josm.tools.JosmRuntimeException: Fatal: failed to locate image 'mapwithai.???'. This is a serious configuration problem. JOSM will stop working.
	at org.openstreetmap.josm.tools.ImageProvider.getResource(ImageProvider.java:718)
	at org.openstreetmap.josm.tools.ImageProvider.get(ImageProvider.java:656)
	at org.openstreetmap.josm.tools.ImageProvider.get(ImageProvider.java:785)
	at org.openstreetmap.josm.gui.preferences.TabPreferenceSetting.getIcon(TabPreferenceSetting.java:34)
	at org.openstreetmap.josm.gui.preferences.PreferenceTabbedPane.addGUITabs(PreferenceTabbedPane.java:537)
	at org.openstreetmap.josm.gui.preferences.PreferenceTabbedPane.buildGui(PreferenceTabbedPane.java:491)
	at org.openstreetmap.josm.gui.preferences.PreferenceDialog.build(PreferenceDialog.java:86)
	at org.openstreetmap.josm.gui.preferences.PreferenceDialog.<init>(PreferenceDialog.java:56)
	at org.openstreetmap.josm.actions.PreferencesAction.run(PreferencesAction.java:109)
	at org.openstreetmap.josm.actions.PreferencesAction.actionPerformed(PreferencesAction.java:104)
	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.DefaultButtonModel.setPressed(Unknown Source)
	at javax.swing.AbstractButton.doClick(Unknown Source)
	at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
	at javax.swing.plaf.basic.BasicMenuItemUI$Handler.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 (3)

comment:1 Changed 19 months ago by anonymous

Component: CorePlugin mapwithai
Owner: changed from team to taylor.smock

comment:2 Changed 19 months ago by taylor.smock

Resolution: invalid
Status: newclosed
Summary: MapwithAI plug-in errorMapWithAI: JOSM OOM followed by a failure to locate the mapwithai image

I'm betting that its an OOM. See https://josm.openstreetmap.de/wiki/Download#Outofmemory for how to fix that.

- 00492.724 E: Handled by bug report queue: java.lang.OutOfMemoryError: Java heap space
- 00523.733 E: Handled by bug report queue: java.lang.reflect.InvocationTargetException. Cause: java.lang.OutOfMemoryError: Java heap space
- 00551.399 E: Handled by bug report queue: org.openstreetmap.josm.tools.JosmRuntimeException: Fatal: failed to locate image 'mapwithai.???'. This is a serious configuration problem. JOSM will stop working.

EDIT:
Memory Usage: 247 MB / 247 MB (5 MB allocated, but free). This really lends credence to my above theory.

Last edited 19 months ago by taylor.smock (previous) (diff)

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

Replying to anonymous:

Identification: JOSM/1.5 (17919 en) Windows 10 64-Bit
OS Build number: Windows 10 Enterprise 1909 (18363)
Memory Usage: 247 MB / 247 MB (5 MB allocated, but free)
Java version: 1.8.0_291-b10, Oracle Corporation, Java HotSpot(TM) Client VM

Please, install a 64-bit java version.

Modify Ticket

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