Modify

Opened 13 days ago

Closed 13 days ago

#24316 closed defect (fixed)

JOSM stuck in startup process after installing plugin Mapillary

Reported by: anonymous Owned by: taylor.smock
Priority: normal Milestone:
Component: Plugin mapillary Version:
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

  1. install mapillary plugin
  2. restart josm

What is the expected result?

normal running JOSM with mapillary plugin

What happens instead?

startup stops at the stage "Erweiterung Mapillary wird geladen"[means "plugin mapillary is being loaded". Startup process is stuck there and does not continue.

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

Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2025-05-01 13:38:02 +0200 (Thu, 01 May 2025)
Revision:19396
Build-Date:2025-05-02 01:30:34
URL:https://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (19396 de) Linux Ubuntu 22.04.5 LTS
Memory Usage: 844 MB / 11862 MB (354 MB allocated, but free)
Java version: 11.0.27+6-post-Ubuntu-0ubuntu122.04, Ubuntu, OpenJDK 64-Bit Server VM
Look and Feel: javax.swing.plaf.metal.MetalLookAndFeel
Screen: :0.0 1920x1200x[Multi depth]@60Hz (scaling 1.00×1.00)
Maximum Screen Size: 1920×1200
Best cursor sizes: 16×16→16×16, 32×32→32×32
Environment variable LANG: de_DE.UTF-8
System property file.encoding: UTF-8
System property sun.jnu.encoding: UTF-8
Locale info: de_DE
Numbers with default locale: 1234567890 -> 1234567890
Desktop environment: ubuntu:GNOME
Java package: openjdk-11-jre:amd64-11.0.27+6~us1-0ubuntu1~22.04
Java ATK Wrapper package: libatk-wrapper-java:all-0.38.0-5build1
libcommons-logging-java: libcommons-logging-java:all-1.2-2
fonts-noto: fonts-noto:all-20201225-1build1
VM arguments: [--module-path=/usr/share/openjfx/lib, --add-modules=java.scripting,java.sql,javafx.controls,javafx.media,javafx.swing,javafx.web, -Djosm.restart=true, -Djava.net.useSystemProxies=true, -XX:MaxRAMPercentage=75.0, --add-exports=java.base/sun.security.action=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.plugins.jpeg=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.spi=ALL-UNNAMED]

Plugins:
+ Mapillary
+ buildings_tools
+ terracer

Last errors/warnings:
- 00002.437 W: Ungülitige Java Version "" im Plugin Mapillary
- 00003.567 W: Ungülitige Java Version "" im Plugin Mapillary
- 00019.551 E: Handled by bug report queue: java.lang.UnsupportedClassVersionError: org/openstreetmap/josm/plugins/mapillary/MapillaryPlugin has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0
- 00019.556 W: Cannot lock cache directory. Will not use disk cache



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

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: main (1)
java.lang.UnsupportedClassVersionError: org/openstreetmap/josm/plugins/mapillary/MapillaryPlugin has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0
	at java.base/java.lang.ClassLoader.defineClass1(Native Method)
	at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1022)
	at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:174)
	at java.base/java.net.URLClassLoader.defineClass(URLClassLoader.java:555)
	at java.base/java.net.URLClassLoader$1.run(URLClassLoader.java:458)
	at java.base/java.net.URLClassLoader$1.run(URLClassLoader.java:452)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:451)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:594)
	at org.openstreetmap.josm.plugins.PluginClassLoader.loadClass(PluginClassLoader.java:64)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:527)
	at java.base/java.lang.Class.forName0(Native Method)
	at java.base/java.lang.Class.forName(Class.java:398)
	at org.openstreetmap.josm.plugins.PluginInformation.loadClass(PluginInformation.java:402)
	at org.openstreetmap.josm.plugins.PluginHandler.loadPlugin(PluginHandler.java:864)
	at org.openstreetmap.josm.plugins.PluginHandler.loadPlugins(PluginHandler.java:927)
	at org.openstreetmap.josm.plugins.PluginHandler.loadLatePlugins(PluginHandler.java:1029)
	at org.openstreetmap.josm.gui.MainApplication.loadLatePlugins(MainApplication.java:1251)
	at org.openstreetmap.josm.gui.MainApplication.mainJOSM(MainApplication.java:1007)
	at org.openstreetmap.josm.gui.MainApplication$3.processArguments(MainApplication.java:280)
	at org.openstreetmap.josm.gui.MainApplication.main(MainApplication.java:766)

Attachments (0)

Change History (1)

comment:1 by stoecker, 13 days ago

Component: CorePlugin mapillary
Owner: changed from team to taylor.smock
Resolution: fixed
Status: newclosed

Mapillary is a Java 17 plugin and wont work with java 11. Either uninstall it or upgrade java.

Current release has an error in the metadata and thus does not inform josm about the fact. The next plugin release should solve that.

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. 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.