Modify

Opened 3 years ago

Closed 3 years ago

#21857 closed defect (duplicate)

OSM Inspector could not parse wms layer list

Reported by: anonymous Owned by: team
Priority: normal Milestone:
Component: Core imagery Version:
Keywords: template_report OSM Inspector Cc:

Description

What steps will reproduce the problem?

What is the expected result?

What happens instead?

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: 2022-01-02 21:24:43 +0100 (Sun, 02 Jan 2022)
Build-Date:2022-01-02 20:26:19
Revision:18360
Relative:URL: ^/trunk

Identification: JOSM/1.5 (18360 en_GB) Windows 10 64-Bit
OS Build number: Windows 10 Pro 2009 (19044)
Memory Usage: 1582 MB / 1820 MB (588 MB allocated, but free)
Java version: 1.8.0_321-b07, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel
Screen: \Display0 1920×1080 (scaling 1.00×1.00)
Maximum Screen Size: 1920×1080
Best cursor sizes: 16×16→32×32, 32×32→32×32
System property file.encoding: Cp1253
System property sun.jnu.encoding: Cp1253
Locale info: en_GB
Numbers with default locale: 1234567890 -> 1234567890
Dataset consistency test: No problems found

Plugins:
+ ImproveOsm (215)
+ KartaView (387)
+ Mapillary (2.0.0-beta.2)
+ apache-commons (35893)
+ apache-http (35893)
+ areaselector
+ austriaaddresshelper (1597341117)
+ buildings_tools (35893)
+ ejml (35893)
+ geotools (35906)
+ imagery_offset_db (35893)
+ jaxb (35893)
+ jna (35893)
+ jts (35893)
+ log4j (35893)
+ opendata (35899)
+ reverter (35893)
+ terracer (35893)
+ turnlanes (35893)
+ turnrestrictions (35893)
+ utilsplugin2 (35893)

Map paint styles:
- https://josm.openstreetmap.de/josmfile?page=Styles/Lane_and_Road_Attributes&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Enhanced_Lane_and_Road_Attributes&zip=1

Last errors/warnings:
- 00009.577 W: Unable to request certificate of https://roottest-g3.pkioverheid.nl
- 00010.109 W: Unable to request certificate of https://roottest-g3.pkioverheid.nl
- 00012.853 W: Unable to request certificate of https://grca.nat.gov.tw
- 00026.466 W: Plugin areaselector requires Java version 11. The current Java version is 8. You have to update Java in order to use this plugin.
- 01145.456 E: Could not parse WMS layer list. Incoming data:
- 01165.049 E: Could not parse WMS layer list. Incoming data:
- 01272.894 W: Unknown remote control parameter max_zoom, skipping it
- 01272.895 W: Unknown remote control parameter title, skipping it
- 01273.271 E: Handled by bug report queue: java.lang.IllegalArgumentException: org.openstreetmap.josm.io.imagery.WMSImagery$WMSGetCapabilitiesException: javax.xml.stream.XMLStreamException: java.net.MalformedURLException: no protocol: /osmi/views/coastline/wxs?. Cause: org.openstreetmap.josm.io.imagery.WMSImagery$WMSGetCapabilitiesException: javax.xml.stream.XMLStreamException: java.net.MalformedURLException: no protocol: /osmi/views/coastline/wxs?. Cause: javax.xml.stream.XMLStreamException: java.net.MalformedURLException: no protocol: /osmi/views/coastline/wxs?. Cause: java.net.MalformedURLException: no protocol: /osmi/views/coastline/wxs?



