Opened 17 years ago
Closed 17 years ago
#631 closed defect (fixed)
"Paste tags" causes an error
Reported by: | cartinus | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Core | Version: | |
Keywords: | Cc: |
Description
I am drawing a "highway=pedestrian/bicycle=yes/source=survey". It forks and merges again a little further on. I copy the main way to the clipboard. (Click to select, Ctrl-C to copy) Then I select the fork, which is a way without any tags at that moment, and press Ctrl-Shift-V. After this I want to slightly move the node where the fork and main path merge again. This gives me the following bug report.
Path: josm
URL: http://www.openstreetmap.de/svn/josm
Repository Root: http://www.openstreetmap.de/svn/josm
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Revision: 562
Node Kind: directory
Last Changed Author: david
Last Changed Rev: 562
Last Changed Date: 2008-02-25 12:41:43 +0100 (Mon, 25 Feb 2008)
java.lang.NullPointerException
at org.openstreetmap.josm.actions.PasteTagsAction.containsSameKeysWithDifferentValues(PasteTagsAction.java:67)
at org.openstreetmap.josm.actions.PasteTagsAction.possiblyEnable(PasteTagsAction.java:90)
at org.openstreetmap.josm.actions.PasteTagsAction.selectionChanged(PasteTagsAction.java:105)
at org.openstreetmap.josm.data.osm.DataSet.fireSelectionChanged(DataSet.java:190)
at org.openstreetmap.josm.data.osm.DataSet.setSelected(DataSet.java:142)
at org.openstreetmap.josm.actions.mapmode.SelectAction.selectPrims(SelectAction.java:309)
at org.openstreetmap.josm.actions.mapmode.SelectAction.mousePressed(SelectAction.java:234)
at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:222)
at java.awt.Component.processMouseEvent(Component.java:5498)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
at java.awt.Component.processEvent(Component.java:5266)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3968)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3889)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at java.awt.Container.dispatchEventImpl(Container.java:2010)
at java.awt.Window.dispatchEventImpl(Window.java:1778)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Attachments (0)
Change History (2)
comment:1 by , 17 years ago
Owner: | changed from | to
---|
comment:2 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |