Opened 6 years ago

Closed 6 years ago

#10899 closed defect (fixed)

NPE when purging selected objects

Reported by: anonymous Owned by: team
Priority: normal Milestone: 15.01
Component: Core Version: latest
Keywords: template_report Cc:


What steps will reproduce the problem?

  1. Start JOSM and load OSM data from a Mapcraft "Remote" link (bounding box 49.9516758,2.2099044 49.9923478,2.2743064
  2. Search for "landuse or power"
  3. Purge selection, validate the dialog box

What is the expected result?

Dialog box closes, content is purged

What happens instead?

Dialog box closes, content is purged but with an error pop-up

Please provide any additional information below. Attach a screenshot if possible.

Repository Root:
Build-Date: 2014-12-29 00:11:17
Last Changed Author: Don-vip
Revision: 7906
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Relative URL: ^/trunk
Last Changed Date: 2014-12-29 00:13:58 +0100 (Mon, 29 Dec 2014)
Last Changed Rev: 7906

Identification: JOSM/1.5 (7906 en) Mac OS X 10.9.5
Memory Usage: 421 MB / 910 MB (187 MB allocated, but free)
Java version: 1.7.0_71, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
VM arguments: [ Plug-ins/JavaAppletPlugin.plugin/Contents/Home/lib/security/javaws.policy, -DtrustProxy=true, -Djnlpx.home=/Library/Internet Plug-ins/JavaAppletPlugin.plugin/Contents/Home/bin,, -Djnlpx.origFilenameArg=/Applications/josm.jnlp, -Djnlpx.remove=true, -Dsun.awt.warmup=true, -Djava.util.Arrays.useLegacyMergeSort=true,, -Dmacosx.jnlpx.dock.icon=/Users/xxxxx/Library/Application Support/Oracle/Java/Deployment/cache/6.0/16/47ee53d0-6ca0981a.icns, -Djnlpx.jvm="/Library/Internet Plug-ins/JavaAppletPlugin.plugin/Contents/Home/bin/java", -Djnlpx.vmargs=LURqYXZhLnV0aWwuQXJyYXlzLnVzZUxlZ2FjeU1lcmdlU29ydD10cnVlAA==]
Dataset consistency test: No problems found

- OpeningHoursEditor (30737)
- SimplifyArea (30791)
- cadastre-fr (30859)
- download_along (30762)
- geotools (30762)
- jts (30762)
- merge-overlap (30784)
- notes (v0.9.5)
- scripting (30702)
- tag2link (30719)
- utilsplugin2 (30863)

Last errors/warnings:
- E: java.lang.NullPointerException

	at org.openstreetmap.josm.gui.dialogs.SelectionListDialog$SelectionListModel$
	at org.openstreetmap.josm.gui.util.GuiHelper.runInEDTAndWait(
	at org.openstreetmap.josm.gui.dialogs.SelectionListDialog$SelectionListModel.setJOSMSelection(
	at org.openstreetmap.josm.gui.dialogs.SelectionListDialog$SelectionListModel.selectionChanged(
	at java.awt.event.InvocationEvent.dispatch(
	at java.awt.EventQueue.dispatchEventImpl(
	at java.awt.EventQueue.access$200(
	at java.awt.EventQueue$
	at java.awt.EventQueue$
	at Method)
	at java.awt.EventQueue.dispatchEvent(
	at java.awt.EventDispatchThread.pumpOneEventForFilters(
	at java.awt.EventDispatchThread.pumpEventsForFilter(
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(
	at java.awt.EventDispatchThread.pumpEvents(
	at java.awt.EventDispatchThread.pumpEvents(

Attachments (0)

Change History (2)

comment:1 Changed 6 years ago by Don-vip

Milestone: 15.01

comment:2 Changed 6 years ago by Don-vip

Resolution: fixed
Status: newclosed

In 7909/josm:

fix #10899 - robustness to nodes without coordinates

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.