Changes between Initial Version and Version 2 of Ticket #15945


Ignore:
Timestamp:
2018-02-17T15:48:44+01:00 (2 years ago)
Author:
Don-vip
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #15945

    • Property Component changed from Core to Core imagery
  • Ticket #15945 – Description

    initial v2  
    44
    55Yes in the future I will correct my error. I just thought you might want to catch the error better instead of crashing.
     6
     7{{{
     8Build-Name:Debian
     9Build-Date:2018-01-29 06:55:09
     10Revision:13367
     11Is-Local-Build:false
     12Debian-Release:0.0.svn13367+dfsg-1
     13
     14Identification: JOSM/1.5 (13367 Debian en) Linux Debian GNU/Linux buster/sid
     15Memory Usage: 207 MB / 224 MB (95 MB allocated, but free)
     16Java version: 1.8.0_151-8u151-b12-1-b12, Oracle Corporation, OpenJDK 64-Bit Server VM
     17Screen: :0.0 1024x768
     18Maximum Screen Size: 1024x768
     19Java package: openjdk-8-jre:amd64-8u151-b12-1
     20VM arguments: [-Djosm.restart=true, -Djava.net.useSystemProxies=true]
     21
     22Last errors/warnings:
     23- W: No configuration settings found.  Using hardcoded default values for all pools.
     24- W: Region [WMS_BLOCK_v2] Resetting cache
     25- W: Region [WMTS_BLOCK_v2] Resetting cache
     26- W: java.lang.IllegalArgumentException: {$z} is not a valid TMS argument. Please check this server URL:
     27- W: java.lang.IllegalArgumentException: {$z} is not a valid TMS argument. Please check this server URL:
     28- E: Handled by bug report queue: java.lang.IllegalArgumentException: {$z} is not a valid TMS argument. Please check this server URL:
     29
     30
     31=== REPORTED CRASH DATA ===
     32MapView#layerAdded:
     33 - layer: TMSLayer [info=ImageryInfo{name='djt', countryCode='', url='http://landmaps.nlsc.gov.tw/S_Maps/wmts/DMAPS/default/GoogleMapsCompatible/{$z}/{$y}/{$x}', imageryType=TMS}]
     34
     35BugReportExceptionHandler#handleException:
     36No data collected.
     37
     38Warning issued by: BugReportExceptionHandler#handleException
     39
     40=== STACK TRACE ===
     41Thread: AWT-EventQueue-1 (17) of main
     42java.lang.IllegalArgumentException: {$z} is not a valid TMS argument. Please check this server URL:
     43http://landmaps.nlsc.gov.tw/S_Maps/wmts/DMAPS/default/GoogleMapsCompatible/{$z}/{$y}/{$x}
     44        at org.openstreetmap.gui.jmapviewer.tilesources.TemplatedTMSTileSource.checkUrl(TemplatedTMSTileSource.java:132)
     45        at org.openstreetmap.josm.gui.layer.TMSLayer.getTileSourceStatic(TMSLayer.java:114)
     46        at org.openstreetmap.josm.gui.layer.TMSLayer.getTileSource(TMSLayer.java:72)
     47        at org.openstreetmap.josm.gui.layer.TMSLayer.getTileSource(TMSLayer.java:33)
     48        at org.openstreetmap.josm.gui.layer.AbstractTileSourceLayer.initializeIfRequired(AbstractTileSourceLayer.java:585)
     49        at org.openstreetmap.josm.gui.layer.AbstractTileSourceLayer.attachToMapView(AbstractTileSourceLayer.java:567)
     50        at org.openstreetmap.josm.gui.MapView.layerAdded(MapView.java:347)
     51        at org.openstreetmap.josm.gui.layer.LayerManager.fireLayerAdded(LayerManager.java:458)
     52        at org.openstreetmap.josm.gui.layer.LayerManager.realAddLayer(LayerManager.java:233)
     53        at org.openstreetmap.josm.gui.layer.MainLayerManager.realAddLayer(MainLayerManager.java:269)
     54        at org.openstreetmap.josm.gui.layer.LayerManager.lambda$addLayer$0(LayerManager.java:217)
     55        at org.openstreetmap.josm.gui.util.GuiHelper.runInEDTAndWaitWithException(GuiHelper.java:234)
     56        at org.openstreetmap.josm.gui.layer.LayerManager.addLayer(LayerManager.java:217)
     57        at org.openstreetmap.josm.gui.layer.LayerManager.addLayer(LayerManager.java:206)
     58        at org.openstreetmap.josm.actions.AddImageryLayerAction.actionPerformed(AddImageryLayerAction.java:141)
     59        at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
     60        at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
     61        at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
     62        at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
     63        at javax.swing.AbstractButton.doClick(AbstractButton.java:376)
     64        at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:833)
     65        at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:877)
     66        at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289)
     67        at java.awt.Component.processMouseEvent(Component.java:6533)
     68        at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
     69        at java.awt.Component.processEvent(Component.java:6298)
     70        at java.awt.Container.processEvent(Container.java:2236)
     71        at java.awt.Component.dispatchEventImpl(Component.java:4889)
     72        at java.awt.Container.dispatchEventImpl(Container.java:2294)
     73        at java.awt.Component.dispatchEvent(Component.java:4711)
     74        at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888)
     75        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4525)
     76        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466)
     77        at java.awt.Container.dispatchEventImpl(Container.java:2280)
     78        at java.awt.Window.dispatchEventImpl(Window.java:2746)
     79        at java.awt.Component.dispatchEvent(Component.java:4711)
     80        at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
     81        at java.awt.EventQueue.access$500(EventQueue.java:97)
     82        at java.awt.EventQueue$3.run(EventQueue.java:709)
     83        at java.awt.EventQueue$3.run(EventQueue.java:703)
     84        at java.security.AccessController.doPrivileged(Native Method)
     85        at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
     86        at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90)
     87        at java.awt.EventQueue$4.run(EventQueue.java:731)
     88        at java.awt.EventQueue$4.run(EventQueue.java:729)
     89        at java.security.AccessController.doPrivileged(Native Method)
     90        at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
     91        at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
     92        at org.GNOME.Accessibility.AtkWrapper$5.dispatchEvent(AtkWrapper.java:700)
     93        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
     94        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
     95        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
     96        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
     97        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
     98        at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
     99}}}