Modify

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#20191 closed defect (duplicate)

Tried to open preferences.

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

Description

What steps will reproduce the problem?

  1. Open JOSM on Mac
  2. Click "Preferences"

What is the expected result?

  • Preferences window will open.

What happens instead?

  • Comes up with a message saying "unexpected error"

Please provide any additional information below. Attach a screenshot if possible.

Revision:17329
Is-Local-Build:true
Build-Date:2020-11-22 22:31:51

Identification: JOSM/1.5 (17329 SVN en) Mac OS X 10.16
OS Build number: macOS 11.0.1 (20B50)
Memory Usage: 208 MB / 8192 MB (60 MB allocated, but free)
Java version: 15.0.1+9, Azul Systems, Inc., OpenJDK 64-Bit Server VM
Look and Feel: com.formdev.flatlaf.FlatIntelliJLaf
Screen: Display 69992176 2048x1152 (scaling 2.0x2.0), Display 724060566 1920x1200 (scaling 1.0x1.0)
Maximum Screen Size: 2048x1200
Best cursor sizes: 16x16 -> 16x16, 32x32 -> 32x32
VM arguments: [-Dapple.awt.application.appearance=system, --module-path=/Applications/JOSM.app/Contents/app/mods]

Plugins:
+ FastDraw (35640)
+ Mapillary (1.5.28-1-g937e98c)
+ apache-commons (35524)
+ apache-http (35589)
+ auto_tools (73)
+ buildings_tools (35640)
+ easypresets (1605041256)
+ ejml (35458)
+ flatlaf (35652)
+ geotools (35458)
+ graphview (35640)
+ imagery_offset_db (35640)
+ javafx-osx (35655)
+ jaxb (35543)
+ jna (35458)
+ jts (35458)
+ markseen (14)
+ osm-obj-info (56)
+ reverter (35640)
+ rex (53)
+ tageditor (35640)
+ turnlanes (35640)
+ turnlanes-tagging (288)
+ turnrestrictions (35640)
+ utilsplugin2 (35640)

Tagging presets:
+ https://raw.githubusercontent.com/osmlab/name-suggestion-index/master/dist/name-suggestions.presets.xml  

Map paint styles:
- https://josm.openstreetmap.de/josmfile?page=Styles/Lane_and_Road_Attributes&zip=1
+ https://raw.githubusercontent.com/KaartGroup/Kaart-Styles/master/Kaart-Styles.mapcss
- https://josm.openstreetmap.de/josmfile?page=Styles/Coloured_Streets&zip=1
- https://raw.githubusercontent.com/KaartGroup/Kaart-Styles/master/Overlapping%20Ways.mapcss

Validator rules:
+ https://raw.githubusercontent.com/KaartGroup/KaartValidator/master/kaart.clingstone.validator.mapcss

