Modify ↓
#13646 closed defect (fixed)
NPE at LayerPositionStrategy when inserting a node from Clipboard
Reported by: | DD1GJ | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | 16.10 |
Component: | Core | Version: | |
Keywords: | template_report gsoc-core regression | Cc: | michael2402 |
Description
What steps will reproduce the problem?
- copy node fom a layer to clipboard
- switch to OSM-Layer
- Insert from Clipboard to layer
What is the expected result?
What happens instead?
crash
Please provide any additional information below. Attach a screenshot if possible.
URL:http://josm.openstreetmap.de/svn/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2016-09-16 13:38:58 +0200 (Fri, 16 Sep 2016) Build-Date:2016-09-17 01:40:40 Revision:11005 Relative:URL: ^/trunk Identification: JOSM/1.5 (11005 de) Windows 10 64-Bit Memory Usage: 279 MB / 989 MB (61 MB allocated, but free) Java version: 1.8.0_60-b27, Oracle Corporation, Java HotSpot(TM) Client VM Screen: \Display0 1280x1024 Maximum Screen Size: 1280x1024 Dataset consistency test: No problems found Plugins: + FixAddresses (32796) + OpeningHoursEditor (32699) + PicLayer (32796) + SeaChart (32995) + SeaMapEditor (32767) + apache-commons (32699) + apache-http (32699) + cadastre-fr (32950) + download_along (32946) + ejml (32680) + geotools (32813) + jts (32699) + opendata (32898) + photo_geotagging (32699) + reverter (32796) + terracer (32699) + turnlanes (32796) + undelete (32699) + utilsplugin2 (32815) Last errors/warnings: - W: java.io.IOException: Attribution is not loaded yet - W: java.io.IOException: Attribution is not loaded yet - W: java.io.IOException: Attribution is not loaded yet - W: java.io.IOException: Attribution is not loaded yet - W: java.io.IOException: Attribution is not loaded yet - W: java.io.IOException: Attribution is not loaded yet - W: java.io.IOException: Attribution is not loaded yet - W: java.io.IOException: Attribution is not loaded yet - W: java.io.IOException: Attribution is not loaded yet - W: java.io.IOException: Attribution is not loaded yet === REPORTED CRASH DATA === BugReportExceptionHandler#handleException: No data collected. Warning issued by: BugReportExceptionHandler#handleException === STACK TRACE === Thread: AWT-EventQueue-0 (17) of main java.lang.NullPointerException at org.openstreetmap.josm.gui.layer.LayerPositionStrategy.lambda$afterLast$5(LayerPositionStrategy.java:74) at org.openstreetmap.josm.gui.dialogs.layer.LayerListTransferHandler.importData(LayerListTransferHandler.java:93) at javax.swing.TransferHandler$TransferAction.actionPerformedImpl(Unknown Source) at javax.swing.TransferHandler$TransferAction.access$800(Unknown Source) at javax.swing.TransferHandler$TransferAction$1.run(Unknown Source) at javax.swing.TransferHandler$TransferAction$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at javax.swing.TransferHandler$TransferAction$2.run(Unknown Source) at javax.swing.TransferHandler$TransferAction$2.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at javax.swing.TransferHandler$TransferAction.actionPerformed(Unknown Source) at javax.swing.SwingUtilities.notifyAction(Unknown Source) at javax.swing.JComponent.processKeyBinding(Unknown Source) at javax.swing.JTable.processKeyBinding(Unknown Source) at javax.swing.JComponent.processKeyBindings(Unknown Source) at javax.swing.JComponent.processKeyEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.KeyboardFocusManager.redispatchEvent(Unknown Source) at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source) at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Source) at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source) at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEventImpl(Unknown Source) at java.awt.EventQueue.access$500(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source)
Attachments (0)
Change History (3)
comment:1 by , 8 years ago
Cc: | added |
---|---|
Keywords: | gsoc-core regression added |
Milestone: | → 16.09 |
Summary: | crash when inserting a node from Clipboard → NPE at LayerPositionStrategy when inserting a node from Clipboard |
comment:2 by , 8 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
In 11008/josm: