Modify ↓
Opened 9 years ago
Closed 9 years ago
#12450 closed defect (fixed)
NPE when illegal WMTS URL is added
Reported by: | stoecker | Owned by: | wiktorn |
---|---|---|---|
Priority: | normal | Milestone: | 16.02 |
Component: | Core imagery | Version: | latest |
Keywords: | wmts | Cc: |
Description
When entering "http://josm.openstreetmap.de" as WMTS URL and later call menu entry it hangs a long time and finally says
java.lang.NullPointerException at org.openstreetmap.josm.data.imagery.WMTSTileSource.<init>(WMTSTileSource.java:235) at org.openstreetmap.josm.gui.layer.WMTSLayer.getTileSource(WMTSLayer.java:54) at org.openstreetmap.josm.gui.layer.AbstractTileSourceLayer.hookUpMapView(AbstractTileSourceLayer.java:593) at org.openstreetmap.josm.Main.addLayer(Main.java:768)
It should not hang or NPE, but give a meaningful error message. Also I'd appreciate when bad URL's are catched already in Preferences setup, not only when calling the added entry from menu.
Attachments (0)
Note:
See TracTickets
for help on using tickets.
In 9664/josm: