Modify

Opened 11 years ago

Closed 11 years ago

#9644 closed defect (fixed)

Attempting to undelete a redacted node produces a NPE in undelete plugin

Reported by: rickmastfan67 Owned by: team
Priority: normal Milestone:
Component: Plugin undelete Version: latest
Keywords: Cc:

Description

Steps to reproduce:

  1. Have the undelete plugin installed.
  2. Attempt to undelete the following node: 334515920

What should happen:
JOSM should tell you that the node was redacted and can't be undeleted.

What happens:
JOSM attempts to undelete the node, but has an NPE show up (only seen in the console).

ERROR: java.lang.NullPointerException
java.lang.NullPointerException
        at org.openstreetmap.josm.plugins.undelete.UndeleteAction$1.run(UndeleteAction.java:107)
        at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
        at java.util.concurrent.FutureTask.run(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2014-01-30 02:37:19
Last Changed Author: Don-vip
Revision: 6783
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2014-01-30 02:08:22 +0100 (Thu, 30 Jan 2014)
Last Changed Rev: 6783

Identification: JOSM/1.5 (6783 en) Windows 7 64-Bit
Memory Usage: 222 MB / 1820 MB (133 MB allocated, but free)
Java version: 1.7.0_51, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
VM arguments: [-Xmx2048M]
Dataset consistency test: No problems found

Plugin: ImageryCache (30135)
Plugin: OpeningHoursEditor (30117)
Plugin: buildings_tools (30057)
Plugin: measurement (30104)
Plugin: mirrored_download (30162)
Plugin: notes (v0.8)
Plugin: osmarender (29854)
Plugin: reverter (30031)
Plugin: turnrestrictions (30237)
Plugin: undelete (30207)
Plugin: utilsplugin2 (30200)

Attachments (0)

Change History (1)

comment:1 by Don-vip, 11 years ago

Resolution: fixed
Status: newclosed

Fixed in [o30271].

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.