Modify ↓
Opened 6 years ago
Last modified 6 years ago
#16967 new enhancement
WARNING: sun.reflect.Reflection.getCallerClass is not supported
Reported by: | naoliv | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Plugin importimage | Version: | |
Keywords: | Cc: |
Description
I am seeing this at the console:
2018-11-09 02:31:28.083 INFO: loading plugin 'ImportImagePlugin' (version 34576) WARNING: sun.reflect.Reflection.getCallerClass is not supported. This will impact performance.
JOSM:
Relative:URL: ^/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2018-11-07 22:38:38 +0100 (Wed, 07 Nov 2018) Revision:14418 Build-Date:2018-11-08 02:34:19 URL:https://josm.openstreetmap.de/svn/trunk Identification: JOSM/1.5 (14418 en) Linux Debian GNU/Linux unstable (sid) Memory Usage: 321 MB / 3072 MB (142 MB allocated, but free) Java version: 11.0.1+13-Debian-2, Oracle Corporation, OpenJDK 64-Bit Server VM Screen: :0.0 1920x1080 Maximum Screen Size: 1920x1080 Java package: openjdk-11-jre:amd64-11.0.1+13-2 Java ATK Wrapper package: libatk-wrapper-java:all-0.33.3-21 VM arguments: [-Dawt.useSystemAAFontSettings=gasp] Program arguments: [--language=en] Plugins: + ImportImagePlugin (34576) + OpeningHoursEditor (34535) + SimplifyArea (34586) + apache-commons (34506) + buildings_tools (34572) + download_along (34503) + editgpx (34506) + ejml (34389) + geojson (87) + geotools (34513) + jaxb (34506) + jogl (1.2.2) + jts (34524) + log4j (34527) + measurement (34529) + merge-overlap (34664) + opendata (34698) + reverter (34552) + tageditor (34560) + todo (30306) + turnlanes-tagging (272) + turnrestrictions (34643) + undelete (34568) + utilsplugin2 (34506) + wikipedia (v1.1.1)
Attachments (0)
Change History (5)
comment:1 by , 6 years ago
comment:2 by , 6 years ago
Indeed :-)
2018-11-20 17:57:20.809 FINEST: Plugin class not found in PluginClassLoader [urls=[file:/home/naoliv/.josm/plugins/log4j.jar]]: sun.reflect.Reflection 2018-11-20 17:57:20.810 FINEST: java.lang.ClassNotFoundException: sun.reflect.Reflection 2018-11-20 17:57:20.810 FINEST: Plugin class not found in PluginClassLoader [urls=[file:/home/naoliv/.josm/plugins/jts.jar]]: sun.reflect.Reflection 2018-11-20 17:57:20.810 FINEST: java.lang.ClassNotFoundException: sun.reflect.Reflection 2018-11-20 17:57:20.810 FINEST: Plugin class not found in PluginClassLoader [urls=[file:/home/naoliv/.josm/plugins/ejml.jar]]: sun.reflect.Reflection 2018-11-20 17:57:20.810 FINEST: java.lang.ClassNotFoundException: sun.reflect.Reflection 2018-11-20 17:57:20.811 FINEST: Plugin class not found in PluginClassLoader [urls=[file:/home/naoliv/.josm/plugins/geotools.jar], dependencies=[PluginClassLoader [urls=[file:/home/naoliv/.josm/plugins/jts.jar]], PluginClassLoader [urls=[file:/home/naoliv/.josm/plugins/ejml.jar]]]]: sun.reflect.Reflection 2018-11-20 17:57:20.811 FINEST: java.lang.ClassNotFoundException: sun.reflect.Reflection WARNING: sun.reflect.Reflection.getCallerClass is not supported. This will impact performance.
comment:3 by , 6 years ago
Mmm still I don't know who makes the call. What happens if you add --illegal-access=deny
as JVM argument?
comment:5 by , 6 years ago
A more complete output, where we can see JOSM loading ImportImagePlugin
and giving warning for sun.reflect.Reflection.getCallerClass
:
2018-11-20 18:50:16.054 FINE: Loading plugin 'geojson'... 2018-11-20 18:50:16.057 INFO: loading plugin 'geojson' (version 87) 2018-11-20 18:50:16.058 FINE: Loading plugin 'todo'... 2018-11-20 18:50:16.061 INFO: loading plugin 'todo' (version 30306) 2018-11-20 18:50:16.061 FINE: Loading plugin 'ImportImagePlugin'... 2018-11-20 18:50:16.062 FINEST: Plugin class not found in PluginClassLoader [urls=[file:/home/naoliv/.josm/plugins/log4j.jar]]: org.openstreetmap.josm.plugins.ImportImagePlugin.ImportImagePlugin 2018-11-20 18:50:16.062 FINEST: java.lang.ClassNotFoundException: org.openstreetmap.josm.plugins.ImportImagePlugin.ImportImagePlugin 2018-11-20 18:50:16.062 FINEST: Plugin class not found in PluginClassLoader [urls=[file:/home/naoliv/.josm/plugins/jts.jar]]: org.openstreetmap.josm.plugins.ImportImagePlugin.ImportImagePlugin 2018-11-20 18:50:16.063 FINEST: java.lang.ClassNotFoundException: org.openstreetmap.josm.plugins.ImportImagePlugin.ImportImagePlugin 2018-11-20 18:50:16.063 FINEST: Plugin class not found in PluginClassLoader [urls=[file:/home/naoliv/.josm/plugins/ejml.jar]]: org.openstreetmap.josm.plugins.ImportImagePlugin.ImportImagePlugin 2018-11-20 18:50:16.063 FINEST: java.lang.ClassNotFoundException: org.openstreetmap.josm.plugins.ImportImagePlugin.ImportImagePlugin 2018-11-20 18:50:16.063 FINEST: Plugin class not found in PluginClassLoader [urls=[file:/home/naoliv/.josm/plugins/geotools.jar], dependencies=[PluginClassLoader [urls=[file:/home/naoliv/.josm/plugins/jts.jar]], PluginClassLoader [urls=[file:/home/naoliv/.josm/plugins/ejml.jar]]]]: org.openstreetmap.josm.plugins.Impor tImagePlugin.ImportImagePlugin 2018-11-20 18:50:16.065 FINEST: java.lang.ClassNotFoundException: org.openstreetmap.josm.plugins.ImportImagePlugin.ImportImagePlugin 2018-11-20 18:50:16.067 FINEST: Plugin class not found in PluginClassLoader [urls=[file:/home/naoliv/.josm/plugins/log4j.jar]]: org.openstreetmap.josm.plugins.ImportImagePlugin.LoadImageAction 2018-11-20 18:50:16.067 FINEST: java.lang.ClassNotFoundException: org.openstreetmap.josm.plugins.ImportImagePlugin.LoadImageAction 2018-11-20 18:50:16.067 FINEST: Plugin class not found in PluginClassLoader [urls=[file:/home/naoliv/.josm/plugins/jts.jar]]: org.openstreetmap.josm.plugins.ImportImagePlugin.LoadImageAction 2018-11-20 18:50:16.067 FINEST: java.lang.ClassNotFoundException: org.openstreetmap.josm.plugins.ImportImagePlugin.LoadImageAction 2018-11-20 18:50:16.067 FINEST: Plugin class not found in PluginClassLoader [urls=[file:/home/naoliv/.josm/plugins/ejml.jar]]: org.openstreetmap.josm.plugins.ImportImagePlugin.LoadImageAction 2018-11-20 18:50:16.068 FINEST: java.lang.ClassNotFoundException: org.openstreetmap.josm.plugins.ImportImagePlugin.LoadImageAction 2018-11-20 18:50:16.068 FINEST: Plugin class not found in PluginClassLoader [urls=[file:/home/naoliv/.josm/plugins/geotools.jar], dependencies=[PluginClassLoader [urls=[file:/home/naoliv/.josm/plugins/jts.jar]], PluginClassLoader [urls=[file:/home/naoliv/.josm/plugins/ejml.jar]]]]: org.openstreetmap.josm.plugins.Impor tImagePlugin.LoadImageAction 2018-11-20 18:50:16.068 FINEST: java.lang.ClassNotFoundException: org.openstreetmap.josm.plugins.ImportImagePlugin.LoadImageAction 2018-11-20 18:50:16.069 FINEST: Plugin class not found in PluginClassLoader [urls=[file:/home/naoliv/.josm/plugins/log4j.jar]]: org.openstreetmap.josm.plugins.ImportImagePlugin.ImportImageFileImporter 2018-11-20 18:50:16.069 FINEST: java.lang.ClassNotFoundException: org.openstreetmap.josm.plugins.ImportImagePlugin.ImportImageFileImporter 2018-11-20 18:50:16.069 FINEST: Plugin class not found in PluginClassLoader [urls=[file:/home/naoliv/.josm/plugins/jts.jar]]: org.openstreetmap.josm.plugins.ImportImagePlugin.ImportImageFileImporter 2018-11-20 18:50:16.069 FINEST: java.lang.ClassNotFoundException: org.openstreetmap.josm.plugins.ImportImagePlugin.ImportImageFileImporter 2018-11-20 18:50:16.070 FINEST: Plugin class not found in PluginClassLoader [urls=[file:/home/naoliv/.josm/plugins/ejml.jar]]: org.openstreetmap.josm.plugins.ImportImagePlugin.ImportImageFileImporter 2018-11-20 18:50:16.070 FINEST: java.lang.ClassNotFoundException: org.openstreetmap.josm.plugins.ImportImagePlugin.ImportImageFileImporter 2018-11-20 18:50:16.070 FINEST: Plugin class not found in PluginClassLoader [urls=[file:/home/naoliv/.josm/plugins/geotools.jar], dependencies=[PluginClassLoader [urls=[file:/home/naoliv/.josm/plugins/jts.jar]], PluginClassLoader [urls=[file:/home/naoliv/.josm/plugins/ejml.jar]]]]: org.openstreetmap.josm.plugins.Impor tImagePlugin.ImportImageFileImporter 2018-11-20 18:50:16.070 FINEST: java.lang.ClassNotFoundException: org.openstreetmap.josm.plugins.ImportImagePlugin.ImportImageFileImporter 2018-11-20 18:50:16.072 INFO: loading plugin 'ImportImagePlugin' (version 34576) 2018-11-20 18:50:16.106 FINEST: Plugin class not found in PluginClassLoader [urls=[file:/home/naoliv/.josm/plugins/log4j.jar]]: javax.servlet.Servlet 2018-11-20 18:50:16.106 FINEST: java.lang.ClassNotFoundException: javax.servlet.Servlet 2018-11-20 18:50:16.106 FINEST: Plugin class not found in PluginClassLoader [urls=[file:/home/naoliv/.josm/plugins/jts.jar]]: javax.servlet.Servlet 2018-11-20 18:50:16.106 FINEST: java.lang.ClassNotFoundException: javax.servlet.Servlet 2018-11-20 18:50:16.107 FINEST: Plugin class not found in PluginClassLoader [urls=[file:/home/naoliv/.josm/plugins/ejml.jar]]: javax.servlet.Servlet 2018-11-20 18:50:16.107 FINEST: java.lang.ClassNotFoundException: javax.servlet.Servlet 2018-11-20 18:50:16.107 FINEST: Plugin class not found in PluginClassLoader [urls=[file:/home/naoliv/.josm/plugins/geotools.jar], dependencies=[PluginClassLoader [urls=[file:/home/naoliv/.josm/plugins/jts.jar]], PluginClassLoader [urls=[file:/home/naoliv/.josm/plugins/ejml.jar]]]]: javax.servlet.Servlet 2018-11-20 18:50:16.107 FINEST: java.lang.ClassNotFoundException: javax.servlet.Servlet 2018-11-20 18:50:16.170 FINEST: Plugin class not found in PluginClassLoader [urls=[file:/home/naoliv/.josm/plugins/log4j.jar]]: sun.reflect.Reflection 2018-11-20 18:50:16.171 FINEST: java.lang.ClassNotFoundException: sun.reflect.Reflection 2018-11-20 18:50:16.171 FINEST: Plugin class not found in PluginClassLoader [urls=[file:/home/naoliv/.josm/plugins/jts.jar]]: sun.reflect.Reflection 2018-11-20 18:50:16.172 FINEST: java.lang.ClassNotFoundException: sun.reflect.Reflection 2018-11-20 18:50:16.172 FINEST: Plugin class not found in PluginClassLoader [urls=[file:/home/naoliv/.josm/plugins/ejml.jar]]: sun.reflect.Reflection 2018-11-20 18:50:16.172 FINEST: java.lang.ClassNotFoundException: sun.reflect.Reflection 2018-11-20 18:50:16.173 FINEST: Plugin class not found in PluginClassLoader [urls=[file:/home/naoliv/.josm/plugins/geotools.jar], dependencies=[PluginClassLoader [urls=[file:/home/naoliv/.josm/plugins/jts.jar]], PluginClassLoader [urls=[file:/home/naoliv/.josm/plugins/ejml.jar]]]]: sun.reflect.Reflection 2018-11-20 18:50:16.173 FINEST: java.lang.ClassNotFoundException: sun.reflect.Reflection WARNING: sun.reflect.Reflection.getCallerClass is not supported. This will impact performance. 2018-11-20 18:50:16.206 FINEST: Plugin class not found in PluginClassLoader [urls=[file:/home/naoliv/.josm/plugins/apache-commons.jar]]: org.openstreetmap.josm.plugins.opendata.core.modules.ModuleHandler$1 2018-11-20 18:50:16.206 FINEST: java.lang.ClassNotFoundException: org.openstreetmap.josm.plugins.opendata.core.modules.ModuleHandler$1 2018-11-20 18:50:16.206 FINEST: Plugin class not found in PluginClassLoader [urls=[file:/home/naoliv/.josm/plugins/jaxb.jar]]: org.openstreetmap.josm.plugins.opendata.core.modules.ModuleHandler$1 2018-11-20 18:50:16.206 FINEST: java.lang.ClassNotFoundException: org.openstreetmap.josm.plugins.opendata.core.modules.ModuleHandler$1 2018-11-20 18:50:16.206 FINEST: Plugin class not found in PluginClassLoader [urls=[file:/home/naoliv/.josm/plugins/jts.jar]]: org.openstreetmap.josm.plugins.opendata.core.modules.ModuleHandler$1 2018-11-20 18:50:16.206 FINEST: java.lang.ClassNotFoundException: org.openstreetmap.josm.plugins.opendata.core.modules.ModuleHandler$1 2018-11-20 18:50:16.207 FINEST: Plugin class not found in PluginClassLoader [urls=[file:/home/naoliv/.josm/plugins/ejml.jar]]: org.openstreetmap.josm.plugins.opendata.core.modules.ModuleHandler$1 2018-11-20 18:50:16.207 FINEST: java.lang.ClassNotFoundException: org.openstreetmap.josm.plugins.opendata.core.modules.ModuleHandler$1 2018-11-20 18:50:16.207 FINEST: Plugin class not found in PluginClassLoader [urls=[file:/home/naoliv/.josm/plugins/geotools.jar], dependencies=[PluginClassLoader [urls=[file:/home/naoliv/.josm/plugins/jts.jar]], PluginClassLoader [urls=[file:/home/naoliv/.josm/plugins/ejml.jar]]]]: org.openstreetmap.josm.plugins.opendata.core.modules.ModuleHandler$1 2018-11-20 18:50:16.207 FINEST: java.lang.ClassNotFoundException: org.openstreetmap.josm.plugins.opendata.core.modules.ModuleHandler$1 2018-11-20 18:50:16.207 FINEST: Plugin class not found in PluginClassLoader [urls=[file:/home/naoliv/.josm/plugins/utilsplugin2.jar]]: org.openstreetmap.josm.plugins.opendata.core.modules.ModuleHandler$1 2018-11-20 18:50:16.207 FINEST: java.lang.ClassNotFoundException: org.openstreetmap.josm.plugins.opendata.core.modules.ModuleHandler$1 2018-11-20 18:50:16.213 FINE: Loading modules ... 2018-11-20 18:50:16.213 FINE: Checking module preconditions...
Note:
See TracTickets
for help on using tickets.
Do you have more logs with
--trace
? I think it comes from another plugin required by ImportImage, like geotools or jaxb.