﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
8240	Error while uploading	D4RKL3G10N	Upliner	"What steps will reproduce the problem?
 1. Open my changeset with the JOSM 5576
 2. Attempt to upload it

What is the expected result?
It should upload.

What happens instead?
An error message will appear stating ""An unexpected exception occured. This is always a coding error. If you are running the latest version of JOSM, please consider being kind and file a bug report.""

Please provide any additional information below. Attach a screenshot if
possible.

Please note the changeset attached. Also, this changeset was created using the ""Revert changeset"" plugin, since a mapper deleted large chunks of data. So all items there included are previous versions of items already in the database, although the conflicts have been solved.

{{{
Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2012-11-10 02:31:13
Last Changed Author: bastiK
Revision: 5576
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2012-11-09 21:16:38 +0100 (Fri, 09 Nov 2012)
Last Changed Rev: 5576

Identification: JOSM/1.5 (5576 en)
Memory Usage: 42 MB / 247 MB (15 MB allocated, but free)
Java version: 1.6.0_37, Sun Microsystems Inc., Java HotSpot(TM) Client VM
Operating system: Windows 7

Dataset consistency test:
[SEARCH WAYS] {Way id=87828430 version=3 MT> nodes=[{Node id=26464417 version=4 M }, {Node id=1021051024 version=3 M }]} not found using Dataset.searchWays()


Plugin: OpeningHoursEditor (28656)
Plugin: PicLayer (28807)
Plugin: buildings_tools (28891)
Plugin: reverter (28820)
Plugin: terracer (28807)
Plugin: turnrestrictions (28807)
Plugin: utilsplugin2 (28807)

java.lang.NullPointerException
	at org.openstreetmap.josm.data.validation.util.ValUtil.getWaysInCell(ValUtil.java:41)
	at org.openstreetmap.josm.data.validation.tests.SimilarNamedWays.visit(SimilarNamedWays.java:68)
	at org.openstreetmap.josm.data.osm.Way.visit(Way.java:198)
	at org.openstreetmap.josm.data.validation.Test.visit(Test.java:144)
	at org.openstreetmap.josm.actions.upload.ValidateUploadHook.checkUpload(ValidateUploadHook.java:61)
	at org.openstreetmap.josm.actions.UploadAction.checkPreUploadConditions(UploadAction.java:187)
	at org.openstreetmap.josm.actions.UploadAction.uploadData(UploadAction.java:210)
	at or
}}}
"	defect	closed	major		Plugin reverter		fixed	template_report	