Last errors/warnings:
- 00006.057 E: java.lang.UnsatisfiedLinkError: <josm.userdata>/plugins/javafx/libjfxmedia_avf.dylib: dlopen(<josm.userdata>/plugins/javafx/libjfxmedia_avf.dylib, 1): Library not loaded: @rpath/libgstreamer-lite.dylib
- 00006.377 E: java.lang.UnsatisfiedLinkError: <josm.userdata>/plugins/javafx/libfxplugins.dylib: dlopen(<josm.userdata>/plugins/javafx/libfxplugins.dylib, 1): Library not loaded: @rpath/libgstreamer-lite.dylib
- 00012.927 W: java.io.IOException: The requested URL https://raw.githubusercontent.com/osmlab/name-suggestion-index/master/dist/name-suggestions.presets.xml was not found
- 00013.029 E: java.io.IOException: No file found for: https://raw.githubusercontent.com/osmlab/name-suggestion-index/master/dist/name-suggestions.presets.xml
- 00013.029 E: https://raw.githubusercontent.com/osmlab/name-suggestion-index/master/dist/name-suggestions.presets.xml  
- 00193.791 E: java.io.IOException: Unable to find suitable java runtime at <java.home>/bin/java
- 00399.019 E: Handled by bug report queue: java.util.concurrent.RejectedExecutionException: Task java.util.concurrent.FutureTask@1f59502b[Not completed, task = java.util.concurrent.Executors$RunnableAdapter@7f35491c[Wrapped task = org.openstreetmap.josm.gui.preferences.imagery.CacheSettingsPanel$$Lambda$849/0x000000080080ed78@2cb7d74e]] rejected from org.openstreetmap.josm.gui.progress.swing.ProgressMonitorExecutor@2f24b4ef[Terminated, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 1]
- 00417.062 E: Handled by bug report queue: java.util.concurrent.RejectedExecutionException: Task java.util.concurrent.FutureTask@61db6736[Not completed, task = java.util.concurrent.Executors$RunnableAdapter@2ea2e0c3[Wrapped task = org.openstreetmap.josm.gui.preferences.imagery.CacheSettingsPanel$$Lambda$849/0x000000080080ed78@5106e283]] rejected from org.openstreetmap.josm.gui.progress.swing.ProgressMonitorExecutor@2f24b4ef[Terminated, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 1]


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

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: AWT-EventQueue-0 (20) of main
java.util.concurrent.RejectedExecutionException: Task java.util.concurrent.FutureTask@61db6736[Not completed, task = java.util.concurrent.Executors$RunnableAdapter@2ea2e0c3[Wrapped task = org.openstreetmap.josm.gui.preferences.imagery.CacheSettingsPanel$$Lambda$849/0x000000080080ed78@5106e283]] rejected from org.openstreetmap.josm.gui.progress.swing.ProgressMonitorExecutor@2f24b4ef[Terminated, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 1]
	at java.base/java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor.reject(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor.execute(Unknown Source)
	at org.openstreetmap.josm.gui.progress.swing.ProgressMonitorExecutor.execute(ProgressMonitorExecutor.java:40)
	at java.base/java.util.concurrent.AbstractExecutorService.submit(Unknown Source)
	at org.openstreetmap.josm.gui.preferences.imagery.CacheSettingsPanel.<init>(CacheSettingsPanel.java:76)
	at org.openstreetmap.josm.gui.preferences.imagery.ImageryPreference.<init>(ImageryPreference.java:61)
	at org.openstreetmap.josm.gui.preferences.imagery.ImageryPreference.<init>(ImageryPreference.java:53)
	at org.openstreetmap.josm.gui.preferences.imagery.ImageryPreference$Factory.createPreferenceSetting(ImageryPreference.java:69)
	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 java.desktop/javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
	at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
	at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
	at java.desktop/javax.swing.DefaultButtonModel.setPressed(Unknown Source)
	at java.desktop/javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
	at java.desktop/java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
	at java.desktop/java.awt.Component.processMouseEvent(Unknown Source)
	at java.desktop/javax.swing.JComponent.processMouseEvent(Unknown Source)
	at java.desktop/java.awt.Component.processEvent(Unknown Source)
	at java.desktop/java.awt.Container.processEvent(Unknown Source)
	at java.desktop/java.awt.Component.dispatchEventImpl(Unknown Source)
	at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.desktop/java.awt.Component.dispatchEvent(Unknown Source)
	at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
	at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
	at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
	at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.desktop/java.awt.Window.dispatchEventImpl(Unknown Source)
	at java.desktop/java.awt.Component.dispatchEvent(Unknown Source)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
	at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
	at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
	at java.base/java.security.AccessController.doPrivileged(Unknown Source)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.desktop/java.awt.EventQueue$5.run(Unknown Source)
	at java.desktop/java.awt.EventQueue$5.run(Unknown Source)
	at java.base/java.security.AccessController.doPrivileged(Unknown Source)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)

Change History (4)

comment:1 by skyper, 4 years ago

Similar to #20143. Removing the java-fx plugin could be a solution.

comment:2 by skyper, 4 years ago

Possible duplicate of #20143.

comment:3 by skyper, 4 years ago

Keywords: macos added
Resolution: duplicate
Status: newclosed

Closed as duplicate of #13784.

comment:4 by skyper, 4 years ago

Component: CoreCore restart

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.