=== REPORTED CRASH DATA ===
MapView#layerAdded:
 - layer: WMSLayer [info=OSM Inspector: Coastline (EU)[] ('Worldwide) - https://tools.geofabrik.de/osmi/views/coastline/wxs?service=wms&request=getCapabilities - WMS_ENDPOINT]

BugReportExceptionHandler#handleException:
No data collected.

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: AWT-EventQueue-0 (20) of main
java.lang.IllegalArgumentException: org.openstreetmap.josm.io.imagery.WMSImagery$WMSGetCapabilitiesException: javax.xml.stream.XMLStreamException: java.net.MalformedURLException: no protocol: /osmi/views/coastline/wxs?
	at org.openstreetmap.josm.data.imagery.WMSEndpointTileSource.<init>(WMSEndpointTileSource.java:47)
	at org.openstreetmap.josm.gui.layer.WMSLayer.getTileSource(WMSLayer.java:107)
	at org.openstreetmap.josm.gui.layer.WMSLayer.getTileSource(WMSLayer.java:42)
	at org.openstreetmap.josm.gui.layer.AbstractTileSourceLayer.initializeIfRequired(AbstractTileSourceLayer.java:575)
	at org.openstreetmap.josm.gui.layer.AbstractTileSourceLayer.attachToMapView(AbstractTileSourceLayer.java:557)
	at org.openstreetmap.josm.gui.MapView.layerAdded(MapView.java:343)
	at org.openstreetmap.josm.gui.layer.LayerManager.fireLayerAdded(LayerManager.java:459)
	at org.openstreetmap.josm.gui.layer.LayerManager.realAddLayer(LayerManager.java:234)
	at org.openstreetmap.josm.gui.layer.MainLayerManager.realAddLayer(MainLayerManager.java:288)
	at org.openstreetmap.josm.gui.layer.LayerManager.lambda$addLayer$0(LayerManager.java:218)
	at org.openstreetmap.josm.gui.util.GuiHelper.runInEDTAndWaitWithException(GuiHelper.java:246)
	at org.openstreetmap.josm.gui.layer.LayerManager.addLayer(LayerManager.java:218)
	at org.openstreetmap.josm.gui.layer.LayerManager.addLayer(LayerManager.java:207)
	at org.openstreetmap.josm.io.remotecontrol.handler.ImageryHandler.lambda$handleRequest$4(ImageryHandler.java:90)
	at java.awt.event.InvocationEvent.dispatch(Unknown Source)
	at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
	at java.awt.EventQueue.access$500(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.awt.WaitDispatchSupport$2.run(Unknown Source)
	at java.awt.WaitDispatchSupport$4.run(Unknown Source)
	at java.awt.WaitDispatchSupport$4.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.awt.WaitDispatchSupport.enter(Unknown Source)
	at java.awt.Dialog.show(Unknown Source)
	at javax.swing.JOptionPane.showOptionDialog(Unknown Source)
	at javax.swing.JOptionPane.showMessageDialog(Unknown Source)
	at javax.swing.JOptionPane.showMessageDialog(Unknown Source)
	at org.openstreetmap.josm.actions.AddImageryLayerAction.handleException(AddImageryLayerAction.java:309)
	at org.openstreetmap.josm.actions.AddImageryLayerAction.getWMSLayerInfo(AddImageryLayerAction.java:263)
	at org.openstreetmap.josm.actions.AddImageryLayerAction.convertImagery(AddImageryLayerAction.java:119)
	at org.openstreetmap.josm.actions.AddImageryLayerAction.actionPerformed(AddImageryLayerAction.java:165)
	at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
	at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
	at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
	at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
	at javax.swing.AbstractButton.doClick(Unknown Source)
	at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
	at javax.swing.plaf.basic.BasicMenuItemUI$Handler.menuDragMouseReleased(Unknown Source)
	at javax.swing.JMenuItem.fireMenuDragMouseReleased(Unknown Source)
	at javax.swing.JMenuItem.processMenuDragMouseEvent(Unknown Source)
	at javax.swing.JMenuItem.processMouseEvent(Unknown Source)
	at javax.swing.MenuSelectionManager.processMouseEvent(Unknown Source)
	at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
	at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
	at java.awt.Component.processMouseEvent(Unknown Source)
	at javax.swing.JComponent.processMouseEvent(Unknown Source)
	at java.awt.Component.processEvent(Unknown Source)
	at java.awt.Container.processEvent(Unknown Source)
	at java.awt.Component.dispatchEventImpl(Unknown Source)
	at java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.awt.Component.dispatchEvent(Unknown Source)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
	at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
	at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
	at java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.awt.Window.dispatchEventImpl(Unknown Source)
	at java.awt.Component.dispatchEvent(Unknown Source)
	at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
	at java.awt.EventQueue.access$500(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.awt.EventQueue$4.run(Unknown Source)
	at java.awt.EventQueue$4.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: org.openstreetmap.josm.io.imagery.WMSImagery$WMSGetCapabilitiesException: javax.xml.stream.XMLStreamException: java.net.MalformedURLException: no protocol: /osmi/views/coastline/wxs?
	at org.openstreetmap.josm.io.imagery.WMSImagery.attemptGetCapabilities(WMSImagery.java:429)
	at org.openstreetmap.josm.io.imagery.WMSImagery.<init>(WMSImagery.java:167)
	at org.openstreetmap.josm.data.imagery.WMSEndpointTileSource.<init>(WMSEndpointTileSource.java:45)
	... 81 more
Caused by: javax.xml.stream.XMLStreamException: java.net.MalformedURLException: no protocol: /osmi/views/coastline/wxs?
	at org.openstreetmap.josm.io.imagery.WMSImagery.parseRequest(WMSImagery.java:494)
	at org.openstreetmap.josm.io.imagery.WMSImagery.parseCapability(WMSImagery.java:454)
	at org.openstreetmap.josm.io.imagery.WMSImagery.attemptGetCapabilities(WMSImagery.java:422)
	... 83 more
Caused by: java.net.MalformedURLException: no protocol: /osmi/views/coastline/wxs?
	at java.net.URL.<init>(Unknown Source)
	at java.net.URL.<init>(Unknown Source)
	at java.net.URL.<init>(Unknown Source)
	at org.openstreetmap.josm.io.imagery.WMSImagery.parseRequest(WMSImagery.java:487)
	... 85 more

Attachments (0)

Change History (1)

comment:1 by skyper, 3 years ago

Component: CoreCore imagery
Keywords: OSM Inspector added
Resolution: duplicate
Status: newclosed
Summary: inpector could not parse wms layer listOSM Inspector could not parse wms layer list

Closed as duplicate of #21808.

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.