Modify

Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#5981 closed defect (duplicate)

NPE when using trying to load osm as background

Reported by: jwu@… Owned by: team
Priority: normal Component: Core imagery
Version: latest Keywords: NPE WMS osm background
Cc:

Description

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

Attachments (0)

Change History (2)

comment:1 Changed 2 years ago by skyper

  • Resolution set to duplicate
  • Status changed from new to closed

comment:2 Changed 2 years ago by skyper

Closed as duplicate of #5965.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed .
as The resolution will be set. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.