Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#10427 closed defect (fixed)

Problems deleting a photo layer

Reported by: skyper Owned by: team
Priority: normal Milestone: 14.08
Component: Core image mapping Version: latest
Keywords: template_report delete layer Cc:


What steps will reproduce the problem?

  1. load some pictures
  2. open photo toggle dialog
  3. delete photo layer
  4. try to jump to next picture in toggle dialog
  5. load some pictures

What is the expected result?

After 3. the picture should not be shown anymore and after 5. the pictures need to be reloaded in toggle dialog

What happens instead?

Still visible in 4. (leading to NPE below ?) and not reloaded after 5.

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

You always have to close the toggle dialog and open a new one to reload.
I am not really sure when the exception occurred as it was only shown in the terminal but not within the GUI.

Repository Root:
Build-Date: 2014-08-26 01:34:47
Last Changed Author: Don-vip
Revision: 7442
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last Changed Date: 2014-08-26 01:32:24 +0200 (Tue, 26 Aug 2014)
Last Changed Rev: 7442

Identification: JOSM/1.5 (7442 en) Linux Debian GNU/Linux 7.6 (wheezy)
Memory Usage: 437 MB / 882 MB (187 MB allocated, but free)
Java version: 1.7.0_65, Oracle Corporation, OpenJDK 64-Bit Server VM
Java package: openjdk-7-jre:amd64-7u65-2.5.1-2~deb7u1
Dataset consistency test: No problems found

- OpeningHoursEditor (30519)
- conflation (0.1.7)
- imagery-xml-bounds (30495)
- jts (30416)
- mirrored_download (30495)
- notes (v0.9.4)
- photoadjust (30428)
- reverter (30521)
- terracer (30416)
- todo (29154)
- undelete (30416)
- utilsplugin2 (30460)
- wikipedia (30449)

Last errors/warnings:
- E: Failed to locate image 'null'
- W: java.lang.reflect.InvocationTargetException. Cause: java.lang.NullPointerException
- W: java.lang.reflect.InvocationTargetException. Cause: java.lang.NullPointerException
- W: java.lang.reflect.InvocationTargetException. Cause: java.lang.NullPointerException
WARNING: java.lang.reflect.InvocationTargetException. Cause: java.lang.NullPointerException
	at java.awt.EventQueue.invokeAndWait(
	at java.awt.EventQueue.invokeAndWait(
	at org.openstreetmap.josm.gui.MapStatus$
Caused by: java.lang.NullPointerException
	at org.openstreetmap.josm.gui.MapStatus$Collector.popupCycleSelection(
	at org.openstreetmap.josm.gui.MapStatus$Collector.access$500(
	at org.openstreetmap.josm.gui.MapStatus$Collector$
	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 (4)

comment:1 Changed 9 years ago by Don-vip

#9564 is related but it's not really a duplicate, the NPE looks unrelated.

comment:2 Changed 9 years ago by Don-vip

Milestone: 14.08

comment:3 Changed 9 years ago by Don-vip

Resolution: fixed
Status: newclosed

In 7444/josm:

fix #10427 - Problems deleting a photo layer

comment:4 Changed 9 years ago by Don-vip

If you manage to reproduce the NPE or understand what causes it, please share the info on #9564.

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.