Modify ↓
Opened 15 years ago
Closed 15 years ago
#4010 closed defect (fixed)
[NPE] While deleting layer
Reported by: | Ldp | Owned by: | team |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Core | Version: | latest |
Keywords: | Cc: |
Description
'Discard and delete' a layer that had been modified and saved again since loading:
Build-Date: 2009-11-22 19:43:07 Revision: 2505 Is-Local-Build: true Memory Usage: 69 MB / 1016 MB (14 MB allocated, but free) Java version: 1.6.0_17 Dataset consistency test: No problems found Plugins: AddrInterpolationterracerutilspluginvalidatorwmsplugin Plugin AddrInterpolation Version: 18503 Plugin terracer Version: 17874 Plugin utilsplugin Version: 18621 Plugin validator Version: 18623 Plugin wmsplugin Version: 18712 java.lang.NullPointerException at org.openstreetmap.josm.gui.dialogs.RelationListDialog$RelationListModel.setRelations(RelationListDialog.java:527) at org.openstreetmap.josm.gui.dialogs.RelationListDialog.initFromLayer(RelationListDialog.java:169) at org.openstreetmap.josm.gui.dialogs.RelationListDialog.activeLayerChange(RelationListDialog.java:695) at org.openstreetmap.josm.gui.MapView.fireActiveLayerChanged(MapView.java:234) at org.openstreetmap.josm.gui.MapView.removeLayer(MapView.java:272) at org.openstreetmap.josm.Main.removeLayer(Main.java:189) at org.openstreetmap.josm.gui.dialogs.LayerListDialog$DeleteLayerAction.actionPerformed(LayerListDialog.java:336) at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.setPressed(Unknown Source) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source) at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source) at java.awt.Component.processMouseEvent(Unknown Source) at javax.swing.JComponent.processMouseEvent(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.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.dispatchEvent(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.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)
The layer is not removed, but looses focus. No other layer has focus either.
Attachments (0)
Change History (4)
comment:1 by , 15 years ago
comment:4 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Also happens if you open a new layer and then immediately delete it.