Modify

Opened 9 years ago

Closed 9 years ago

#11972 closed defect (fixed)

java.lang.NoSuchMethodError in turnrestrictions

Reported by: naoliv Owned by: team
Priority: normal Milestone:
Component: Plugin turnrestrictions Version:
Keywords: regression Cc:

Description

Just clicked to create a new turn restriction and got this:

ERRO: java.lang.NoSuchMethodError: org.openstreetmap.josm.gui.tagging.TagEditorPanel.<init>(Lorg/openstreetmap/josm/gui/tagging/TagEditorModel;Lorg/openstreetmap/josm/gui/tagging/PresetHandler;I)V
java.lang.NoSuchMethodError: org.openstreetmap.josm.gui.tagging.TagEditorPanel.<init>(Lorg/openstreetmap/josm/gui/tagging/TagEditorModel;Lorg/openstreetmap/josm/gui/tagging/PresetHandler;I)V
	at org.openstreetmap.josm.plugins.turnrestrictions.editor.AdvancedEditorPanel.buildTagEditorPanel(AdvancedEditorPanel.java:45)
	at org.openstreetmap.josm.plugins.turnrestrictions.editor.AdvancedEditorPanel.buildSplitPane(AdvancedEditorPanel.java:79)
	at org.openstreetmap.josm.plugins.turnrestrictions.editor.AdvancedEditorPanel.build(AdvancedEditorPanel.java:92)
	at org.openstreetmap.josm.plugins.turnrestrictions.editor.AdvancedEditorPanel.<init>(AdvancedEditorPanel.java:104)
	at org.openstreetmap.josm.plugins.turnrestrictions.editor.TurnRestrictionEditor.buildEditorPanel(TurnRestrictionEditor.java:136)
	at org.openstreetmap.josm.plugins.turnrestrictions.editor.TurnRestrictionEditor.buildContentPanel(TurnRestrictionEditor.java:158)
	at org.openstreetmap.josm.plugins.turnrestrictions.editor.TurnRestrictionEditor.build(TurnRestrictionEditor.java:204)
	at org.openstreetmap.josm.plugins.turnrestrictions.editor.TurnRestrictionEditor.<init>(TurnRestrictionEditor.java:234)
	at org.openstreetmap.josm.plugins.turnrestrictions.list.TurnRestrictionsListDialog$NewAction.run(TurnRestrictionsListDialog.java:307)
	at org.openstreetmap.josm.plugins.turnrestrictions.list.TurnRestrictionsListDialog$NewAction.actionPerformed(TurnRestrictionsListDialog.java:314)
	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
	at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
	at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
	at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
	at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
	at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289)
	at java.awt.Component.processMouseEvent(Component.java:6516)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3312)
	at java.awt.Component.processEvent(Component.java:6281)
	at java.awt.Container.processEvent(Container.java:2229)
	at java.awt.Component.dispatchEventImpl(Component.java:4872)
	at java.awt.Container.dispatchEventImpl(Container.java:2287)
	at java.awt.Component.dispatchEvent(Component.java:4698)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
	at java.awt.Container.dispatchEventImpl(Container.java:2273)
	at java.awt.Window.dispatchEventImpl(Window.java:2719)
	at java.awt.Component.dispatchEvent(Component.java:4698)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:747)
	at java.awt.EventQueue.access$300(EventQueue.java:103)
	at java.awt.EventQueue$3.run(EventQueue.java:706)
	at java.awt.EventQueue$3.run(EventQueue.java:704)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
	at java.awt.EventQueue$4.run(EventQueue.java:720)
	at java.awt.EventQueue$4.run(EventQueue.java:718)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:717)
	at org.GNOME.Accessibility.AtkWrapper$4.dispatchEvent(AtkWrapper.java:638)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)

JOSM:

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2015-10-15 01:32:10
Last Changed Author: Don-vip
Revision: 8882
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Relative URL: ^/trunk
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2015-10-15 01:02:36 +0200 (Thu, 15 Oct 2015)
Last Changed Rev: 8882

Identification: JOSM/1.5 (8882 pt_BR) Linux Debian GNU/Linux testing (stretch)
Memory Usage: 1493 MB / 9102 MB (363 MB allocated, but free)
Java version: 1.7.0_85, Oracle Corporation, OpenJDK 64-Bit Server VM
Java package: openjdk-7-jre:amd64-7u85-2.6.1-3
VM arguments: [-Dawt.useSystemAAFontSettings=on]
Dataset consistency test: No problems found

Plugins:
- Create_grid_of_ways (31603)
- OpeningHoursEditor (31603)
- PicLayer (31603)
- RoadSigns (31603)
- SimplifyArea (31603)
- buildings_tools (31603)
- conflation (0.1.7)
- contourmerge (1013)
- download_along (31603)
- editgpx (31603)
- geotools (31603)
- imagery_offset_db (31603)
- importvec (31603)
- jts (31603)
- log4j (31603)
- measurement (31603)
- merge-overlap (31603)
- opendata (31241)
- pbf (31603)
- pdfimport (31603)
- poly (31603)
- reverter (31625)
- scripting (30710)
- todo (29154)
- turnrestrictions (31603)
- undelete (31603)
- utilsplugin2 (31603)

Attachments (0)

Change History (6)

comment:1 by naoliv, 9 years ago

Ticket #11974 has been marked as a duplicate of this ticket.

comment:2 by simon04, 9 years ago

Resolution: duplicate
Status: newclosed

Closed as duplicate of #11884.

comment:3 by naoliv, 9 years ago

Resolution: duplicate
Status: closedreopened

Sorry to reopen, but it doesn't seem fixed.
JOSM is latest:

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2015-10-15 01:32:10
Last Changed Author: Don-vip
Revision: 8882
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Relative URL: ^/trunk
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2015-10-15 01:02:36 +0200 (Thu, 15 Oct 2015)
Last Changed Rev: 8882

Identification: JOSM/1.5 (8882 pt_BR) Linux Debian GNU/Linux unstable (sid)
Memory Usage: 716 MB / 3641 MB (452 MB allocated, but free)
Java version: 1.7.0_85, Oracle Corporation, OpenJDK 64-Bit Server VM
Java package: openjdk-7-jre:amd64-7u85-2.6.1-5
VM arguments: [-Dawt.useSystemAAFontSettings=on, -Dsun.java2d.opengl=true]
Dataset consistency test: No problems found

It says that there isn't any plugins to update.
Manually installing http://svn.openstreetmap.org/!svn/bc/31242/applications/editors/josm/dist/turnrestrictions.jar still gives an error.
With http://svn.openstreetmap.org/applications/editors/josm/plugins/turnrestrictions/dist/turnrestrictions.jar it's possible to see the same problem too.

comment:4 by simon04, 9 years ago

Keywords: regression added

Ah, r8863 introduced another break. Fixed in [o31638:31639]

comment:5 by simon04, 9 years ago

buildings_tools was also affected: ​[o31640:31641]

comment:6 by Don-vip, 9 years ago

Resolution: fixed
Status: reopenedclosed

Sorry I missed them.

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.