Opened 17 years ago
Closed 17 years ago
#1623 closed defect (fixed)
align nodes in line doesn't work
Reported by: | Owned by: | framm | |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | Core | Version: | |
Keywords: | Cc: |
Description
Alignment of nodes in line (called from the menu or via Ctrl+l) does not work and shows the following Error Message on the console.
JOSM-version is 1013
uname -a :
Linux datengrab 2.6.26-1-powerpc #1 Wed Sep 10 13:17:16 CEST 2008 ppc GNU/Linux
java -version :
java version "1.6.0"
Java(TM) SE Runtime Environment (build pxp3260-20071123_01)
IBM J9 VM (build 2.4, J2RE 1.6.0 IBM J9 2.4 Linux ppc-32 jvmxp3260-20071121_15015 (JIT enabled)
J9VM - 20071121_015015_bHdSMR
JIT - r9_20071121_1330
GC - 20071031_AA)
JCL - 20071118_01
Development version. Unknown revision.
java.lang.NoSuchMethodError: org/openstreetmap/josm/data/coor/Coordinate.distance(Lorg/openstreetmap/josm/data/coor/Coordinate;)D
at org.openstreetmap.josm.data.coor.EastNorth.distance(EastNorth.java:11)
at org.openstreetmap.josm.actions.AlignInLineAction.actionPerformed(AlignInLineAction.java:71)
at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1658)
at javax.swing.JComponent.processKeyBinding(JComponent.java:2861)
at javax.swing.KeyboardManager.fireBinding(KeyboardManager.java:307)
at javax.swing.KeyboardManager.fireKeyboardAction(KeyboardManager.java:229)
at javax.swing.JComponent.processKeyBindingsForAllComponents(JComponent.java:2938)
at javax.swing.JComponent.processKeyBindings(JComponent.java:2930)
at javax.swing.JComponent.processKeyEvent(JComponent.java:2824)
at java.awt.Component.processEvent(Component.java:5830)
at java.awt.Container.processEvent(Container.java:2070)
at java.awt.Component.dispatchEventImpl(Component.java:4425)
at java.awt.Container.dispatchEventImpl(Container.java:2128)
at java.awt.Component.dispatchEvent(Component.java:4255)
at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1860)
at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:709)
at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:974)
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:846)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:673)
at java.awt.Component.dispatchEventImpl(Component.java:4297)
at java.awt.Container.dispatchEventImpl(Container.java:2128)
at java.awt.Window.dispatchEventImpl(Window.java:2452)
at java.awt.Component.dispatchEvent(Component.java:4255)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:611)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:285)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:195)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:185)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:180)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:172)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:133)
Attachments (0)
Change History (2)
comment:1 by , 17 years ago
Priority: | major → minor |
---|---|
Version: | latest |
comment:2 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Could you try "ant clean && ant"?
Autsch!! Sorry, forgot about it! Stupid me....
I checked the used source files, they have not been changed for 2, 4 and 5 months.
Also the exception is weird, the method it cannot find is there---it is inherited from java.awt.geom.Point2D...
Could you try "ant clean && ant"?
(BTW: This is not "major" for 2 reasons: (1) It only effects one tool, and you can continue working without that tool, and (2) it happens for a single user only, and with a development version.)