Modify ↓
Opened 8 years ago
Closed 8 years ago
#14642 closed defect (fixed)
IAE at AbstractTileSourceLayer.getBestZoom
Reported by: | anonymous | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | 17.04 |
Component: | Core imagery | Version: | |
Keywords: | template_report zoom | Cc: |
Description
What steps will reproduce the problem?
- Call menu "Imagerie" > "Cadastre"
What is the expected result?
What happens instead?
Please provide any additional information below. Attach a screenshot if possible.
URL:http://josm.openstreetmap.de/svn/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2017-04-10 23:49:54 +0200 (Mon, 10 Apr 2017) Build-Date:2017-04-11 01:34:43 Revision:11885 Relative:URL: ^/trunk Identification: JOSM/1.5 (11885 fr) Linux Ubuntu 16.10 Memory Usage: 959 MB / 3548 MB (511 MB allocated, but free) Java version: 1.8.0_121-8u121-b13-0ubuntu1.16.10.2-b13, Oracle Corporation, OpenJDK 64-Bit Server VM Screen: :0.0 2560x1440 Maximum Screen Size: 2560x1440 Java package: openjdk-8-jre:amd64-8u121-b13-0ubuntu1.16.10.2 Java ATK Wrapper package: libatk-wrapper-java:all- VM arguments: [-Djosm.restart=true, -Djosm.dir.name=JOSM-latest, -Djava.net.useSystemProxies=true] Dataset consistency test: No problems found Plugins: + FastDraw (33182) + cadastre-fr (33226) + download_along (32946) + editgpx (33004) + ejml (32680) + geochat (33088) + geojson (52) + geotools (33042) + jts (32699) + splinex (33160) Tagging presets: + https://josm.openstreetmap.de/josmfile?page=Presets/BicycleJunction&zip=1 + https://josm.openstreetmap.de/josmfile?page=Presets/NewTags&zip=1 Map paint styles: - https://josm.openstreetmap.de/josmfile?page=Styles/SlovakiaBicycleRoutes&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/Cycleways&zip=1 Last errors/warnings: - E: Impossible de trouver l'image "Waypoint" - E: Impossible de trouver l'image "Waypoint" - E: Handled by bug report queue: java.lang.IllegalArgumentException: Parameter min (12) cannot be greater than max (10) === REPORTED CRASH DATA === MapView#layerAdded: - layer: TMSLayer [info=ImageryInfo{name='Cadastre', countryCode='FR', url='http://tms.cadastre.openstreetmap.fr/*/tout/{zoom}/{x}/{y}.png', imageryType=TMS}] BugReportExceptionHandler#handleException: No data collected. Warning issued by: BugReportExceptionHandler#handleException === STACK TRACE === Thread: AWT-EventQueue-0 (19) of main java.lang.IllegalArgumentException: Parameter min (12) cannot be greater than max (10) at org.openstreetmap.josm.tools.Utils.clamp(Utils.java:1548) at org.openstreetmap.josm.gui.layer.AbstractTileSourceLayer.getBestZoom(AbstractTileSourceLayer.java:414) at org.openstreetmap.josm.gui.layer.AbstractTileSourceLayer.initTileSource(AbstractTileSourceLayer.java:258) at org.openstreetmap.josm.gui.layer.AbstractTileSourceLayer.initializeIfRequired(AbstractTileSourceLayer.java:725) at org.openstreetmap.josm.gui.layer.AbstractTileSourceLayer.attachToMapView(AbstractTileSourceLayer.java:701) at org.openstreetmap.josm.gui.MapView.layerAdded(MapView.java:338) at org.openstreetmap.josm.gui.layer.LayerManager.fireLayerAdded(LayerManager.java:430) at org.openstreetmap.josm.gui.layer.LayerManager.realAddLayer(LayerManager.java:225) at org.openstreetmap.josm.gui.layer.MainLayerManager.realAddLayer(MainLayerManager.java:251) at org.openstreetmap.josm.gui.layer.LayerManager.lambda$addLayer$0(LayerManager.java:214) at org.openstreetmap.josm.gui.util.GuiHelper.runInEDTAndWaitWithException(GuiHelper.java:138) at org.openstreetmap.josm.gui.layer.LayerManager.addLayer(LayerManager.java:214) at org.openstreetmap.josm.gui.layer.LayerManager.addLayer(LayerManager.java:203) at org.openstreetmap.josm.actions.AddImageryLayerAction.actionPerformed(AddImageryLayerAction.java:140) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259) at javax.swing.AbstractButton.doClick(AbstractButton.java:376) at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:833) at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:877) at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289) at java.awt.Component.processMouseEvent(Component.java:6533) at javax.swing.JComponent.processMouseEvent(JComponent.java:3324) at java.awt.Component.processEvent(Component.java:6298) at java.awt.Container.processEvent(Container.java:2236) at java.awt.Component.dispatchEventImpl(Component.java:4889) at java.awt.Container.dispatchEventImpl(Container.java:2294) at java.awt.Component.dispatchEvent(Component.java:4711) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4525) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466) at java.awt.Container.dispatchEventImpl(Container.java:2280) at java.awt.Window.dispatchEventImpl(Window.java:2746) at java.awt.Component.dispatchEvent(Component.java:4711) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758) at java.awt.EventQueue.access$500(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:709) at java.awt.EventQueue$3.run(EventQueue.java:703) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90) at java.awt.EventQueue$4.run(EventQueue.java:731) at java.awt.EventQueue$4.run(EventQueue.java:729) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) at java.awt.EventQueue.dispatchEvent(EventQueue.java:728) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Attachments (0)
Change History (3)
comment:1 by , 8 years ago
Component: | Core → Core imagery |
---|---|
Summary: | Cadastre-fr crash → IAE at AbstractTileSourceLayer.getBestZoom |
comment:2 by , 8 years ago
Keywords: | zoom added |
---|---|
Milestone: | → 17.04 |
comment:3 by , 8 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
In 11947/josm: