Modify

Opened 7 years ago

Closed 7 years ago

#16719 closed defect (needinfo)

RuntimeException: Maximum zoom level too high

Reported by: diamantschiff@… Owned by: diamantschiff@…
Priority: normal Milestone:
Component: Core Version: latest
Keywords: template_report download Cc:

Description

What steps will reproduce the problem?

  1. When I tried to download map data today from http://opengeofiction.net/api, it came up with this error. I am new to JOSM and not really sure how this happened.

What is the expected result?

It should have loaded in like normal.

What happens instead?

It opens an error box and won't load the data.

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: 2018-08-22 19:44:25 +0200 (Wed, 22 Aug 2018)
Build-Date:2018-08-22 17:46:33
Revision:14178
Relative:URL: ^/trunk

Identification: JOSM/1.5 (14178 en) Windows 10 64-Bit
OS Build number: Windows 10 Home 1803 (17134)
Memory Usage: 172 MB / 247 MB (54 MB allocated, but free)
Java version: 1.8.0_181-b13, 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-2fa1b0c4, -Djnlpx.remove=false, -Djava.util.Arrays.useLegacyMergeSort=true, -Djnlpx.splashport=64783, -Djnlp.application.href=https://josm.openstreetmap.de/download/josm.jnlp, -Djnlpx.jvm=<java.home>\bin\javaw.exe]

Plugins:
+ FastDraw (34510)
+ PicLayer (34544)
+ continuosDownload (1530471163)
+ measurement (34529)

Last errors/warnings:
- W: No configuration settings found.  Using hardcoded default values for all pools.
- E: Handled by bug report queue: java.lang.RuntimeException: Maximum zoom level too high
- E: Handled by bug report queue: java.lang.RuntimeException: Maximum zoom level too high

OSM API: http://opengeofiction.net/api


=== REPORTED CRASH DATA ===
BugReportExceptionHandler#handleException:
No data collected.

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: AWT-EventQueue-2 (58) of javawsApplicationThreadGroup
java.lang.RuntimeException: Maximum zoom level too high
	at org.openstreetmap.gui.jmapviewer.JMapViewer.setTileSource(JMapViewer.java:1106)
	at org.openstreetmap.josm.gui.bbox.SlippyMapBBoxChooser.<init>(SlippyMapBBoxChooser.java:197)
	at org.openstreetmap.josm.gui.download.SlippyMapChooser.<init>(SlippyMapChooser.java:35)
	at org.openstreetmap.josm.gui.download.DownloadDialog.buildMainPanel(DownloadDialog.java:126)
	at org.openstreetmap.josm.gui.download.DownloadDialog.<init>(DownloadDialog.java:232)
	at org.openstreetmap.josm.gui.download.DownloadDialog.<init>(DownloadDialog.java:220)
	at org.openstreetmap.josm.gui.download.DownloadDialog.getInstance(DownloadDialog.java:82)
	at org.openstreetmap.josm.actions.DownloadAction.actionPerformed(DownloadAction.java:35)
	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.plaf.basic.BasicButtonListener.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 (5)

comment:1 by anonymous, 7 years ago

Priority: normalcritical

comment:2 by Don-vip, 7 years ago

Keywords: download added
Priority: criticalnormal
Summary: Error when trying to download map dataRuntimeException: Maximum zoom level too high

comment:3 by stoecker, 7 years ago

Owner: changed from team to diamantschiff@…
Status: newneedinfo

Can you please tell the configuration of the entry you use. Very likely you simply provided a zoomlevel to high, i. E greater than 24?

comment:4 by Don-vip, 7 years ago

Please make sure you configured JOSM as documented on https://wiki.opengeofiction.net/wiki/index.php/OGF:Frequently_asked_questions#How_can_I_display_the_OpenGeofiction_map_as_background_in_JOSM.3F:

OSM default style tms[19]:https://tile.opengeofiction.net/osmcarto/{zoom}/{x}/{y}.png
TopoMap style tms[16]:https://tile.opengeofiction.net/topomap/{zoom}/{x}/{y}.png
Histor style tms[18]:https://tile.opengeofiction.net/tiles-histor/{zoom}/{x}/{y}.png

The number between brackets is the zoom level and cannot exceed 22 for the download window. It seems you entered an higher number.

comment:5 by Don-vip, 7 years ago

Resolution: needinfo
Status: needinfoclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain diamantschiff@….
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.