#5540 closed defect (duplicate)
crash by multiple houses
Reported by: | ayke | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Plugin terracer | Version: | tested |
Keywords: | Cc: |
Description
Bug in Terracer plugin:
Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2010-10-06 01:31:17
Last Changed Author: bastiK
Revision: 3592
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2010-10-05 20:34:31 +0200 (Tue, 05 Oct 2010)
Last Changed Rev: 3592
Identification: JOSM/1.5 (3592 nl)
Memory Usage: 266 MB / 592 MB (45 MB allocated, but free)
Java version: 1.6.0_20, Sun Microsystems Inc., OpenJDK 64-Bit Server VM
Operating system: Linux
Dataset consistency test:
[DELETED REFERENCED] {Relation id=1182743 version=1 MVT [weg 6872110, weg 45394683, weg 45394687, weg 45394684, weg 45394685, weg 45394686, weg 45394663, weg 45394676, weg 6894678, weg 74008211, weg 74008090, weg 74065574, weg 74065577, weg 74008144, weg 74008149, weg 57793565, weg 74008197, weg 57795480, weg 74065711, weg 74065588, weg 74008049, weg 74008130, weg 74008071, weg 57793388, weg 57794540, weg 74008204, weg 74065460, weg 74065763, weg 78069847, weg 74008126, weg 74008191, weg 74008013, weg 57793223, weg 78069846, weg 57794889, weg 74008179, weg 78069864, weg 57794710, weg 74065475, weg 74008181, weg 74065473, weg 74065740, weg 74065503, weg 74008170, weg 74065629, weg 74065735, weg 74008163, weg 74008103, weg 78069849, weg 74008165, weg 78069853, weg 74065565, weg 57794625, weg 57796752, weg 57794622, weg 57794816, weg 57796481, weg 78069860, weg 57794408, weg 57795526, weg -1614, weg -1615]} refers to deleted primitive {Way id=57796752 version=1 MVDT nodes=[]}
Plugin: DirectUpload (22017)
Plugin: OpeningHoursEditor (22850)
Plugin: PicLayer (22549)
Plugin: graphview (23435)
Plugin: measurement (22547)
Plugin: openstreetbugs (22723)
Plugin: osmarender (22765)
Plugin: routes (23422)
Plugin: slippymap (22848)
Plugin: tageditor (21026)
Plugin: terracer (22169)
Plugin: walkingpapers (22549)
java.lang.NegativeArraySizeException
at terracer.TerracerAction.calculateSideness(TerracerAction.java:504)
at terracer.TerracerAction.findFrontAndBack(TerracerAction.java:375)
at terracer.TerracerAction.terraceBuilding(TerracerAction.java:217)
at terracer.HouseNumberInputHandler.actionPerformed(HouseNumberInputHandler.java:278)
at terracer.HouseNumberInputDialog.buttonAction(HouseNumberInputDialog.java:198)
at org.openstreetmap.josm.gui.ExtendedDialog$1.actionPerformed(ExtendedDialog.java:287)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2012)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2335)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:404)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:253)
at java.awt.Component.processMouseEvent(Component.java:6175)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:5940)
at java.awt.Container.processEvent(Container.java:2105)
at java.awt.Component.dispatchEventImpl(Component.java:4536)
at java.awt.Container.dispatchEventImpl(Container.java:2163)
at java.awt.Component.dispatchEvent(Component.java:4362)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4461)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4125)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4055)
at java.awt.Container.dispatchEventImpl(Container.java:2149)
at java.awt.Window.dispatchEventImpl(Window.java:2478)
at java.awt.Component.dispatchEvent(Component.java:4362)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:604)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:194)
at java.awt.Dialog$1.run(Dialog.java:1072)
at java.awt.Dialog$3.run(Dialog.java:1126)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Dialog.show(Dialog.java:1124)
at java.awt.Component.show(Component.java:1468)
at java.awt.Component.setVisible(Component.java:1420)
at java.awt.Window.setVisible(Window.java:842)
at java.awt.Dialog.setVisible(Dialog.java:1011)
at org.openstreetmap.josm.gui.ExtendedDialog.setVisible(ExtendedDialog.java:448)
at terracer.HouseNumberInputDialog.<init>(HouseNumberInputDialog.java:100)
at terracer.HouseNumberInputHandler.<init>(HouseNumberInputHandler.java:65)
at terracer.TerracerAction.actionPerformed(TerracerAction.java:151)
at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1664)
at javax.swing.JComponent.processKeyBinding(JComponent.java:2851)
at javax.swing.KeyboardManager.fireBinding(KeyboardManager.java:285)
at javax.swing.KeyboardManager.fireKeyboardAction(KeyboardManager.java:247)
at javax.swing.JComponent.processKeyBindingsForAllComponents(JComponent.java:2928)
at javax.swing.JComponent.processKeyBindings(JComponent.java:2920)
at javax.swing.JComponent.processKeyEvent(JComponent.java:2814)
at java.awt.Component.processEvent(Component.java:5952)
at java.awt.Container.processEvent(Container.java:2105)
at java.awt.Component.dispatchEventImpl(Component.java:4536)
at java.awt.Container.dispatchEventImpl(Container.java:2163)
at java.awt.Component.dispatchEvent(Component.java:4362)
at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1881)
at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:749)
at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1025)
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:892)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:713)
at java.awt.Component.dispatchEventImpl(Component.java:4406)
at java.awt.Container.dispatchEventImpl(Container.java:2163)
at java.awt.Window.dispatchEventImpl(Window.java:2478)
at java.awt.Component.dispatchEvent(Component.java:4362)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:604)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)
- I used Terracer to set number 222 on a house. No strange things happened.
- I used Terracer to set number 252-254 on a house. I selected the house and the street on which the house lies. Tab, tab, tab, tab etc., pressed enter on 'ok'.
- A dialog appeared that an error occured in Terracer. I clicked something like 'do noting'.
- An error dialog appeared, showing me this error (after clicking a button).
- I clicked the close button, because cancel didn't work anymore (there just didn't happen anything)
- The two houses are made.
Some notes:
- the associatedStreet relation had many members (http://www.openstreetmap.org/browse/relation/1182743)
- The first house was only one house, the second two houses (I was splitting the two)
- After the error, the Terracer dialog stayed at it's place. Cancel button didn't work. Only the close button
- It also happened in the previous stable version.
- Terracer has worked just fine till this error.
- Working house: http://www.openstreetmap.org/browse/way/57795526
- Defect house: http://www.openstreetmap.org/browse/way/57796752
- I just upgraded to ubuntu 10.10, but it also didn't work in 10.04
I have set this bug to 'major' because Terracer does not where it has been made for. Maybe 'critical' or 'blocker' is better?
Sorry for my bad English.
Attachments (0)
Change History (3)
comment:1 by , 15 years ago
comment:2 by , 14 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Thanks for the detailed report, it would be really helpful to have an *.osm file where this error can be reproduced.
See also http://josm.openstreetmap.de/ticket/2496 (Maybe this is a duplicate)