Modify

Opened 17 months ago

Closed 17 months ago

Last modified 17 months ago

#23337 closed defect (othersoftware)

error starting josm

Reported by: werner.queck@… Owned by: team
Priority: normal Milestone:
Component: Plugin Version: tested
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

  1. I started josm (version 18906) java -jar /opt/josm/josm-tested.jar

What is the expected result?

What happens instead?

initialization window --> loading extensions (plugins)

==> a separate window appears with the information (in german)

Eine unerwartete Ausnahme ist aufgetreten.
(nonexpected exception)

The additional information im that window see below.

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

Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2023-12-05 19:02:00 +0100 (Tue, 05 Dec 2023)
Revision:18906
Build-Date:2023-12-05 18:34:37
URL:https://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (18906 de) Linux Ubuntu 22.04.3 LTS
Memory Usage: 231 MB / 3996 MB (85 MB allocated, but free)
Java version: 14.0.2+12-Ubuntu-120.04, Private Build, OpenJDK 64-Bit Server VM
Look and Feel: com.sun.java.swing.plaf.gtk.GTKLookAndFeel
Screen: :0.0 1920×1200 (scaling 1.00×1.00) :0.1 1280×1024 (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: XFCE
Java ATK Wrapper package: libatk-wrapper-java:all-0.38.0-5build1
libcommons-compress-java: libcommons-compress-java:-
libcommons-logging-java: libcommons-logging-java:all-1.2-2
fonts-noto: fonts-noto:-
liboauth-signpost-java: liboauth-signpost-java:-

Plugins:
+ FastDraw
+ ImproveWay (32)
+ QuickLabel
+ Review.Changes
+ buildings_tools
+ measurement
+ utilsplugin2 (36178)

Tagging presets:
+ https://josm.openstreetmap.de/josmfile?page=Presets/hiking_routes_with_trail_marking&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/LaneAttributes&zip=1

Map paint styles:
- https://josm.openstreetmap.de/josmfile?page=Styles/Surface&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Osmc&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Cycleways&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Maxspeed&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Enhanced_Lane_and_Road_Attributes&zip=1

Last errors/warnings:
- 00018.203 E: Handled by bug report queue: java.lang.UnsupportedClassVersionError: org/openstreetmap/josm/plugins/davidkarlas/JosmReviewPlugin/JosmReviewPlugin 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 58.0



=== 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/davidkarlas/JosmReviewPlugin/JosmReviewPlugin 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 58.0
	at java.base/java.lang.ClassLoader.defineClass1(Native Method)
	at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1017)
	at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:151)
	at java.base/java.net.URLClassLoader.defineClass(URLClassLoader.java:514)
	at java.base/java.net.URLClassLoader$1.run(URLClassLoader.java:422)
	at java.base/java.net.URLClassLoader$1.run(URLClassLoader.java:416)
	at java.base/java.security.AccessController.doPrivileged(AccessController.java:691)
	at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:415)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:589)
	at org.openstreetmap.josm.plugins.PluginClassLoader.loadClass(PluginClassLoader.java:74)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
	at java.base/java.lang.Class.forName0(Native Method)
	at java.base/java.lang.Class.forName(Class.java:427)
	at org.openstreetmap.josm.plugins.PluginInformation.loadClass(PluginInformation.java:402)
	at org.openstreetmap.josm.plugins.PluginHandler.loadPlugin(PluginHandler.java:843)
	at org.openstreetmap.josm.plugins.PluginHandler.loadPlugins(PluginHandler.java:931)
	at org.openstreetmap.josm.plugins.PluginHandler.loadLatePlugins(PluginHandler.java:983)
	at org.openstreetmap.josm.gui.MainApplication.loadLatePlugins(MainApplication.java:1257)
	at org.openstreetmap.josm.gui.MainApplication.mainJOSM(MainApplication.java:962)
	at org.openstreetmap.josm.gui.MainApplication$3.processArguments(MainApplication.java:277)
	at org.openstreetmap.josm.gui.MainApplication.main(MainApplication.java:742)

Attachments (0)

Change History (3)

comment:1 by stoecker, 17 months ago

Resolution: othersoftware
Status: newclosed

As the error message says: You're using a plugin (JosmReviewPlugin) which isn't compatible to your Java version.

That's very likely an error in the plugin which doesn't correctly state the Java version it needs.

Please report the issue here (https://github.com/DavidKarlas/JosmReviewPlugin) and maybe also tell the author that his name is encoded wrong in the manifest.

The easiest way to workaround is to update Java version or to delete the plugin.

comment:2 by stoecker, 17 months ago

Component: CorePlugin

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.