#22477 closed defect (fixed)
UnsupportedClassVersionError: MapathonerPlugin has been compiled by Java 11 (55) instead of Java 8 (52)
Reported by: | Owned by: | team | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Plugin mapathoner | Version: | latest |
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: 2022-10-06 21:10:57 +0200 (Thu, 06 Oct 2022) Build-Date:2022-10-07 01:30:59 Revision:18570 Relative:URL: ^/trunk Identification: JOSM/1.5 (18570 en) Windows 11 64-Bit OS Build number: Windows 10 Home 2009 (25227) Memory Usage: 399 MB / 2684 MB (93 MB allocated, but free) Java version: 1.8.0_351-b10, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel Screen: \Display0 1366×768 (scaling 1.00×1.00) Maximum Screen Size: 1366×768 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 Plugins: + CADTools (1008) + FastDraw + Tracer2 + buildings_tools + contourmerge + mapathoner + splinex + utilsplugin2 (36011) Map paint styles: + https://github.com/osmlab/appledata/archive/josm_paint_inline_validation.zip + https://github.com/MissingMaps/josm_styles/archive/master.zip - https://josm.openstreetmap.de/josmfile?page=Styles/MapWithAI&zip=1 - https://github.com/osmlab/applepaintstyles/archive/main.zip Last errors/warnings: - 00012.086 W: Failed to delete outdated plugin '<josm.pref>\plugins\contourmerge.jar'. - 00012.088 W: Failed to install already downloaded plugin 'contourmerge'. Skipping installation. JOSM is still going to load the old plugin version. - 00012.090 W: Failed to delete outdated plugin '<josm.pref>\plugins\FastDraw.jar'. - 00012.092 W: Failed to install already downloaded plugin 'FastDraw'. Skipping installation. JOSM is still going to load the old plugin version. - 00012.095 W: Failed to delete outdated plugin '<josm.pref>\plugins\Tracer2.jar'. - 00012.095 W: Failed to install already downloaded plugin 'Tracer2'. Skipping installation. JOSM is still going to load the old plugin version. - 00012.097 W: Failed to delete outdated plugin '<josm.pref>\plugins\utilsplugin2.jar'. - 00012.098 W: Failed to install already downloaded plugin 'utilsplugin2'. Skipping installation. JOSM is still going to load the old plugin version. - 00022.371 W: Cannot lock cache directory. Will not use disk cache - 00022.963 E: Handled by bug report queue: java.lang.UnsupportedClassVersionError: org/openstreetmap/josm/plugins/mapathoner/MapathonerPlugin has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.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/mapathoner/MapathonerPlugin has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.access$100(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at org.openstreetmap.josm.plugins.PluginClassLoader.loadClass(PluginClassLoader.java:74) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at org.openstreetmap.josm.plugins.PluginInformation.loadClass(PluginInformation.java:402) at org.openstreetmap.josm.plugins.PluginHandler.loadPlugin(PluginHandler.java:810) at org.openstreetmap.josm.plugins.PluginHandler.loadPlugins(PluginHandler.java:898) at org.openstreetmap.josm.plugins.PluginHandler.loadLatePlugins(PluginHandler.java:950) at org.openstreetmap.josm.gui.MainApplication.loadLatePlugins(MainApplication.java:1232) 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 (1)
Change History (8)
by , 2 years ago
Attachment: | Screenshot (63).png added |
---|
comment:1 by , 2 years ago
Component: | Core bugreport → Plugin mapathoner |
---|
comment:2 by , 2 years ago
Summary: | I was using old version and now i have downloaded latest version and its showing error.I have to fix it. → UnsupportedClassVersionError: MapathonerPlugin has been compiled by Java 11 (55) instead of Java 8 (52) |
---|
comment:3 by , 2 years ago
Mapathoner version 1.3.1 is released with build downgraded to Java 8: https://git.sr.ht/~qeef/mapathoner/refs
comment:4 by , 2 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
follow-up: 6 comment:5 by , 2 years ago
May I be somehow notified whenever new issue for the mapathoner plugin is created?
follow-up: 7 comment:6 by , 2 years ago
Replying to qeef:
May I be somehow notified whenever new issue for the mapathoner plugin is created?
This should be done now.
EDIT: To clarify, I didn't know if you had an account on JOSM Trac, and if so, what it was.
comment:7 by , 2 years ago
Replying to taylor.smock:
Replying to qeef:
May I be somehow notified whenever new issue for the mapathoner plugin is created?
This should be done now.
EDIT: To clarify, I didn't know if you had an account on JOSM Trac, and if so, what it was.
I know you can not know and I am very thankful for your feedback on mapathoner's GitLab. Thank you for the set up.
It is showing this everytime.