﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
8624	Exception when second monitor is activated	anonymous	anonymous	"What steps will reproduce the problem?
 1. start JOSM on Win 7 with only primary monitor activated and work with JOSM 
 2. press WIN+P and choose extended (so both attached monitors are active)
 3. exception message appears

What is the expected result?
no exception message

What happens instead?
exception message appears, JOSM continues running normally - the message is just irritating and seems to have no real meaning

{{{
Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2013-03-07 02:31:35
Last Changed Author: Don-vip
Revision: 5759
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2013-03-06 22:41:42 +0100 (Wed, 06 Mar 2013)
Last Changed Rev: 5759

Identification: JOSM/1.5 (5759 de)
Memory Usage: 212 MB / 247 MB (73 MB allocated, but free)
Java version: 1.7.0_17, Oracle Corporation, Java HotSpot(TM) Client VM
Operating system: Windows 7
Dataset consistency test: No problems found

Plugin: OpeningHoursEditor (29435)
Plugin: contourmerge (1003)
Plugin: routes (29435)

java.lang.ArrayIndexOutOfBoundsException: 1
	at sun.awt.Win32GraphicsEnvironment.getDefaultScreenDevice(Unknown Source)
	at sun.awt.windows.WWindowPeer.updateGC(Unknown Source)
	at sun.awt.windows.WWindowPeer.displayChanged(Unknown Source)
	at sun.awt.windows.WWindowPeer$1.run(Unknown Source)
	at java.awt.event.InvocationEvent.dispatch(Unknown Source)
	at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
	at java.awt.EventQueue.access$200(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$1.doIntersectionPrivilege(Unknown Source)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
	at java.awt.EventQueue$4.run(Unknown Source)
	at java.awt.EventQueue$4.run(Unknown Source)
	at java.security.AccessCon
}}}


"	defect	closed	trivial		Core	tested	othersoftware	java7, java8, javabug 8	
