Modify ↓
Opened 7 years ago
Closed 7 years ago
#14406 closed defect (duplicate)
Pasting tags onto way causes error
Reported by: | Owned by: | team | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core | Version: | |
Keywords: | template_report | Cc: |
Description
What steps will reproduce the problem?
- Create a way
- Copy tags from another way/area
- Paste tags with Shift+Ctrl+V
What is the expected result?
Way gets copied tags
What happens instead?
JOSM throws an error
Please provide any additional information below. Attach a screenshot if possible.
Created a self-intersecting parking aisle (way 476736703) and tried to paste copied tags (highway=service, service=parking_aisle) to it. Works just fine if I add the tags manually. The same tags can also be pasted to other self-intersecting ways with no problems.
This also happened again later with a parking lot (way 476736694) in the same part of the map.
URL:http://josm.openstreetmap.de/svn/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2017-02-02 01:22:52 +0100 (Thu, 02 Feb 2017) Build-Date:2017-02-02 02:33:28 Revision:11526 Relative:URL: ^/trunk Identification: JOSM/1.5 (11526 en) Linux Debian GNU/Linux 9.0 (stretch) Memory Usage: 712 MB / 2665 MB (336 MB allocated, but free) Java version: 1.8.0_121-8u121-b13-3-b13, Oracle Corporation, OpenJDK 64-Bit Server VM Screen: :0.0 3840x1080, :0.1 1920x1080 Maximum Screen Size: 3840x1080 Java package: openjdk-8-jre:amd64-8u121-b13-3 Java ATK Wrapper package: libatk-wrapper-java:all-0.33.3-13 VM arguments: [-Djosm.restart=true, -Djava.net.useSystemProxies=true] Dataset consistency test: No problems found Map paint styles: - https://josm.openstreetmap.de/josmfile?page=Styles/Lane_and_Road_Attributes&zip=1 Last errors/warnings: - E: java.lang.NullPointerException: Failed to retrieve atom name. - E: java.lang.NullPointerException: Failed to retrieve atom name. - E: java.lang.NullPointerException: Failed to retrieve atom name. - E: java.lang.NullPointerException: Failed to retrieve atom name. - E: java.lang.NullPointerException: Failed to retrieve atom name. - E: java.lang.NullPointerException: Failed to retrieve atom name. - E: java.lang.NullPointerException: Failed to retrieve atom name. - E: java.lang.NullPointerException: Failed to retrieve atom name. - E: Handled by bug report queue: java.lang.NullPointerException: Failed to retrieve atom name. - E: Handled by bug report queue: java.lang.NullPointerException: Failed to retrieve atom name. === REPORTED CRASH DATA === BugReportExceptionHandler#handleException: No data collected. Warning issued by: BugReportExceptionHandler#handleException === STACK TRACE === Thread: AWT-EventQueue-1 (19) of main java.lang.NullPointerException: Failed to retrieve atom name. at sun.awt.X11.XlibWrapper.XGetAtomName(Native Method) at sun.awt.X11.XAtom.getName(XAtom.java:186) at sun.awt.X11.XDataTransferer.getTargetNameForAtom(XDataTransferer.java:165) at sun.awt.X11.XDataTransferer.getNativeForFormat(XDataTransferer.java:154) at sun.awt.datatransfer.DataTransferer.getFlavorsForFormats(DataTransferer.java:736) at sun.awt.datatransfer.ClipboardTransferable.<init>(ClipboardTransferable.java:90) at sun.awt.X11.XClipboard.getContents(XClipboard.java:108) at org.openstreetmap.josm.gui.datatransfer.OsmTransferHandler.pasteTags(OsmTransferHandler.java:81) at org.openstreetmap.josm.actions.PasteTagsAction.actionPerformed(PasteTagsAction.java:47) at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1663) at javax.swing.JComponent.processKeyBinding(JComponent.java:2882) at javax.swing.KeyboardManager.fireBinding(KeyboardManager.java:307) at javax.swing.KeyboardManager.fireKeyboardAction(KeyboardManager.java:263) at javax.swing.JComponent.processKeyBindingsForAllComponents(JComponent.java:2974) at javax.swing.JComponent.processKeyBindings(JComponent.java:2966) at javax.swing.JComponent.processKeyEvent(JComponent.java:2845) at java.awt.Component.processEvent(Component.java:6310) at java.awt.Container.processEvent(Container.java:2236) at java.awt.Component.dispatchEventImpl(Component.java:4889) at java.awt.Container.dispatchEventImpl(Container.java:2294) at java.awt.Component.dispatchEvent(Component.java:4711) at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1954) at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:806) at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1074) at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:945) at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:771) at java.awt.Component.dispatchEventImpl(Component.java:4760) at java.awt.Container.dispatchEventImpl(Container.java:2294) at java.awt.Window.dispatchEventImpl(Window.java:2746) at java.awt.Component.dispatchEvent(Component.java:4711) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758) at java.awt.EventQueue.access$500(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:709) at java.awt.EventQueue$3.run(EventQueue.java:703) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90) at java.awt.EventQueue$4.run(EventQueue.java:731) at java.awt.EventQueue$4.run(EventQueue.java:729) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) at java.awt.EventQueue.dispatchEvent(EventQueue.java:728) at org.GNOME.Accessibility.AtkWrapper$5.dispatchEvent(AtkWrapper.java:700) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Attachments (0)
Note:
See TracTickets
for help on using tickets.
Closed as duplicate of #14356.