﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
20072	Could not parse WMS layer list - Premature end of file	stalker@…	team	"==== What steps will reproduce the problem?
1. Imagery > Imagery preferences > WMS+ 
2. Paste https://mapy.geoportal.gov.pl/wss/service/img/guest/HYDRO/MapServer/WMSServer?&REQUEST=GetCapabilities into GetCapabilities field
3. Got error message ""Could not parse WMS layer list. javax.xml.stream.XMLStreamException: ParseError at [row,col]:[1,1] Message: Premature end of file""

==== What is the expected result?

Correctly add and use Geoportal.gov.pl WMS service (hydrographic map of Poland) and choose layers. 

==== What happens instead?

I always got an error. 

==== Please provide any additional information below. Attach a screenshot if possible.

{{{
Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2020-10-03 13:42:38 +0200 (Sat, 03 Oct 2020)
Revision:17084
Build-Date:2020-10-04 01:30:47
URL:https://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (17084 en) Linux Ubuntu 20.04.1 LTS
Memory Usage: 334 MB / 1968 MB (226 MB allocated, but free)
Java version: 11.0.8+10-post-Ubuntu-0ubuntu118.04.1, Ubuntu, OpenJDK 64-Bit Server VM
Look and Feel: javax.swing.plaf.metal.MetalLookAndFeel
Screen: :0.0 1920x1080 (scaling 1.0x1.0)
Maximum Screen Size: 1920x1080
Best cursor sizes: 16x16 -> 16x16, 32x32 -> 32x32
Desktop environment: KDE
VM arguments: [-Duser.home=${HOME}]

Plugins:
+ FastDraw (35640)
+ apache-commons (35524)
+ editgpx (35562)
+ ejml (35458)
+ geotools (35458)
+ jaxb (35543)
+ jts (35458)
+ merge-overlap (35640)
+ routes (35543)
+ utilsplugin2 (35640)

Last errors/warnings:
- 00098.569 E: java.net.MalformedURLException: no protocol:
- 00291.696 E: Could not parse WMS layer list. Incoming data:
}}}
"	defect	closed	normal		Core imagery		fixed	imagery wms	
