Modify

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#12005 closed defect (othersoftware)

plugin fieldpapers not loaded anymore

Reported by: malenki Owned by: team
Priority: normal Milestone:
Component: Plugin fieldpapers Version:
Keywords: github Cc:

Description

Since r8916 ff JOSM doesn't load the plugin fieldpapers anymore.
Instead it asks "Could not load plugin fieldpapers. Delete from preferences?"
The previous latest r8904 was fine. The plugin itself hasn't changed since June 13th.

This is JOSM's output on the command line:

INFO: loading plugin 'fieldpapers' (version v0.3.0)
ERROR: org.openstreetmap.josm.plugins.PluginException: An error occurred in plugin fieldpapers. Cause: java.lang.reflect.InvocationTargetException. Cause: java.lang.NoSuchMethodError: org.openstreetmap.josm.gui.MainMenu.addMenu(Ljava/lang/String;IILjava/lang/String;)Ljavax/swing/JMenu;
org.openstreetmap.josm.plugins.PluginException: An error occurred in plugin fieldpapers
	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 org.openstreetmap.josm.plugins.fieldpapers.FieldPapersPlugin.<init>(FieldPapersPlugin.java:30)
	... 9 more

Attachments (0)

Change History (3)

comment:1 Changed 5 years ago by Don-vip

Component: CorePlugin fieldpapers
Keywords: github added
Resolution: othersoftware
Status: newclosed

comment:2 Changed 5 years ago by malenki

Thank you for forwarding the issue.

comment:3 Changed 5 years ago by mojodna

I just posted v0.4.0 and updated the plugin wiki page. Let me know if you still experience problems.

Thanks!!

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.