Opened 10 years ago

Closed 10 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:


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:
Build-Date: 2010-04-06 01:31:31
Last Changed Author: bastiK
Revision: 3168
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
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.actions.PasteTagsAction$TagPaster.buildChangeCommand(
at org.openstreetmap.josm.actions.PasteTagsAction$TagPaster.pasteFromHomogeneousSource(
at org.openstreetmap.josm.actions.PasteTagsAction$TagPaster.execute(
at org.openstreetmap.josm.actions.PasteTagsAction.actionPerformed(
at javax.swing.SwingUtilities.notifyAction(
at javax.swing.JComponent.processKeyBinding(
at javax.swing.KeyboardManager.fireBinding(
at javax.swing.KeyboardManager.fireKeyboardAction(
at javax.swing.JComponent.processKeyBindingsForAllComponents(
at javax.swing.JComponent.processKeyBindings(
at javax.swing.JComponent.processKeyEvent(
at java.awt.Component.processEvent(
at java.awt.Container.processEvent(
at java.awt.Component.dispatchEventImpl(
at java.awt.Container.dispatchEventImpl(
at java.awt.Component.dispatchEvent(
at java.awt.KeyboardFocusManager.redispatchEvent(
at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(
at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(
at java.awt.Component.dispatchEventImpl(
at java.awt.Container.dispatchEventImpl(
at java.awt.Window.dispatchEventImpl(
at java.awt.Component.dispatchEvent(
at java.awt.EventQueue.dispatchEvent(
at java.awt.EventDispatchThread.pumpOneEventForFilters(
at java.awt.EventDispatchThread.pumpEventsForFilter(
at java.awt.EventDispatchThread.pumpEventsForHierarchy(
at java.awt.EventDispatchThread.pumpEvents(
at java.awt.EventDispatchThread.pumpEvents(

Attachments (1)

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

Download all attachments as: .zip

Change History (4)

comment:1 Changed 10 years ago by bastiK

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

Changed 10 years ago by deejay1@…

Attachment: layer.osm added

comment:2 Changed 10 years ago by deejay1@…

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

comment:3 Changed 10 years ago by bastiK

Resolution: fixed
Status: newclosed

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

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.