Modify

Opened 12 years ago

Closed 12 years ago

#8883 closed defect (fixed)

NoSuchMethodError opening the plugin window.

Reported by: skyper Owned by: team
Priority: blocker Milestone:
Component: Plugin tagging-preset-tester Version:
Keywords: template_report Cc: akks

Description

What steps will reproduce the problem?

  1. start r6070 with empty preference dir
  2. install tagging-preset-test plugin
  3. exit and restart
  4. try to open plugin window

What is the expected result?

plugin window opens

What happens instead?

java.lang.NoSuchMethodError

Please provide any additional information below. Attach a screenshot if possible.

with r6065 [o29758] works.

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2013-07-17 01:36:07
Last Changed Author: stoecker
Revision: 6070
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2013-07-17 00:01:49 +0200 (Wed, 17 Jul 2013)
Last Changed Rev: 6070

Identification: JOSM/1.5 (6070 en) Linux Debian GNU/Linux 7.1 (wheezy)
Memory Usage: 132 MB / 672 MB (82 MB allocated, but free)
Java version: 1.6.0_27, Sun Microsystems Inc., OpenJDK 64-Bit Server VM
VM arguments: [-Djosm.home=$HOME/.josm-test]
Program arguments: [--language=en]

Plugin: tagging-preset-tester (29758)

java.lang.NoSuchMethodError: org.openstreetmap.josm.gui.tagging.TaggingPreset.getPresetSources()Ljava/util/LinkedList;
	at org.openstreetmap.josm.plugins.taggingpresettester.TaggingPresetTesterAction.actionPerformed(TaggingPresetTesterAction.java:40)
	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2012)
	at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2335)
	at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:404)
	at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
	at javax.swing.AbstractButton.doClick(AbstractButton.java:374)
	at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:829)
	at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:873)
	at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289)
	at java.awt.Component.processMouseEvent(Component.java:6288)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
	at java.awt.Component.processEvent(Component.java:6053)
	at java.awt.Container.processEvent(Container.java:2045)
	at java.awt.Component.dispatchEventImpl(Component.java:4649)
	at java.awt.Container.dispatchEventImpl(Container.java:2103)
	at java.awt.Component.dispatchEvent(Component.java:4475)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4633)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4297)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4227)
	at java.awt.Container.dispatchEventImpl(Container.java:2089)
	at java.awt.Window.dispatchEventImpl(Window.java:2587)
	at java.awt.Component.dispatchEvent(Component.java:4475)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:675)
	at java.awt.EventQueue.access$300(EventQueue.java:96)
	at java.awt.EventQueue$2.run(EventQueue.java:634)
	at java.awt.EventQueue$2.run(EventQueue.java:632)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105)
	at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:116)
	at java.awt.EventQueue$3.run(EventQueue.java:648)
	at java.awt.EventQueue$3.run(EventQueue.java:646)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:645)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)

Attachments (0)

Change History (6)

comment:1 by akks, 12 years ago

The plugin was updated for newer JOSM core at [o29760]. Is the auto-update working?

comment:2 by akks, 12 years ago

I guess I missed transition - plugin needs r6071 (so r6069 and r6070 will get older non-working jar). r6071 and next should work correctly (I am sorry we can not update latest until tomorrow - can we?).

Last edited 12 years ago by akks (previous) (diff)

comment:3 by AlfonZ, 12 years ago

Also it seems to me that 6067 at TaggingPresetSelector.java#L52 should be updated to 6068.

in reply to:  2 comment:4 by skyper, 12 years ago

Replying to akks:

I guess I missed transition - plugin needs r6071 (so r6069 and r6070 will get older non-working jar). r6071 and next should work correctly.

Probably.

(I am sorry we can not update latest until tomorrow - can we?).

Sure, maintainers can run the script manually but is it really needed ? It is only one plugin which works with latest from yesterday.

in reply to:  3 comment:5 by akks, 12 years ago

Replying to AlfonZ:

Also it seems to me that 6067 at TaggingPresetSelector.java#L52 should be updated to 6068.

Yes, thank you. Will update on next commit.

comment:6 by Don-vip, 12 years ago

Resolution: fixed
Status: newclosed

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. 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.