Modify ↓
#16063 closed defect (duplicate)
Unexpected exception when loading custom imagery
| Reported by: | anonymous | Owned by: | team |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Core imagery | Version: | |
| Keywords: | template_report | Cc: |
Description
What steps will reproduce the problem?
- Add http://ittc.state.gov/hot/1.0.0/palabak-jan2018-flipped/{zoom}/{x}/{y}.png custom imagery
What is the expected result?
Load image set
What happens instead?
Error message: An Unexpected exception occurred
Please provide any additional information below. Attach a screenshot if possible.
Imagery referenced from this HOT task https://tasks.hotosm.org/project/4268?task=9#
URL:https://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2018-03-04 16:20:37 +0100 (Sun, 04 Mar 2018)
Build-Date:2018-03-04 15:24:13
Revision:13500
Redirecting:to URL 'https://josm.openstreetmap.de/svn/trunk':
Relative:URL: ^/trunk
Identification: JOSM/1.5 (13500 en_GB) Windows 10 64-Bit
OS Build number: Windows 10 Home 1709 (16299)
Memory Usage: 202 MB / 247 MB (43 MB allocated, but free)
Java version: 1.8.0_161-b12, Oracle Corporation, Java HotSpot(TM) Client VM
Screen: \Display0 1920x1080
Maximum Screen Size: 1920x1080
VM arguments: [-Djava.security.manager, -Djava.security.policy=file:<java.home>\lib\security\javaws.policy, -DtrustProxy=true, -Djnlpx.home=<java.home>\bin, -Djnlpx.origFilenameArg=%UserProfile%\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\56\1ee8cfb8-110a979f, -Djnlpx.remove=false, -Djava.util.Arrays.useLegacyMergeSort=true, -Djnlpx.splashport=57625, -Djnlp.application.href=https://josm.openstreetmap.de/download/josm.jnlp, -Djnlpx.jvm=<java.home>\bin\javaw.exe]
Dataset consistency test: No problems found
Plugins:
+ buildings_tools (34040)
+ geochat (33982)
+ terracer (33839)
Last errors/warnings:
- W: java.net.MalformedURLException: no protocol: tms [22]:http://ittc.state.gov/hot/1.0.0/palabak-jan2018-flipped/17/77371/64322.png
- W: java.net.MalformedURLException: no protocol: tms [22]:http://ittc.state.gov/hot/1.0.0/palabak-jan2018-flipped/17/77375/64322.png
- W: java.net.MalformedURLException: no protocol: tms [22]:http://ittc.state.gov/hot/1.0.0/palabak-jan2018-flipped/17/77376/64323.png
- W: java.net.MalformedURLException: no protocol: tms [22]:http://ittc.state.gov/hot/1.0.0/palabak-jan2018-flipped/17/77376/64327.png
- W: java.net.MalformedURLException: no protocol: tms [22]:http://ittc.state.gov/hot/1.0.0/palabak-jan2018-flipped/17/77370/64322.png
- W: java.net.MalformedURLException: no protocol: tms [22]:http://ittc.state.gov/hot/1.0.0/palabak-jan2018-flipped/17/77376/64322.png
- W: java.net.MalformedURLException: no protocol: tms [22]:http://ittc.state.gov/hot/1.0.0/palabak-jan2018-flipped/19/309494/257299.png
- W: java.net.MalformedURLException: no protocol: tms [22]:http://ittc.state.gov/hot/1.0.0/palabak-jan2018-flipped/19/309494/257298.png
- W: Region [WMS_BLOCK_v2] Resetting cache
- E: Handled by bug report queue: java.lang.IllegalArgumentException: {zoom} is not a valid WMS argument. Please check this server URL:
=== REPORTED CRASH DATA ===
BugReportExceptionHandler#handleException:
No data collected.
Warning issued by: BugReportExceptionHandler#handleException
=== STACK TRACE ===
Thread: AWT-EventQueue-2 (57) of javawsApplicationThreadGroup
java.lang.IllegalArgumentException: {zoom} is not a valid WMS argument. Please check this server URL:
http://ittc.state.gov/hot/1.0.0/palabak-jan2018-flipped/{zoom}/{x}/{y}.png
at org.openstreetmap.josm.data.imagery.TemplatedWMSTileSource.checkUrl(TemplatedWMSTileSource.java:187)
at org.openstreetmap.josm.gui.layer.WMSLayer.<init>(WMSLayer.java:67)
at org.openstreetmap.josm.gui.layer.ImageryLayer.create(ImageryLayer.java:198)
at org.openstreetmap.josm.actions.MapRectifierWMSmenuAction.addWMSLayer(MapRectifierWMSmenuAction.java:250)
at org.openstreetmap.josm.actions.MapRectifierWMSmenuAction.actionPerformed(MapRectifierWMSmenuAction.java:195)
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.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)
Attachments (0)
Change History (3)
comment:1 by , 8 years ago
| Resolution: | → worksforme |
|---|---|
| Status: | new → closed |
comment:2 by , 8 years ago
| Component: | Core → Core imagery |
|---|
Note:
See TracTickets
for help on using tickets.



First read the message before usbmitting a report: "{zoom} is not a valid WMS argument. Please check this server URL..."
Very likely you wanted to add a TMS server and not a WMS server, as this is a TMS URL.
There is a high chance that you ignored a previous error message in the interface.