Opened 4 years ago
Closed 4 years ago
#20226 closed defect (invalid)
Critical Error when starting JOSM
Reported by: | anonymous | Owned by: | anonymous |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Plugin mapwithai | Version: | tested |
Keywords: | template_report | Cc: |
Description
What steps will reproduce the problem?
- Start JOSM
What is the expected result?
JOSM starts
What happens instead?
Critical error appears
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: 2020-11-21 14:56:29 +0100 (Sat, 21 Nov 2020) Build-Date:2020-11-22 02:30:52 Revision:17329 Relative:URL: ^/trunk Identification: JOSM/1.5 (17329 de) Windows 10 64-Bit OS Build number: Windows 10 Enterprise 1803 (17134) Memory Usage: 247 MB / 989 MB (145 MB allocated, but free) Java version: 1.8.0_271-b09, Oracle Corporation, Java HotSpot(TM) Client VM Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel Screen: \Display0 1920x1080 (scaling 1.0x1.0), \Display1 2560x1080 (scaling 1.0x1.0) Maximum Screen Size: 2560x1080 Best cursor sizes: 16x16 -> 32x32, 32x32 -> 32x32 Plugins: + BuildingGeneralization (23) + DirectUpload (35583) + HouseNumberTaggingTool (35581) + ImportImagePlugin + ImproveWay (29) + PicLayer (2a9aa7a) + ShapeTools (1240) + SimplifyArea (35579) + apache-commons (35524) + apache-http (35092) + buildings_tools + cadastre-fr + contourmerge (v0.1.6) + ejml (35313) + geotools (35169) + imagery_offset_db (35640) + jna (35092) + jts (35122) + log4j (35092) + mapwithai + measurement (35579) + reltoolbox (35602) + terracer (35579) + turnrestrictions (35640) + utilsplugin2 (35476) Map paint styles: + https://josm.openstreetmap.de/josmfile?page=Styles/MapWithAI&zip=1 Last errors/warnings: - 00024,661 E: Handled by bug report queue: java.lang.UnsupportedClassVersionError: org/openstreetmap/josm/plugins/mapwithai/MapWithAIPlugin 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/mapwithai/MapWithAIPlugin 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:73) 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:382) at org.openstreetmap.josm.plugins.PluginHandler.loadPlugin(PluginHandler.java:803) at org.openstreetmap.josm.plugins.PluginHandler.loadPlugins(PluginHandler.java:892) at org.openstreetmap.josm.plugins.PluginHandler.loadLatePlugins(PluginHandler.java:944) at org.openstreetmap.josm.gui.MainApplication.loadLatePlugins(MainApplication.java:1158) at org.openstreetmap.josm.gui.MainApplication.mainJOSM(MainApplication.java:922) at org.openstreetmap.josm.gui.MainApplication$3.processArguments(MainApplication.java:277) at org.openstreetmap.josm.gui.MainApplication.main(MainApplication.java:714)
Attachments (0)
Change History (3)
follow-up: 2 comment:1 by , 4 years ago
Component: | Core → Plugin mapwithai |
---|---|
Owner: | changed from | to
Priority: | major → normal |
comment:2 by , 4 years ago
Owner: | changed from | to
---|---|
Status: | new → needinfo |
Replying to Klumbumbus:
There is no version number behind the plugin in the status report. Can this be fixed in the plugin?
Answer: It should have been fixed in the plugin a long time ago. I think this might be due to a missing Plugin-Version
entry in the META-INF/MANIFEST.MF
. It should have only affected the early versions of the plugin. Current release versions (I looked at v1.7.1.1) show the version number.
I ran through through all available release files (again), and none of the MapWithAIPlugin.class
files had the class version 55 (Java 11). All had the class version 52 (Java 8).
Absent the reporter coming back and uploading a copy of the jar file, I will be unable to help (beyond telling the reporter to update plugins).
comment:3 by , 4 years ago
Resolution: | → invalid |
---|---|
Status: | needinfo → closed |
@anonymous: please update your plugins
There is no version number behind the plugin in the status report. Can this be fixed in the plugin?