Modify

Opened 14 years ago

Closed 14 years ago

#4858 closed defect (fixed)

Error why copying tag values from buildings

Reported by: deejay1@… Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: Cc:

Description

This happens everytime when I copy from a building with CTRL+C and try to paste the tag values into an other building with CTRL+SHIFT+V.
The building has only the building tag and address tags. This also happened in rev 3166

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2010-04-06 01:31:31
Last Changed Author: bastiK
Revision: 3168
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2010-04-05 21:36:45 +0200 (Mon, 05 Apr 2010)
Last Changed Rev: 3168

Memory Usage: 324 MB / 672 MB (172 MB allocated, but free)
Java version: 1.6.0_19, Sun Microsystems Inc., Java HotSpot(TM) 64-Bit Server VM
Operating system: Linux

Dataset consistency test:
No problems found

Plugins: AddrInterpolation,buildings_tools,editgpx,lakewalker,openstreetbugs,openvisible,remotecontrol,tagging-preset-tester,turnrestrictions,validator,walkingpapers,wmsplugin
Plugin walkingpapers (Version: 19487)
Plugin openstreetbugs (Version: 20683)
Plugin wmsplugin (Version: 19992)
Plugin editgpx (Version: 19683)
Plugin openvisible (Version: 20067)
Plugin remotecontrol (Version: 19946)
Plugin buildings_tools (Version: 20269)
Plugin validator (Version: 20426)
Plugin lakewalker (Version: 19624)
Plugin AddrInterpolation (Version: 19422)
Plugin turnrestrictions (Version: 20745)

java.lang.ArrayIndexOutOfBoundsException: 2

at org.openstreetmap.josm.tools.I18n.gettextn(I18n.java:105)
at org.openstreetmap.josm.tools.I18n.trn(I18n.java:55)
at org.openstreetmap.josm.actions.PasteTagsAction$TagPaster.buildChangeCommand(PasteTagsAction.java:109)
at org.openstreetmap.josm.actions.PasteTagsAction$TagPaster.pasteFromHomogeneousSource(PasteTagsAction.java:173)
at org.openstreetmap.josm.actions.PasteTagsAction$TagPaster.execute(PasteTagsAction.java:249)
at org.openstreetmap.josm.actions.PasteTagsAction.actionPerformed(PasteTagsAction.java:260)
at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1633)
at javax.swing.JComponent.processKeyBinding(JComponent.java:2851)
at javax.swing.KeyboardManager.fireBinding(KeyboardManager.java:267)
at javax.swing.KeyboardManager.fireKeyboardAction(KeyboardManager.java:216)
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:6040)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4630)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1850)
at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:712)
at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:990)
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:855)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:676)
at java.awt.Component.dispatchEventImpl(Component.java:4502)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Window.dispatchEventImpl(Window.java:2478)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

Attachments (1)

layer.osm (81.1 KB ) - added by deejay1@… 14 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 by bastiK, 14 years ago

Please save the data layer and attach the *.osm file here. Is it reproducible each time with 2 given buildings?

by deejay1@…, 14 years ago

Attachment: layer.osm added

comment:2 by deejay1@…, 14 years ago

File attached. It is reproducible with any 2 given buildings...

comment:3 by bastiK, 14 years ago

Resolution: fixed
Status: newclosed

(In [3174]) fixed #4858 (ArrayIndexOutOfBoundsException in translation code)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.