﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
13733	JOSM suddenly shows an error dialog box	slee047@…	team	"==== What steps will reproduce the problem?
1. Trying to zoom in and out of a large map (Entire Singapore city, but the rectangle bound box contains some of the areas in Johor, Malaysia which I need to remove them all.)

It is quite random issue on my Macbook Pro with 16GB RAM.

==== What is the expected result?
Able to view freely, I would like to be able to view the map by dragging in the manner similar to Google Map instead of click and zoom in. Zoom out and then click in order to view neighbouring areas that is removed in the zoom view.

==== What happens instead?
The dialog box came out.
==== Please provide any additional information below. Attach a screenshot if possible.

{{{
URL:http://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2016-09-06 00:16:07 +0200 (Tue, 06 Sep 2016)
Build-Date:2016-09-05 22:21:00
Revision:10966
Relative:URL: ^/trunk

Identification: JOSM/1.5 (10966 zh_CN) Windows 10 64-Bit
Memory Usage: 966 MB / 966 MB (346 MB allocated, but free)
Java version: 1.8.0_102-b14, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Screen: \Display0 2560x1600
Maximum Screen Size: 2560x1600
Program arguments: [%UserProfile%\Desktop\OSM_Works\Singapore_Clean2.osm]
Dataset consistency test: No problems found

Plugins:
+ turnrestrictions (32796)


=== REPORTED CRASH DATA ===
BugReportExceptionHandler#handleException:
No data collected.

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: AWT-EventQueue-0 (19) of main
java.lang.NullPointerException
	at org.openstreetmap.josm.gui.MapViewState$MapViewEastNorthPoint.getInViewX(MapViewState.java:581)
	at org.openstreetmap.josm.gui.MapViewState$MapViewPoint.oneNormInView(MapViewState.java:509)
	at org.openstreetmap.josm.data.osm.visitor.paint.AbstractMapRenderer.isLargeSegment(AbstractMapRenderer.java:199)
	at org.openstreetmap.josm.actions.mapmode.SelectAction$VirtualManager.activateVirtualNodeNearPoint(SelectAction.java:1197)
	at org.openstreetmap.josm.actions.mapmode.SelectAction$VirtualManager.access$300(SelectAction.java:1158)
	at org.openstreetmap.josm.actions.mapmode.SelectAction.giveUserFeedback(SelectAction.java:256)
	at org.openstreetmap.josm.actions.mapmode.SelectAction.giveUserFeedback(SelectAction.java:235)
	at org.openstreetmap.josm.actions.mapmode.SelectAction.mouseMoved(SelectAction.java:473)
	at java.awt.AWTEventMulticaster.mouseMoved(Unknown Source)
	at java.awt.AWTEventMulticaster.mouseMoved(Unknown Source)
	at java.awt.Component.processMouseMotionEvent(Unknown Source)
	at javax.swing.JComponent.processMouseMotionEvent(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.dispatchEventImpl(Unknown Source)
	at java.awt.EventQueue.access$500(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.awt.EventQueue$4.run(Unknown Source)
	at java.awt.EventQueue$4.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(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)
}}}
"	defect	closed	normal		Core	tested	duplicate	template_report	
