Modify

Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#5981 closed defect (duplicate)

NPE when using trying to load osm as background

Reported by: jwu@… Owned by: team
Priority: normal Milestone:
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 by skyper, 15 years ago

Resolution: duplicate
Status: newclosed

comment:2 by skyper, 15 years ago

Closed as duplicate of #5965.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.