Opened 13 years ago
Closed 11 years ago
#6719 closed defect (duplicate)
JOSM reports error after aligning nodes into a circle
Reported by: | D4RKL3G10N | Owned by: | team |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | Core | Version: | |
Keywords: | Cc: |
Description (last modified by )
The problem most likely occurred when I attempted to align the nodes of a circle with command 'Shift-B' (distribute nodes), causing the nodes to align into a line. Next I attempted to revert it with command 'O' (align nodes in circle), causing the now aligned nodes to heap into a single position (as if all nodes were in the very same spot). JOSM reported an error at this moment.
I tried reproducing the error with the commands I described above, but I wasn't able to. The nodes did nonetheless heap into a single position but the dialog box didn't pop up again. It didn't make JOSM crash, and after closing the dialog box I resumed working as usual, but since it ordered me to file a report, I felt compelled to do so, since it might help you guys out in the terrific job you're doing coding JOSM.
Actually I could use this opportunity to recommend an improvement in command 'B'. I intuitively used in on the circle expecting that it would distribute the nodes equidistantly, as it would do for a line, but apparently for circles it doesn't, and instead heaps the nodes together into a line, 'destroying' the circle.
For me to doesn't look like anything crucial, much the opposite, looks like a quite minor error, if it is actually an error. So take your time and prioritize other errors, if there are any, since the latest versions of JOSM have been quite bug-free. I salute all of you fine programmers for that!
Feel absolutely free to contact me on any of the 3 OSM media:
OSM username: D4RK-L3G10N
OSM wiki username: D4RK-L3G10N
JOSM username: D4RK-L3G10N
or e-mail: d4rkl3g10n@…
Ich spreche auch deutsch, aber nicht so gut. :)
Kind regards,
D4RK-L3G10N
Repository Root: http://josm.openstreetmap.de/svn Build-Date: 2011-08-01 01:31:34 Last Changed Author: stoecker Revision: 4279 Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b URL: http://josm.openstreetmap.de/svn/trunk Last Changed Date: 2011-07-31 23:52:49 +0200 (Sun, 31 Jul 2011) Last Changed Rev: 4279 Identification: JOSM/1.5 (4279 en) Memory Usage: 248 MB / 494 MB (107 MB allocated, but free) Java version: 1.6.0_26, Sun Microsystems Inc., Java HotSpot(TM) Client VM Operating system: Windows 7 Dataset consistency test: No problems found Plugin: openstreetbugs (26299) Plugin: turnrestrictions (26299) java.lang.ArithmeticException: Division undefined at java.math.BigDecimal.divide(Unknown Source) at org.openstreetmap.josm.actions.AlignInCircleAction.actionPerformed(AlignInCircleAction.java:211) at javax.swing.SwingUtilities.notifyAction(Unknown Source) at javax.swing.JComponent.processKeyBinding(Unknown Source) at javax.swing.KeyboardManager.fireBinding(Unknown Source) at javax.swing.KeyboardManager.fireKeyboardAction(Unknown Source) at javax.swing.JComponent.processKeyBindingsForAllComponents(Unknown Source) at javax.swing.JComponent.processKeyBindings(Unknown Source) at javax.swing.JComponent.processKeyEvent(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
Attachments (0)
Change History (2)
comment:1 by , 11 years ago
Description: | modified (diff) |
---|---|
Summary: | OSM reports error after aligning nodes into a circle → JOSM reports error after aligning nodes into a circle |
comment:2 by , 11 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Closed as duplicate of #7829.
Fixed with r5125+r5313