turnrestrictions-plugin und JOSM r8677

Hallo ihr,

nachdem ich genötigt wurde :wink: auf nen aktuelleren JOSM umzusatteln tut das turnrestrictions-Plugin nicht mehr.

Es wirft beim Klicken auf den “Neue Abbiegebeschränkung anlegen”-Knopf im Panel eine Exception im Konsolenfenster (siehe unten), sonst passiert nix. Im Panel werden bestehende Restriktionen aber angezeigt.

Pluginversion ist 31562 .

Ist das nur bei mir so?

LG,
gormo

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.AdvancedEditor
Panel.buildTagEditorPanel(AdvancedEditorPanel.java:45)
        at org.openstreetmap.josm.plugins.turnrestrictions.editor.AdvancedEditor
Panel.buildSplitPane(AdvancedEditorPanel.java:79)
        at org.openstreetmap.josm.plugins.turnrestrictions.editor.AdvancedEditor
Panel.build(AdvancedEditorPanel.java:92)
        at org.openstreetmap.josm.plugins.turnrestrictions.editor.AdvancedEditor
Panel.<init>(AdvancedEditorPanel.java:104)
        at org.openstreetmap.josm.plugins.turnrestrictions.editor.TurnRestrictio
nEditor.buildEditorPanel(TurnRestrictionEditor.java:136)
        at org.openstreetmap.josm.plugins.turnrestrictions.editor.TurnRestrictio
nEditor.buildContentPanel(TurnRestrictionEditor.java:158)
        at org.openstreetmap.josm.plugins.turnrestrictions.editor.TurnRestrictio
nEditor.build(TurnRestrictionEditor.java:204)
        at org.openstreetmap.josm.plugins.turnrestrictions.editor.TurnRestrictio
nEditor.<init>(TurnRestrictionEditor.java:234)
        at org.openstreetmap.josm.plugins.turnrestrictions.list.TurnRestrictions
ListDialog$NewAction.run(TurnRestrictionsListDialog.java:307)
        at org.openstreetmap.josm.plugins.turnrestrictions.list.TurnRestrictions
ListDialog$NewAction.actionPerformed(TurnRestrictionsListDialog.java:314)
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Sour
ce)
        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
        at java.awt.Component.processMouseEvent(Unknown Source)
        at javax.swing.JComponent.processMouseEvent(Unknown Source)
        at java.awt.Component.processEvent(Unknown Source)
        at java.awt.Container.processEvent(Unknown Source)
        at java.awt.Component.dispatchEventImpl(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Window.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
        at java.awt.EventQueue.access$500(Unknown Source)
        at java.awt.EventQueue$3.run(Unknown Source)
        at java.awt.EventQueue$3.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionP
rivilege(Unknown Source)
        at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionP
rivilege(Unknown Source)
        at java.awt.EventQueue$4.run(Unknown Source)
        at java.awt.EventQueue$4.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionP
rivilege(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)

Kann ich weitgehend bestätigen. Ich hab keine Knöpfe, aber auf den Shortcut kommt:

OK danke, Ticket ist erstellt: https://josm.openstreetmap.de/ticket/11884

Und behoben.
Habe das “neue” Plugin manuell installiert. Allerdings kann man dann keine Pluginaktualisierungen mehr machen, da Josm dann das kaputte wieder drüberinstalliert.

Wenn bald die nächste tested-Version erscheint, sollte auch das wieder normal laufen.