#8318 closed defect (invalid)
Unglue nodes functionality calls non-existent function
Reported by: | AndrewBuck | Owned by: | team |
---|---|---|---|
Priority: | blocker | Milestone: | |
Component: | Core | Version: | latest |
Keywords: | unglue, bug | Cc: |
Description
I was editing today and selected a single node which joined two building ways together and pressed G to unglue that node. Doing this throws the following error on the terminal. This is running on a locally built version 5655 from SVN.
java.lang.NoSuchMethodError: org.openstreetmap.josm.command.Command.checkAndConfirmOutlyingOperation(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/awt/geom/Area;Ljava/util/Collection;Lorg/openstreetmap/josm/data/osm/OsmPrimitive;)Z at org.openstreetmap.josm.actions.UnGlueAction.checkAndConfirmOutlyingUnglue(UnGlueAction.java:425) at org.openstreetmap.josm.actions.UnGlueAction.actionPerformed(UnGlueAction.java:71) at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1661) at javax.swing.JComponent.processKeyBinding(JComponent.java:2870) at javax.swing.KeyboardManager.fireBinding(KeyboardManager.java:306) at javax.swing.KeyboardManager.fireKeyboardAction(KeyboardManager.java:263) at javax.swing.JComponent.processKeyBindingsForAllComponents(JComponent.java:2962) at javax.swing.JComponent.processKeyBindings(JComponent.java:2954) at javax.swing.JComponent.processKeyEvent(JComponent.java:2833) at java.awt.Component.processEvent(Component.java:6282) at java.awt.Container.processEvent(Container.java:2229) at java.awt.Component.dispatchEventImpl(Component.java:4861) at java.awt.Container.dispatchEventImpl(Container.java:2287) at java.awt.Component.dispatchEvent(Component.java:4687) at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1895) at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:762) at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1027) at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:899) at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:727) at java.awt.Component.dispatchEventImpl(Component.java:4731) at java.awt.Container.dispatchEventImpl(Container.java:2287) at java.awt.Window.dispatchEventImpl(Window.java:2719) at java.awt.Component.dispatchEvent(Component.java:4687) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:723) at java.awt.EventQueue.access$200(EventQueue.java:103) at java.awt.EventQueue$3.run(EventQueue.java:682) at java.awt.EventQueue$3.run(EventQueue.java:680) 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:696) at java.awt.EventQueue$4.run(EventQueue.java:694) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:693) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:244) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:163) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:147) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:139) at java.awt.EventDispatchThread.run(EventDispatchThread.java:97)
Attachments (0)
Change History (6)
follow-up: 2 comment:1 by , 12 years ago
comment:2 by , 12 years ago
There is no example file needed, it does this whenever I try to unglue any node. I tried it with the latest SVN version now, too, and I still get the error.
comment:3 by , 12 years ago
Hmm, ok, so I just did a clean SVN checkout into a new directory, recompiled, and ran that one and the bug no longer appears, so it seems that it is just SVN being crappy again. Sorry for opening a useless bug ticket. I will mark this issue closed then as it seems to have only been a problem in my code tree.
comment:4 by , 12 years ago
Resolution: | → irreproducible |
---|---|
Status: | new → closed |
comment:5 by , 12 years ago
It is a known problem of ant, that it does not catch all dependencies always. An "ant clean" fixes this. The NoSuchMethodError is usually a good indicator for that :-)
comment:6 by , 12 years ago
Resolution: | irreproducible → invalid |
---|
Could you please attach an example file. Thanks