Modify

Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#12001 closed defect (fixed)

kendzi3d plugin does not load at startup with josm 8931 - java.lang.NoSuchMethodError: org.openstreetmap.josm.gui.MainMenu.addMenu

Reported by: cmuelle8 Owned by: kendzi
Priority: normal Milestone:
Component: Plugin kendzi3d Version: latest
Keywords: template_report kendzi3d Cc:

Description

BACKTRACE

INFO: Plugin 'log4j' wird geladen (Version 31603)
INFO: Plugin 'reverter' wird geladen (Version 31625)
INFO: RemoteControl: adding command "revert_changeset" (handled by RevertChangesetHandler)
INFO: Plugin 'kendzi3d-jogl' wird geladen (Version 41)
INFO: Plugin 'commons-imaging' wird geladen (Version 31603)
INFO: Plugin 'utilsplugin2' wird geladen (Version 31655)
INFO: Plugin 'turnlanes' wird geladen (Version 31603)
INFO: Plugin 'pbf' wird geladen (Version 31603)
INFO: Plugin 'photoadjust' wird geladen (Version 31603)
INFO: Plugin 'poly' wird geladen (Version 31603)
INFO: Plugin 'kendzi3d-resources' wird geladen (Version 0.0.13)
INFO: Plugin 'photo_geotagging' wird geladen (Version 31603)
INFO: Plugin 'turnrestrictions' wird geladen (Version 31638)
INFO: Plugin 'editgpx' wird geladen (Version 30932)
INFO: Plugin 'openvisible' wird geladen (Version 30932)
INFO: Plugin 'alignways' wird geladen (Version 31603)
INFO: Plugin 'RoadSigns' wird geladen (Version 31603)
INFO: Plugin 'wikipedia' wird geladen (Version 31603)
ERROR StatusLogger No log4j2 configuration file found. Using default configuration: logging only errors to the console.
INFO: Plugin 'kendzi3d' wird geladen (Version 1.0.186)
starting copying file from jar to plugin dir /lib/jogl-2.3.1/jogl-all-2.3.1-natives-linux-armv6.jar
fromUrl in plugin jar: jar:file:/home/wom/.josm/plugins/kendzi3d-jogl.jar!/lib/jogl-2.3.1/jogl-all-2.3.1-natives-linux-armv6.jar
starting copying 
end of copying bytes: 154248 from file: /lib/jogl-2.3.1/jogl-all-2.3.1-natives-linux-armv6.jar at url: jar:file:/home/wom/.josm/plugins/kendzi3d-jogl.jar!/lib/jogl-2.3.1/jogl-all-2.3.1-natives-linux-armv6.jar
starting copying file from jar to plugin dir /lib/jogl-2.3.1/jogl-all-2.3.1-natives-linux-armv6hf.jar
fromUrl in plugin jar: jar:file:/home/wom/.josm/plugins/kendzi3d-jogl.jar!/lib/jogl-2.3.1/jogl-all-2.3.1-natives-linux-armv6hf.jar
starting copying 
end of copying bytes: 157966 from file: /lib/jogl-2.3.1/jogl-all-2.3.1-natives-linux-armv6hf.jar at url: jar:file:/home/wom/.josm/plugins/kendzi3d-jogl.jar!/lib/jogl-2.3.1/jogl-all-2.3.1-natives-linux-armv6hf.jar
starting copying file from jar to plugin dir /lib/jogl-2.3.1/jogl-all-2.3.1-natives-linux-amd64.jar
fromUrl in plugin jar: jar:file:/home/wom/.josm/plugins/kendzi3d-jogl.jar!/lib/jogl-2.3.1/jogl-all-2.3.1-natives-linux-amd64.jar
starting copying 
end of copying bytes: 213572 from file: /lib/jogl-2.3.1/jogl-all-2.3.1-natives-linux-amd64.jar at url: jar:file:/home/wom/.josm/plugins/kendzi3d-jogl.jar!/lib/jogl-2.3.1/jogl-all-2.3.1-natives-linux-amd64.jar
starting copying file from jar to plugin dir /lib/jogl-2.3.1/jogl-all-2.3.1-natives-linux-i586.jar
fromUrl in plugin jar: jar:file:/home/wom/.josm/plugins/kendzi3d-jogl.jar!/lib/jogl-2.3.1/jogl-all-2.3.1-natives-linux-i586.jar
starting copying 
end of copying bytes: 207221 from file: /lib/jogl-2.3.1/jogl-all-2.3.1-natives-linux-i586.jar at url: jar:file:/home/wom/.josm/plugins/kendzi3d-jogl.jar!/lib/jogl-2.3.1/jogl-all-2.3.1-natives-linux-i586.jar
starting copying file from jar to plugin dir /lib/jogl-2.3.1/jogl-all-2.3.1-natives-macosx-universal.jar
fromUrl in plugin jar: jar:file:/home/wom/.josm/plugins/kendzi3d-jogl.jar!/lib/jogl-2.3.1/jogl-all-2.3.1-natives-macosx-universal.jar
starting copying 
end of copying bytes: 446852 from file: /lib/jogl-2.3.1/jogl-all-2.3.1-natives-macosx-universal.jar at url: jar:file:/home/wom/.josm/plugins/kendzi3d-jogl.jar!/lib/jogl-2.3.1/jogl-all-2.3.1-natives-macosx-universal.jar
starting copying file from jar to plugin dir /lib/jogl-2.3.1/jogl-all-2.3.1-natives-solaris-amd64.jar
fromUrl in plugin jar: jar:file:/home/wom/.josm/plugins/kendzi3d-jogl.jar!/lib/jogl-2.3.1/jogl-all-2.3.1-natives-solaris-amd64.jar
starting copying 
end of copying bytes: 210410 from file: /lib/jogl-2.3.1/jogl-all-2.3.1-natives-solaris-amd64.jar at url: jar:file:/home/wom/.josm/plugins/kendzi3d-jogl.jar!/lib/jogl-2.3.1/jogl-all-2.3.1-natives-solaris-amd64.jar
starting copying file from jar to plugin dir /lib/jogl-2.3.1/jogl-all-2.3.1-natives-solaris-i586.jar
fromUrl in plugin jar: jar:file:/home/wom/.josm/plugins/kendzi3d-jogl.jar!/lib/jogl-2.3.1/jogl-all-2.3.1-natives-solaris-i586.jar
starting copying 
end of copying bytes: 153802 from file: /lib/jogl-2.3.1/jogl-all-2.3.1-natives-solaris-i586.jar at url: jar:file:/home/wom/.josm/plugins/kendzi3d-jogl.jar!/lib/jogl-2.3.1/jogl-all-2.3.1-natives-solaris-i586.jar
starting copying file from jar to plugin dir /lib/jogl-2.3.1/jogl-all-2.3.1-natives-windows-amd64.jar
fromUrl in plugin jar: jar:file:/home/wom/.josm/plugins/kendzi3d-jogl.jar!/lib/jogl-2.3.1/jogl-all-2.3.1-natives-windows-amd64.jar
starting copying 
end of copying bytes: 233528 from file: /lib/jogl-2.3.1/jogl-all-2.3.1-natives-windows-amd64.jar at url: jar:file:/home/wom/.josm/plugins/kendzi3d-jogl.jar!/lib/jogl-2.3.1/jogl-all-2.3.1-natives-windows-amd64.jar
starting copying file from jar to plugin dir /lib/jogl-2.3.1/jogl-all-2.3.1-natives-windows-i586.jar
fromUrl in plugin jar: jar:file:/home/wom/.josm/plugins/kendzi3d-jogl.jar!/lib/jogl-2.3.1/jogl-all-2.3.1-natives-windows-i586.jar
starting copying 
end of copying bytes: 203654 from file: /lib/jogl-2.3.1/jogl-all-2.3.1-natives-windows-i586.jar at url: jar:file:/home/wom/.josm/plugins/kendzi3d-jogl.jar!/lib/jogl-2.3.1/jogl-all-2.3.1-natives-windows-i586.jar
starting copying file from jar to plugin dir /lib/jogl-2.3.1/jogl-all-2.3.1.jar
fromUrl in plugin jar: jar:file:/home/wom/.josm/plugins/kendzi3d-jogl.jar!/lib/jogl-2.3.1/jogl-all-2.3.1.jar
starting copying 
end of copying bytes: 3321517 from file: /lib/jogl-2.3.1/jogl-all-2.3.1.jar at url: jar:file:/home/wom/.josm/plugins/kendzi3d-jogl.jar!/lib/jogl-2.3.1/jogl-all-2.3.1.jar
starting copying file from jar to plugin dir /lib/jogl-2.3.1/gluegen-rt-2.3.1-natives-linux-armv6.jar
fromUrl in plugin jar: jar:file:/home/wom/.josm/plugins/kendzi3d-jogl.jar!/lib/jogl-2.3.1/gluegen-rt-2.3.1-natives-linux-armv6.jar
starting copying 
end of copying bytes: 3006 from file: /lib/jogl-2.3.1/gluegen-rt-2.3.1-natives-linux-armv6.jar at url: jar:file:/home/wom/.josm/plugins/kendzi3d-jogl.jar!/lib/jogl-2.3.1/gluegen-rt-2.3.1-natives-linux-armv6.jar
starting copying file from jar to plugin dir /lib/jogl-2.3.1/gluegen-rt-2.3.1-natives-linux-armv6hf.jar
fromUrl in plugin jar: jar:file:/home/wom/.josm/plugins/kendzi3d-jogl.jar!/lib/jogl-2.3.1/gluegen-rt-2.3.1-natives-linux-armv6hf.jar
starting copying 
end of copying bytes: 3010 from file: /lib/jogl-2.3.1/gluegen-rt-2.3.1-natives-linux-armv6hf.jar at url: jar:file:/home/wom/.josm/plugins/kendzi3d-jogl.jar!/lib/jogl-2.3.1/gluegen-rt-2.3.1-natives-linux-armv6hf.jar
starting copying file from jar to plugin dir /lib/jogl-2.3.1/gluegen-rt-2.3.1-natives-linux-amd64.jar
fromUrl in plugin jar: jar:file:/home/wom/.josm/plugins/kendzi3d-jogl.jar!/lib/jogl-2.3.1/gluegen-rt-2.3.1-natives-linux-amd64.jar
starting copying 
end of copying bytes: 4112 from file: /lib/jogl-2.3.1/gluegen-rt-2.3.1-natives-linux-amd64.jar at url: jar:file:/home/wom/.josm/plugins/kendzi3d-jogl.jar!/lib/jogl-2.3.1/gluegen-rt-2.3.1-natives-linux-amd64.jar
starting copying file from jar to plugin dir /lib/jogl-2.3.1/gluegen-rt-2.3.1-natives-linux-i586.jar
fromUrl in plugin jar: jar:file:/home/wom/.josm/plugins/kendzi3d-jogl.jar!/lib/jogl-2.3.1/gluegen-rt-2.3.1-natives-linux-i586.jar
starting copying 
end of copying bytes: 4097 from file: /lib/jogl-2.3.1/gluegen-rt-2.3.1-natives-linux-i586.jar at url: jar:file:/home/wom/.josm/plugins/kendzi3d-jogl.jar!/lib/jogl-2.3.1/gluegen-rt-2.3.1-natives-linux-i586.jar
starting copying file from jar to plugin dir /lib/jogl-2.3.1/gluegen-rt-2.3.1-natives-macosx-universal.jar
fromUrl in plugin jar: jar:file:/home/wom/.josm/plugins/kendzi3d-jogl.jar!/lib/jogl-2.3.1/gluegen-rt-2.3.1-natives-macosx-universal.jar
starting copying 
end of copying bytes: 5053 from file: /lib/jogl-2.3.1/gluegen-rt-2.3.1-natives-macosx-universal.jar at url: jar:file:/home/wom/.josm/plugins/kendzi3d-jogl.jar!/lib/jogl-2.3.1/gluegen-rt-2.3.1-natives-macosx-universal.jar
starting copying file from jar to plugin dir /lib/jogl-2.3.1/gluegen-rt-2.3.1-natives-solaris-amd64.jar
fromUrl in plugin jar: jar:file:/home/wom/.josm/plugins/kendzi3d-jogl.jar!/lib/jogl-2.3.1/gluegen-rt-2.3.1-natives-solaris-amd64.jar
starting copying 
end of copying bytes: 4598 from file: /lib/jogl-2.3.1/gluegen-rt-2.3.1-natives-solaris-amd64.jar at url: jar:file:/home/wom/.josm/plugins/kendzi3d-jogl.jar!/lib/jogl-2.3.1/gluegen-rt-2.3.1-natives-solaris-amd64.jar
starting copying file from jar to plugin dir /lib/jogl-2.3.1/gluegen-rt-2.3.1-natives-solaris-i586.jar
fromUrl in plugin jar: jar:file:/home/wom/.josm/plugins/kendzi3d-jogl.jar!/lib/jogl-2.3.1/gluegen-rt-2.3.1-natives-solaris-i586.jar
starting copying 
end of copying bytes: 3909 from file: /lib/jogl-2.3.1/gluegen-rt-2.3.1-natives-solaris-i586.jar at url: jar:file:/home/wom/.josm/plugins/kendzi3d-jogl.jar!/lib/jogl-2.3.1/gluegen-rt-2.3.1-natives-solaris-i586.jar
starting copying file from jar to plugin dir /lib/jogl-2.3.1/gluegen-rt-2.3.1-natives-windows-amd64.jar
fromUrl in plugin jar: jar:file:/home/wom/.josm/plugins/kendzi3d-jogl.jar!/lib/jogl-2.3.1/gluegen-rt-2.3.1-natives-windows-amd64.jar
starting copying 
end of copying bytes: 8120 from file: /lib/jogl-2.3.1/gluegen-rt-2.3.1-natives-windows-amd64.jar at url: jar:file:/home/wom/.josm/plugins/kendzi3d-jogl.jar!/lib/jogl-2.3.1/gluegen-rt-2.3.1-natives-windows-amd64.jar
starting copying file from jar to plugin dir /lib/jogl-2.3.1/gluegen-rt-2.3.1-natives-windows-i586.jar
fromUrl in plugin jar: jar:file:/home/wom/.josm/plugins/kendzi3d-jogl.jar!/lib/jogl-2.3.1/gluegen-rt-2.3.1-natives-windows-i586.jar
starting copying 
end of copying bytes: 7538 from file: /lib/jogl-2.3.1/gluegen-rt-2.3.1-natives-windows-i586.jar at url: jar:file:/home/wom/.josm/plugins/kendzi3d-jogl.jar!/lib/jogl-2.3.1/gluegen-rt-2.3.1-natives-windows-i586.jar
starting copying file from jar to plugin dir /lib/jogl-2.3.1/gluegen-rt-2.3.1.jar
fromUrl in plugin jar: jar:file:/home/wom/.josm/plugins/kendzi3d-jogl.jar!/lib/jogl-2.3.1/gluegen-rt-2.3.1.jar
starting copying 
end of copying bytes: 326269 from file: /lib/jogl-2.3.1/gluegen-rt-2.3.1.jar at url: jar:file:/home/wom/.josm/plugins/kendzi3d-jogl.jar!/lib/jogl-2.3.1/gluegen-rt-2.3.1.jar
loading lib: /home/wom/.josm/plugins/kendzi3d-jogl/lib/jogl-2.3.1/jogl-all-2.3.1-natives-linux-armv6.jar
loading lib: /home/wom/.josm/plugins/kendzi3d-jogl/lib/jogl-2.3.1/jogl-all-2.3.1-natives-linux-armv6hf.jar
loading lib: /home/wom/.josm/plugins/kendzi3d-jogl/lib/jogl-2.3.1/jogl-all-2.3.1-natives-linux-amd64.jar
loading lib: /home/wom/.josm/plugins/kendzi3d-jogl/lib/jogl-2.3.1/jogl-all-2.3.1-natives-linux-i586.jar
loading lib: /home/wom/.josm/plugins/kendzi3d-jogl/lib/jogl-2.3.1/jogl-all-2.3.1-natives-macosx-universal.jar
loading lib: /home/wom/.josm/plugins/kendzi3d-jogl/lib/jogl-2.3.1/jogl-all-2.3.1-natives-solaris-amd64.jar
loading lib: /home/wom/.josm/plugins/kendzi3d-jogl/lib/jogl-2.3.1/jogl-all-2.3.1-natives-solaris-i586.jar
loading lib: /home/wom/.josm/plugins/kendzi3d-jogl/lib/jogl-2.3.1/jogl-all-2.3.1-natives-windows-amd64.jar
loading lib: /home/wom/.josm/plugins/kendzi3d-jogl/lib/jogl-2.3.1/jogl-all-2.3.1-natives-windows-i586.jar
loading lib: /home/wom/.josm/plugins/kendzi3d-jogl/lib/jogl-2.3.1/jogl-all-2.3.1.jar
loading lib: /home/wom/.josm/plugins/kendzi3d-jogl/lib/jogl-2.3.1/gluegen-rt-2.3.1-natives-linux-armv6.jar
loading lib: /home/wom/.josm/plugins/kendzi3d-jogl/lib/jogl-2.3.1/gluegen-rt-2.3.1-natives-linux-armv6hf.jar
loading lib: /home/wom/.josm/plugins/kendzi3d-jogl/lib/jogl-2.3.1/gluegen-rt-2.3.1-natives-linux-amd64.jar
loading lib: /home/wom/.josm/plugins/kendzi3d-jogl/lib/jogl-2.3.1/gluegen-rt-2.3.1-natives-linux-i586.jar
loading lib: /home/wom/.josm/plugins/kendzi3d-jogl/lib/jogl-2.3.1/gluegen-rt-2.3.1-natives-macosx-universal.jar
loading lib: /home/wom/.josm/plugins/kendzi3d-jogl/lib/jogl-2.3.1/gluegen-rt-2.3.1-natives-solaris-amd64.jar
loading lib: /home/wom/.josm/plugins/kendzi3d-jogl/lib/jogl-2.3.1/gluegen-rt-2.3.1-natives-solaris-i586.jar
loading lib: /home/wom/.josm/plugins/kendzi3d-jogl/lib/jogl-2.3.1/gluegen-rt-2.3.1-natives-windows-amd64.jar
loading lib: /home/wom/.josm/plugins/kendzi3d-jogl/lib/jogl-2.3.1/gluegen-rt-2.3.1-natives-windows-i586.jar
loading lib: /home/wom/.josm/plugins/kendzi3d-jogl/lib/jogl-2.3.1/gluegen-rt-2.3.1.jar
copying file from jar: /log4j.properties to: log4j.properties
3d test
Fehler: org.openstreetmap.josm.plugins.PluginException: Ein Fehler ist in dem Plugin kendzi3d aufgetreten.. Ursache: java.lang.reflect.InvocationTargetException. Ursache: java.lang.NoSuchMethodError: org.openstreetmap.josm.gui.MainMenu.addMenu(Ljava/lang/String;IILjava/lang/String;)Ljavax/swing/JMenu;
org.openstreetmap.josm.plugins.PluginException: Ein Fehler ist in dem Plugin kendzi3d aufgetreten.
        at org.openstreetmap.josm.plugins.PluginInformation.load(PluginInformation.java:336)
        at org.openstreetmap.josm.plugins.PluginHandler.loadPlugin(PluginHandler.java:698)
        at org.openstreetmap.josm.plugins.PluginHandler.loadPlugins(PluginHandler.java:758)
        at org.openstreetmap.josm.plugins.PluginHandler.loadLatePlugins(PluginHandler.java:797)
        at org.openstreetmap.josm.gui.MainApplication.main(MainApplication.java:463)
