Modify ↓
#7517 closed defect (fixed)
NPE when pasting relation with incomplete node members to new layer
Reported by: | bastiK | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core | Version: | |
Keywords: | Cc: |
Description (last modified by )
Copying a relation with incomplete node members and pasting it to a new layer results in NPE.
Download; Ctrl-A; Ctrl-C; Ctrl-N; Ctrl-V -> Error
$ josm-latest Using /usr/lib/jvm/java-6-openjdk/bin/java to execute josm. Repository Root: http://josm.openstreetmap.de/svn Build-Date: 2012-03-17 02:32:15 Last Changed Author: simon04 Revision: 5092 Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b URL: http://josm.openstreetmap.de/svn/trunk Last Changed Date: 2012-03-16 22:36:45 +0100 (Fri, 16 Mar 2012) Last Changed Rev: 5092 Info: Missing preference file '/home/te/.josm-latest/preferences.xml'. Creating a default preference file. GET http://api.openstreetmap.org/api/capabilities... OK GET http://api.openstreetmap.org/api/0.6/map?bbox=12.2196722,51.833125599999995,12.2450352,51.8426982 java.lang.NullPointerException at org.openstreetmap.josm.actions.PasteAction.pasteData(PasteAction.java:54) at org.openstreetmap.josm.actions.PasteAction.actionPerformed(PasteAction.java:44) at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1660) 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:6045) at java.awt.Container.processEvent(Container.java:2045) at java.awt.Component.dispatchEventImpl(Component.java:4629) at java.awt.Container.dispatchEventImpl(Container.java:2103) at java.awt.Component.dispatchEvent(Component.java:4455) at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1860) at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:759) at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1035) at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:902) at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:724) at java.awt.Component.dispatchEventImpl(Component.java:4499) at java.awt.Container.dispatchEventImpl(Container.java:2103) at java.awt.Window.dispatchEventImpl(Window.java:2517) at java.awt.Component.dispatchEvent(Component.java:4455) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:649) at java.awt.EventQueue.access$000(EventQueue.java:96) at java.awt.EventQueue$1.run(EventQueue.java:608) at java.awt.EventQueue$1.run(EventQueue.java:606) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:116) at java.awt.EventQueue$2.run(EventQueue.java:622) at java.awt.EventQueue$2.run(EventQueue.java:620) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105) at java.awt.EventQueue.dispatchEvent(EventQueue.java:619) 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)
Attachments (0)
Change History (6)
comment:1 by , 13 years ago
Description: | modified (diff) |
---|---|
Summary: | NPE on paste → NPE when pasting relation with incomplete node members to new layer |
comment:2 by , 13 years ago
comment:3 by , 13 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
#7519 looks similar