Opened 7 years ago
Last modified 7 years ago
#17749 closed defect
kendzi3d plugin broken since josm-snapshot-15007 — at Version 1
| Reported by: | cmuelle8 | Owned by: | team |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Core | Version: | tested |
| Keywords: | Cc: |
Description (last modified by )
Hi, removing deprecated API in changeset 15007 broke kendzi3d plugin. rev15000 still worked.
@Don-vip: It is relatively easy to reintroduce the method in question (with the deprecation warning). Can you please restore it, until kendzi3d plugin has been indeed been migrated to using ReflectionUtils#setObjectsAccessible(AccessibleObject...)?
The component this is assigned to is core instead of plugin kendzi3d, because the missing method has been part of the core, and not of the plugin -code.
2019-05-23 14:24:19.679 SCHWERWIEGEND: org.openstreetmap.josm.plugins.PluginException: In der Erweiterung kendzi3d ist ein Fehler aufgetreten.. Ursache: java.lang.reflect.InvocationTargetException. Ursache: java.lang.NoSuchMethodError: org.openstreetmap.josm.tools.Utils.setObjectsAccessible([Ljava/lang/reflect/AccessibleObject;)V
org.openstreetmap.josm.plugins.PluginException: In der Erweiterung kendzi3d ist ein Fehler aufgetreten.
at org.openstreetmap.josm.plugins.PluginInformation.load(PluginInformation.java:365)
at org.openstreetmap.josm.plugins.PluginHandler.loadPlugin(PluginHandler.java:804)
at org.openstreetmap.josm.plugins.PluginHandler.loadPlugins(PluginHandler.java:890)
at org.openstreetmap.josm.plugins.PluginHandler.loadLatePlugins(PluginHandler.java:933)
at org.openstreetmap.josm.gui.MainApplication.loadLatePlugins(MainApplication.java:1143)
at org.openstreetmap.josm.gui.MainApplication.mainJOSM(MainApplication.java:907)
at org.openstreetmap.josm.gui.MainApplication$3.processArguments(MainApplication.java:277)
at org.openstreetmap.josm.gui.MainApplication.main(MainApplication.java:704)
Caused by: java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:488)
at org.openstreetmap.josm.plugins.PluginInformation.load(PluginInformation.java:360)
... 7 more
Caused by: java.lang.NoSuchMethodError: org.openstreetmap.josm.tools.Utils.setObjectsAccessible([Ljava/lang/reflect/AccessibleObject;)V
at kendzi.josm.jogl.JoglPlugin.doAddJarsToClassLoader(JoglPlugin.java:214)
at kendzi.josm.jogl.JoglPlugin.addJarsToClassLoader(JoglPlugin.java:204)
at kendzi.josm.jogl.JoglPlugin.addLibraryToClassPath(JoglPlugin.java:124)
at kendzi.josm.jogl.JoglPlugin.addJoglToClassPath(JoglPlugin.java:55)
at kendzi.josm.kendzi3d.Kendzi3DPlugin.<init>(Kendzi3DPlugin.java:80)
... 12 more
Thanks for fixing!


