﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
5981	NPE when using trying to load osm as background	jwu@…	team	"What steps will reproduce the problem?
 1. start josm
 2. load some map data from osm server [can be omitted]
 3. try to use osm as background layer

The same procedure with bing instead works.

What is the expected result?
-> osm should be loaded in the background of the map data

What happens instead?
-> NPE occurs as shown below

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

{{{
Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2011-02-16 02:31:36
Last Changed Author: bastiK
Revision: 3907
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2011-02-15 22:31:05 +0100 (Tue, 15 Feb 2011)
Last Changed Rev: 3907

Identification: JOSM/1.5 (3907 de)
Memory Usage: 59 MB / 247 MB (26 MB allocated, but free)
Java version: 1.6.0_23, Sun Microsystems Inc., Java HotSpot(TM) Client VM
Operating system: Windows XP
Dataset consistency test: No problems found


java.lang.NullPointerException
	at org.openstreetmap.josm.gui.layer.TMSLayer.paint(TMSLayer.java:1199)
	at org.openstreetmap.josm.gui.MapView.paintLayer(MapView.java:450)
	at org.openstreetmap.josm.gui.MapView.paint(MapView.java:504)
	at javax.swing.JComponent.paintChildren(Unknown Source)
	at javax.swing.JSplitPane.paintChildren(Unknown Source)
	at javax.swing.JComponent.paint(Unknown Source)
	at javax.swing.JComponent.paintChildren(Unknown Source)
	at javax.swing.JComponent.paint(Unknown Source)
	at javax.swing.JComponent.paintChildren(Unknown Source)
	at javax.swing.JComponent.paint(Unknown Source)
	at javax.swing.JComponent.paintChildren(Unknown Source)
	at javax.swing.JComponent.paint(Unknown Source)
	at javax.swing.JComponent.paintChildren(Unknown Source)
	at javax.swing.JComponent.paint(Unknown Source)
	at javax.swing.JLayeredPane.paint(Unknown Source)
	at javax.swing.JComponent.paintChildren(Unknown Source)
	at javax.swing.JComponent.paint(Unknown Sourc
}}}
"	defect	closed	normal		Core imagery	latest	duplicate	NPE WMS osm background	
