﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
16248	Unable to parse WMS layers list [patch]	sarxos	team	"Whole problem with screenshots is described '''and fixed''' in a pull request I did against your Github mirror.

https://github.com/openstreetmap/josm/pull/25

Thank you!

==== What steps will reproduce the problem?

1. Go to Imagery -> Imagery preferences.
2. Click ""+WMS"" button.
3. Use service URL http://wms.hgis.cartomatic.pl/topo/3857/m25k?service=WMS&request=GetCapabilities
2. Click Get Layers
3. Observe error.

==== What is the expected result?

Layers are imported from WMS service.

==== What happens instead?

Error stating that ""Could not parse WMS layers list.""

==== Please provide any additional information below. Attach a screenshot if possible.

{{{
URL:https://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2018-03-26 22:16:39 +0200 (Mon, 26 Mar 2018)
Build-Date:2018-03-26 20:45:23
Revision:13576
Redirecting:to URL 'https://josm.openstreetmap.de/svn/trunk':
Relative:URL: ^/trunk

Identification: JOSM/1.5 (13576 en) Linux Ubuntu 14.04.5 LTS
Memory Usage: 1069 MB / 3499 MB (814 MB allocated, but free)
Java version: 1.8.0_171-b11, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Screen: :0.0 1920x1080, :0.1 1360x768, :0.2 1920x1080
Maximum Screen Size: 1920x1080
VM arguments: [-Djava.security.policy=file:${JAVA_HOME}/jre/lib/security/javaws.policy, -DtrustProxy=true, -Djnlpx.home=${JAVA_HOME}/jre/bin, -Djava.security.manager, -Djnlpx.origFilenameArg=${HOME}/.java/deployment/cache/6.0/56/1ee8cfb8-11d00449, -Djnlpx.remove=false, -Dsun.awt.warmup=true, -Djava.util.Arrays.useLegacyMergeSort=true, -Djnlpx.splashport=37796, -Djnlp.application.href=https://josm.openstreetmap.de/download/josm.jnlp, -Djnlpx.jvm=${JAVA_HOME}/jre/bin/java]
Dataset consistency test: No problems found

Plugins:
+ PicLayer (34170)
+ buildings_tools (34109)
+ ejml (34126)
+ geotools (34125)
+ jts (34038)
+ log4j (34038)

Last errors/warnings:
- W: No configuration settings found.  Using hardcoded default values for all pools.
- E: java.net.MalformedURLException: unknown protocol: wms
- E: Could not parse WMS layer list. Incoming data:
- W: Unable to find supported projection for layer wms.hgis.cartomatic.pl: WIG Mapa Szczegółowa 1:25k. Using EPSG:3857.
- W: Unable to find supported projection for layer wms.hgis.cartomatic.pl: WIG Mapa Szczegółowa 1:25k. Using EPSG:3857.
}}}
"	defect	closed	normal	18.04	Core imagery		fixed	template_report wms xml namespace	
