Opened 8 years ago

Closed 8 years ago

#13115 closed defect (fixed)

josm wms get layers causes NullPointerException

Reported by: flohoff Owned by: team
Priority: normal Milestone: 16.06
Component: Core imagery Version:
Keywords: template_report Cc:


while trying to add a new WMS source i am getting a NullPointerException.

I was trying with the WMS URL Below and had problems. Works flawless in QGIS. Does
not work in older JOSM so i upgraded the josm. Now i get a NullPointerException.

What steps will reproduce the problem?

  1. Add new Imagery WMS URL
  2. Click on Get Layers
  3. NullPointerException

What is the expected result?

See the layer list

What happens instead?


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

Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2016-07-06 01:34:35 +0200 (Wed, 06 Jul 2016)
Build-Date:2016-07-06 01:33:35
Relative:URL: ^/trunk

Identification: JOSM/1.5 (10519 en) Linux Debian GNU/Linux 8.5 (jessie)
Memory Usage: 496 MB / 1820 MB (383 MB allocated, but free)
Java version: 1.8.0_92-b14, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM

- Mapillary (32396)
- Tracer2 (32309)
- apache-commons (32309)
- apache-http (32309)
- buildings_tools (32309)
- continuosDownload (53)
- gson (32309)
- jogl (1.0.46)
- kendzi3d (
- kendzi3d-resources (0.0.1)
- log4j (32309)
- mapdust (32329)
- reverter (32309)
- terracer (32309)
- utilsplugin2 (32333)

Map paint styles:

Last errors/warnings:
- W: Unable to delete file <josm.pref>/cache/tiles/WMS_INDEX.key
- W: Unable to delete file <josm.pref>/cache/tiles/
- W: Unable to delete file <josm.pref>/cache/tiles/WMS_INDEX_v2.key
- W: Unable to delete file <josm.pref>/cache/tiles/
- W: Unable to delete file <josm.pref>/cache/tiles/WMTS_BLOCK.key
- W: Unable to delete file <josm.pref>/cache/tiles/
- W: Unable to delete file <josm.pref>/cache/tiles/WMTS_INDEX.key
- W: Unable to delete file <josm.pref>/cache/tiles/
- W: Unable to delete file <josm.pref>/cache/tiles/WMTS_INDEX_v2.key
- W: Unable to delete file <josm.pref>/cache/tiles/

Attachments (0)

Change History (3)

comment:1 by Don-vip, 8 years ago


	at org.openstreetmap.josm.gui.preferences.imagery.AddWMSLayerPanel$1.actionPerformed(
	at javax.swing.AbstractButton.fireActionPerformed(
	at javax.swing.AbstractButton$Handler.actionPerformed(
	at javax.swing.DefaultButtonModel.fireActionPerformed(
	at javax.swing.DefaultButtonModel.setPressed(
	at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(
	at java.awt.Component.processMouseEvent(
	at org.openstreetmap.josm.gui.ExtendedDialog.setVisible(
	at org.openstreetmap.josm.gui.ExtendedDialog.showDialog(
	at org.openstreetmap.josm.gui.preferences.imagery.ImageryPreference$ImageryProvidersPanel$NewEntryAction.actionPerformed(
	at org.openstreetmap.josm.gui.preferences.PreferenceDialog.setVisible(
	at org.openstreetmap.josm.actions.PreferencesAction.actionPerformed(

comment:2 by Don-vip, 8 years ago

Milestone: 16.06

comment:3 by Don-vip, 8 years ago

Resolution: fixed
Status: newclosed

In 10520/josm:

fix #13115 - fix NPE, improve WMS errors handling

Modify Ticket

Change Properties
Set your email in Preferences
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.