Caused by: java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
        at org.openstreetmap.josm.plugins.PluginInformation.load(PluginInformation.java:333)
        ... 4 more
Caused by: java.lang.NoSuchMethodError: org.openstreetmap.josm.gui.MainMenu.addMenu(Ljava/lang/String;IILjava/lang/String;)Ljavax/swing/JMenu;
        at kendzi.josm.kendzi3d.Kendzi3DPlugin.refreshMenu(Kendzi3DPlugin.java:117)
        at kendzi.josm.kendzi3d.Kendzi3DPlugin.<init>(Kendzi3DPlugin.java:84)
        ... 9 more
Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2015-10-23 01:32:17
Last Changed Author: Don-vip
Revision: 8931
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Relative URL: ^/trunk
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2015-10-23 01:17:45 +0200 (Fri, 23 Oct 2015)
Last Changed Rev: 8931

Identification: JOSM/1.5 (8931 de) Linux Ubuntu 15.04
Memory Usage: 312 MB / 683 MB (213 MB allocated, but free)
Java version: 1.7.0_79, Oracle Corporation, OpenJDK 64-Bit Server VM
Java package: openjdk-7-jre:amd64-7u79-2.5.6-0ubuntu1.15.04.1

Plugins:
- RoadSigns (31603)
- alignways (31603)
- commons-imaging (31603)
- editgpx (30932)
- kendzi3d-jogl (41)
- kendzi3d-resources (0.0.13)
- log4j (31603)
- openvisible (30932)
- pbf (31603)
- photo_geotagging (31603)
- photoadjust (31603)
- poly (31603)
- reverter (31625)
- turnlanes (31603)
- turnrestrictions (31638)
- utilsplugin2 (31655)
- wikipedia (31603)

Last errors/warnings:
- E: org.openstreetmap.josm.plugins.PluginException: Ein Fehler ist in dem Plugin kendzi3d aufgetreten.. Ursache: java.lang.reflect.InvocationTargetException. Ursache: java.lang.NoSuchMethodError: org.openstreetmap.josm.gui.MainMenu.addMenu(Ljava/lang/String;IILjava/lang/String;)Ljavax/swing/JMenu;

Attachments (0)

Change History (6)

comment:1 by cmuelle8, 9 years ago

Error is also produced using fresh profile and having just kendzi3d plugins loaded, so it's not related to a bogus/old/mature profile..

Greetings

comment:2 by Don-vip, 9 years ago

A lot of deprecated stuff has been removed in r8906. The plugin must be updated.

comment:3 by kendzi, 9 years ago

I'll update it over the weekend.

comment:4 by kendzi, 9 years ago

fixed version was release

comment:5 by kendzi, 9 years ago

Resolution: fixed
Status: newclosed

comment:6 by cmuelle8, 9 years ago

thanks

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain kendzi.
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.