Modify

Opened 26 hours ago

Closed 17 hours ago

#24820 closed defect (othersoftware)

JOSM Frozen and displaying a report bug screen upon opening laptop from sleep overnight

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

Description

What steps will reproduce the problem?

Unsure – these are the last things I did before re-opening my laptop:

  1. Left computer as was, with JOSM open
  2. Put computer to sleep
  3. Opened computer ~12 hours later

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

Revision:19555
Build-Date:2026-03-30 09:44:38

Identification: JOSM/1.5 (19555 en) Mac OS X 26.5.2
OS Build number: macOS 26.5.2 (25F84)
Memory Usage: 1264 MB / 18432 MB (641 MB allocated, but free)
Java version: 21.0.10+7-LTS, Azul Systems, Inc., OpenJDK 64-Bit Server VM
Look and Feel: javax.swing.plaf.metal.MetalLookAndFeel
Screen: Display 3 2560x1440x32bpp@75Hz (scaling 1.00×1.00)
Maximum Screen Size: 2560×1440
Best cursor sizes: 16×16→16×16, 32×32→32×32
System property file.encoding: UTF-8
System property sun.jnu.encoding: UTF-8
Locale info: en_NZ
Numbers with default locale: 1234567890 -> 1234567890
VM arguments: [-Djpackage.app-version=19555, -XX:MaxRAMPercentage=75.0, --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.apple.eawt=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=/Applications/JOSM.app/Contents/MacOS/JOSM]
Dataset consistency test: No problems found

Plugins:
+ ColorPlugin (46)
+ PicLayer (273)
+ buildings_tools (36474)
+ indoorhelper (266)
+ utilsplugin2 (36497)

Map paint styles:
+ <josm.userdata>/plugins/indoorhelper/resources/sit.mapcss

Last errors/warnings:
- 00004.136 W: Update plugins - Last plugin update more than 34 days ago.
- 00019.116 E: Failed to locate image 'https://ecan.govt.nz/favicon.ico'
- 00020.179 E: Failed to locate image 'https://koordinates.a.ssl.fastly.net/media/settings/branding/favicon-lds.ico'
- 00020.429 E: Failed to locate image 'https://koordinates.a.ssl.fastly.net/media/settings/branding/favicon-lds.ico'
- 00450.368 E: Failed to locate image 'https://koordinates.a.ssl.fastly.net/media/settings/branding/favicon-lds.ico'
- 40917.893 E: Handled by bug report queue: java.lang.ClassCastException: class sun.java2d.opengl.CGLGraphicsConfig cannot be cast to class sun.java2d.metal.MTLGraphicsConfig (sun.java2d.opengl.CGLGraphicsConfig and sun.java2d.metal.MTLGraphicsConfig are in module java.desktop of loader 'bootstrap')
- 40917.896 E: Handled by bug report queue: java.lang.ClassCastException: class sun.java2d.opengl.CGLGraphicsConfig cannot be cast to class sun.java2d.metal.MTLGraphicsConfig (sun.java2d.opengl.CGLGraphicsConfig and sun.java2d.metal.MTLGraphicsConfig are in module java.desktop of loader 'bootstrap')



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

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: AWT-EventQueue-0 (42) of main
java.lang.ClassCastException: class sun.java2d.opengl.CGLGraphicsConfig cannot be cast to class sun.java2d.metal.MTLGraphicsConfig (sun.java2d.opengl.CGLGraphicsConfig and sun.java2d.metal.MTLGraphicsConfig are in module java.desktop of loader 'bootstrap')
	at java.desktop@21.0.10/sun.java2d.metal.MTLVolatileSurfaceManager.initAcceleratedSurface(Unknown Source)
	at java.desktop@21.0.10/sun.awt.image.VolatileSurfaceManager.initialize(Unknown Source)
	at java.desktop@21.0.10/sun.awt.image.SunVolatileImage.<init>(Unknown Source)
	at java.desktop@21.0.10/sun.awt.image.SunVolatileImage.<init>(Unknown Source)
	at java.desktop@21.0.10/java.awt.GraphicsConfiguration.createCompatibleVolatileImage(Unknown Source)
	at java.desktop@21.0.10/java.awt.GraphicsConfiguration.createCompatibleVolatileImage(Unknown Source)
	at java.desktop@21.0.10/javax.swing.RepaintManager.getVolatileOffscreenBuffer(Unknown Source)
	at java.desktop@21.0.10/javax.swing.RepaintManager$PaintManager.paint(Unknown Source)
	at java.desktop@21.0.10/javax.swing.RepaintManager.paint(Unknown Source)
	at java.desktop@21.0.10/javax.swing.JComponent.paint(Unknown Source)
	at java.desktop@21.0.10/java.awt.GraphicsCallback$PaintCallback.run(Unknown Source)
	at java.desktop@21.0.10/sun.awt.SunGraphicsCallback.runOneComponent(Unknown Source)
	at java.desktop@21.0.10/sun.awt.SunGraphicsCallback.runComponents(Unknown Source)
	at java.desktop@21.0.10/java.awt.Container.paint(Unknown Source)
	at java.desktop@21.0.10/java.awt.Window.paint(Unknown Source)
	at java.desktop@21.0.10/javax.swing.RepaintManager$4.run(Unknown Source)
	at java.desktop@21.0.10/javax.swing.RepaintManager$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.desktop@21.0.10/javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
	at java.desktop@21.0.10/javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
	at java.desktop@21.0.10/javax.swing.RepaintManager.prePaintDirtyRegions(Unknown Source)
	at java.desktop@21.0.10/javax.swing.RepaintManager$ProcessingRunnable.run(Unknown Source)
	at java.desktop@21.0.10/java.awt.event.InvocationEvent.dispatch(Unknown Source)
	at java.desktop@21.0.10/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
	at java.desktop@21.0.10/java.awt.EventQueue$4.run(Unknown Source)
	at java.desktop@21.0.10/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.desktop@21.0.10/java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.desktop@21.0.10/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.desktop@21.0.10/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.desktop@21.0.10/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.desktop@21.0.10/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.desktop@21.0.10/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.desktop@21.0.10/java.awt.EventDispatchThread.run(Unknown Source)

Attachments (0)

Change History (1)

comment:1 by stoecker, 17 hours ago

Resolution: othersoftware
Status: newclosed

That's a bug in Java itself. Maybe another Java release doesn't have it anymore. Nothing JOSM can do.

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.