Modify

Opened 3 weeks ago

Closed 2 weeks ago

#15703 closed defect (needinfo)

error while trying to load a tms imagery from ftp

Reported by: anonymous Owned by: anonymous
Priority: normal Milestone:
Component: Core Version: latest
Keywords: template_report Cc:

Description

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-11-26 14:31:59 +0100 (Sun, 26 Nov 2017)
Build-Date:2017-11-26 13:34:54
Revision:13170
Relative:URL: ^/trunk

Identification: JOSM/1.5 (13170 en) Windows 10 32-Bit
OS Build number: Windows 10 Enterprise 1607 (14393)
Memory Usage: 163 MB / 247 MB (43 MB allocated, but free)
Java version: 1.8.0_151-b12, Oracle Corporation, Java HotSpot(TM) Client VM
Screen: \Display0 1360x768
Maximum Screen Size: 1360x768
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%\Desktop\josm.jnlp, -Djnlpx.remove=true, -Djava.util.Arrays.useLegacyMergeSort=true, -Djnlpx.splashport=50652, -Djnlpx.jvm=<java.home>\bin\javaw.exe]

Plugins:
+ CADTools (1007)
+ DxfImport (1012)
+ apache-commons (33668)
+ ejml (32680)
+ geotools (33958)
+ jts (32699)
+ opendata (33791)
+ reverter (33865)
+ terracer (33839)
+ turnrestrictions (33780)
+ utilsplugin2 (33742)

Last errors/warnings:
- E: Handled by bug report queue: java.lang.ClassCastException: sun.net.www.protocol.ftp.FtpURLConnection cannot be cast to java.net.HttpURLConnection
- W: Too many errors. Dropping ReportedException [thread=Thread[TMS-downloader-21,5,javawsApplicationThreadGroup], exception=java.lang.ClassCastException: sun.net.www.protocol.ftp.FtpURLConnection cannot be cast to java.net.HttpURLConnection, methodWarningFrom=BugReportExceptionHandler#handleException]
- E: Handled by bug report queue: java.lang.ClassCastException: sun.net.www.protocol.ftp.FtpURLConnection cannot be cast to java.net.HttpURLConnection
- W: Too many errors. Dropping ReportedException [thread=Thread[TMS-downloader-2,5,javawsApplicationThreadGroup], exception=java.lang.ClassCastException: sun.net.www.protocol.ftp.FtpURLConnection cannot be cast to java.net.HttpURLConnection, methodWarningFrom=BugReportExceptionHandler#handleException]
- E: Handled by bug report queue: java.lang.ClassCastException: sun.net.www.protocol.ftp.FtpURLConnection cannot be cast to java.net.HttpURLConnection
- W: Too many errors. Dropping ReportedException [thread=Thread[TMS-downloader-13,5,javawsApplicationThreadGroup], exception=java.lang.ClassCastException: sun.net.www.protocol.ftp.FtpURLConnection cannot be cast to java.net.HttpURLConnection, methodWarningFrom=BugReportExceptionHandler#handleException]
- E: Handled by bug report queue: java.lang.ClassCastException: sun.net.www.protocol.ftp.FtpURLConnection cannot be cast to java.net.HttpURLConnection
- W: Too many errors. Dropping ReportedException [thread=Thread[TMS-downloader-17,5,javawsApplicationThreadGroup], exception=java.lang.ClassCastException: sun.net.www.protocol.ftp.FtpURLConnection cannot be cast to java.net.HttpURLConnection, methodWarningFrom=BugReportExceptionHandler#handleException]
- E: Handled by bug report queue: java.lang.ClassCastException: sun.net.www.protocol.ftp.FtpURLConnection cannot be cast to java.net.HttpURLConnection
- W: Too many errors. Dropping ReportedException [thread=Thread[TMS-downloader-5,5,javawsApplicationThreadGroup], exception=java.lang.ClassCastException: sun.net.www.protocol.ftp.FtpURLConnection cannot be cast to java.net.HttpURLConnection, methodWarningFrom=BugReportExceptionHandler#handleException]


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

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: TMS-downloader-1 (99)
java.lang.ClassCastException: sun.net.www.protocol.ftp.FtpURLConnection cannot be cast to java.net.HttpURLConnection
	at org.openstreetmap.josm.tools.HttpClient.connect(HttpClient.java:92)
	at org.openstreetmap.josm.tools.HttpClient.connect(HttpClient.java:78)
	at org.openstreetmap.josm.data.cache.JCSCachedTileLoaderJob.loadObject(JCSCachedTileLoaderJob.java:327)
	at org.openstreetmap.josm.data.cache.JCSCachedTileLoaderJob.run(JCSCachedTileLoaderJob.java:236)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)

Attachments (0)

Change History (2)

comment:1 Changed 3 weeks ago by Don-vip

Owner: changed from team to anonymous
Status: newneedinfo

The whole imagery system and tiles cache is based on HTTP, why do you want to use FTP?

comment:2 Changed 2 weeks ago by Don-vip

Resolution: needinfo
Status: needinfoclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain anonymous.
as The resolution will be set.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.