Modify

Opened 2 years ago

Closed 2 years ago

#22728 closed defect (fixed)

OsmTransferException: java.net.MalformedURLException: no protocol:

Reported by: dre.domburg@… Owned by: dre.domburg@…
Priority: normal Milestone:
Component: Plugin mapwithai Version:
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

  1. download from OSM

What is the expected result? layer MapAi will be downloaded

What happens instead? nothing happend

Please provide any additional information below. Attach a screenshot if possible.

Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2023-01-29 21:53:34 +0100 (Sun, 29 Jan 2023)
Revision:18646
Build-Date:2023-01-30 02:30:56
URL:https://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (18646 nl) Windows 10 64-Bit
OS Build number: Windows 10 Home 2009 (19044)
Memory Usage: 395 MB / 2022 MB (214 MB allocated, but free)
Java version: 17.0.5+8-LTS, Azul Systems, Inc., OpenJDK 64-Bit Server VM
Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel
Screen: \Display0 1920×1080 (scaling 1.00×1.00) \Display1 2560×1440 (scaling 1.00×1.00)
Maximum Screen Size: 2560×1440
Best cursor sizes: 16×16→32×32, 32×32→32×32
System property file.encoding: Cp1252
System property sun.jnu.encoding: Cp1252
Locale info: nl_NL
Numbers with default locale: 1234567890 -> 1234567890
VM arguments: [-Dicedtea-web.bin.location=%UserProfile%\AppData\Local\Programs\OpenWebStart\javaws, -Djava.util.Arrays.useLegacyMergeSort=true, --add-exports=jdk.deploy/com.sun.deploy.config=ALL-UNNAMED, --add-opens=java.desktop/javax.swing.text.html=ALL-UNNAMED, --add-reads=java.naming=ALL-UNNAMED,java.desktop, --add-exports=java.base/sun.security.action=ALL-UNNAMED,java.desktop, --add-reads=java.base=ALL-UNNAMED,java.desktop, --add-exports=java.naming/com.sun.jndi.toolkit.url=ALL-UNNAMED,java.desktop, --add-opens=java.base/jdk.internal.loader=ALL-UNNAMED, --add-exports=java.desktop/com.apple.eawt=ALL-UNNAMED, --add-exports=java.desktop/sun.awt=ALL-UNNAMED,java.desktop, --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED, --add-exports=java.base/sun.security.validator=ALL-UNNAMED,java.desktop, --add-exports=java.desktop/com.sun.imageio.plugins.jpeg=ALL-UNNAMED, --add-exports=java.base/sun.net.www.protocol.jar=ALL-UNNAMED,java.desktop, --add-exports=java.base/jdk.internal.util.jar=ALL-UNNAMED,java.desktop, --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED, --add-exports=java.base/com.sun.net.ssl.internal.ssl=ALL-UNNAMED,java.desktop, --add-exports=javafx.graphics/com.sun.javafx.application=ALL-UNNAMED, --add-modules=java.scripting,java.sql,javafx.controls,javafx.media,javafx.swing,javafx.web, --add-exports=java.desktop/sun.awt.X11=ALL-UNNAMED,java.desktop, --add-exports=java.desktop/sun.applet=ALL-UNNAMED,java.desktop,jdk.jsobject, --add-exports=java.base/sun.net.www.protocol.http=ALL-UNNAMED,java.desktop, --add-opens=java.base/java.lang=ALL-UNNAMED, --add-exports=java.base/sun.security.util=ALL-UNNAMED,java.desktop, --add-exports=java.desktop/com.sun.imageio.spi=ALL-UNNAMED, --add-reads=java.desktop=ALL-UNNAMED,java.naming, --add-opens=java.base/java.nio=ALL-UNNAMED, --add-exports=java.base/sun.security.x509=ALL-UNNAMED,java.desktop, --add-opens=java.desktop/javax.imageio.spi=ALL-UNNAMED, --add-exports=java.desktop/javax.jnlp=ALL-UNNAMED,java.desktop, --add-exports=java.base/sun.security.provider=ALL-UNNAMED,java.desktop]
Dataset consistency test: No problems found

Plugins:
+ BuildingGeneralization (36)
+ CADTools (1008)
+ apache-commons (36034)
+ apache-http (35924)
+ buildings_tools (36011)
+ jna (36005)
+ mapwithai (1.10.4)
+ utilsplugin2 (36011)

Map paint styles:
+ https://josm.openstreetmap.de/josmfile?page=Styles/MapWithAI&zip=1

Last errors/warnings:
- 00000.447 W: extended font config - overriding 'filename.Myanmar_Text=mmrtext.ttf' with 'MMRTEXT.TTF'
- 00000.451 W: extended font config - overriding 'filename.Mongolian_Baiti=monbaiti.ttf' with 'MONBAITI.TTF'
- 00016.646 E: Lokaliseren van afbeelding 'MapWithAI' mislukt
- 00037.004 W: javax.net.ssl.SSLHandshakeException: Received fatal alert: access_denied
- 00037.005 E: javax.net.ssl.SSLHandshakeException: Received fatal alert: access_denied
- 00063.132 E: java.io.IOException: java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.lang.RuntimeException: org.openstreetmap.josm.io.OsmTransferException: java.net.MalformedURLException: no protocol:. Oorzaak: java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.lang.RuntimeException: org.openstreetmap.josm.io.OsmTransferException: java.net.MalformedURLException: no protocol:. Oorzaak: java.lang.RuntimeException: java.lang.RuntimeException: org.openstreetmap.josm.io.OsmTransferException: java.net.MalformedURLException: no protocol:. Oorzaak: java.lang.RuntimeException: org.openstreetmap.josm.io.OsmTransferException: java.net.MalformedURLException: no protocol:. Oorzaak: org.openstreetmap.josm.io.OsmTransferException: java.net.MalformedURLException: no protocol:. Oorzaak: java.net.MalformedURLException: no protocol:
- 00063.139 E: Handled by bug report queue: java.io.IOException: java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.lang.RuntimeException: org.openstreetmap.josm.io.OsmTransferException: java.net.MalformedURLException: no protocol:. Oorzaak: java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.lang.RuntimeException: org.openstreetmap.josm.io.OsmTransferException: java.net.MalformedURLException: no protocol:. Oorzaak: java.lang.RuntimeException: java.lang.RuntimeException: org.openstreetmap.josm.io.OsmTransferException: java.net.MalformedURLException: no protocol:. Oorzaak: java.lang.RuntimeException: org.openstreetmap.josm.io.OsmTransferException: java.net.MalformedURLException: no protocol:. Oorzaak: org.openstreetmap.josm.io.OsmTransferException: java.net.MalformedURLException: no protocol:. Oorzaak: java.net.MalformedURLException: no protocol:
- 00141.142 E: java.io.IOException: java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.lang.RuntimeException: org.openstreetmap.josm.io.OsmTransferException: java.net.MalformedURLException: no protocol:. Oorzaak: java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.lang.RuntimeException: org.openstreetmap.josm.io.OsmTransferException: java.net.MalformedURLException: no protocol:. Oorzaak: java.lang.RuntimeException: java.lang.RuntimeException: org.openstreetmap.josm.io.OsmTransferException: java.net.MalformedURLException: no protocol:. Oorzaak: java.lang.RuntimeException: org.openstreetmap.josm.io.OsmTransferException: java.net.MalformedURLException: no protocol:. Oorzaak: org.openstreetmap.josm.io.OsmTransferException: java.net.MalformedURLException: no protocol:. Oorzaak: java.net.MalformedURLException: no protocol:
- 00141.148 E: Handled by bug report queue: java.io.IOException: java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.lang.RuntimeException: org.openstreetmap.josm.io.OsmTransferException: java.net.MalformedURLException: no protocol:. Oorzaak: java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.lang.RuntimeException: org.openstreetmap.josm.io.OsmTransferException: java.net.MalformedURLException: no protocol:. Oorzaak: java.lang.RuntimeException: java.lang.RuntimeException: org.openstreetmap.josm.io.OsmTransferException: java.net.MalformedURLException: no protocol:. Oorzaak: java.lang.RuntimeException: org.openstreetmap.josm.io.OsmTransferException: java.net.MalformedURLException: no protocol:. Oorzaak: org.openstreetmap.josm.io.OsmTransferException: java.net.MalformedURLException: no protocol:. Oorzaak: java.net.MalformedURLException: no protocol:



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

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: AWT-EventQueue-1 (49) of JOSM
java.io.IOException: java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.lang.RuntimeException: org.openstreetmap.josm.io.OsmTransferException: java.net.MalformedURLException: no protocol: 
	at org.openstreetmap.josm.plugins.mapwithai.backend.DownloadMapWithAITask$DownloadTask.realRun(DownloadMapWithAITask.java:186)
	at org.openstreetmap.josm.gui.PleaseWaitRunnable.doRealRun(PleaseWaitRunnable.java:94)
	at org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:142)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
	at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.lang.RuntimeException: org.openstreetmap.josm.io.OsmTransferException: java.net.MalformedURLException: no protocol: 
	at java.base/java.util.concurrent.ForkJoinTask.reportExecutionException(ForkJoinTask.java:605)
	at java.base/java.util.concurrent.ForkJoinTask.get(ForkJoinTask.java:981)
	at org.openstreetmap.josm.plugins.mapwithai.backend.DownloadMapWithAITask$DownloadTask.realRun(DownloadMapWithAITask.java:160)
	... 7 more
Caused by: java.lang.RuntimeException: java.lang.RuntimeException: org.openstreetmap.josm.io.OsmTransferException: java.net.MalformedURLException: no protocol: 
	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
	at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480)
	at java.base/java.util.concurrent.ForkJoinTask.getThrowableException(ForkJoinTask.java:562)
	at java.base/java.util.concurrent.ForkJoinTask.reportExecutionException(ForkJoinTask.java:604)
	... 9 more
Caused by: java.lang.RuntimeException: org.openstreetmap.josm.io.OsmTransferException: java.net.MalformedURLException: no protocol: 
	at java.base/java.util.concurrent.ForkJoinTask$AdaptedCallable.exec(ForkJoinTask.java:1433)
	at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
	at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182)
	at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655)
	at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622)
	at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)
Caused by: org.openstreetmap.josm.io.OsmTransferException: java.net.MalformedURLException: no protocol: 
	at org.openstreetmap.josm.io.OsmServerReader.getInputStreamRaw(OsmServerReader.java:167)
	at org.openstreetmap.josm.io.OsmServerReader.getInputStreamRaw(OsmServerReader.java:138)
	at org.openstreetmap.josm.io.OsmServerReader.getInputStreamRaw(OsmServerReader.java:122)
	at org.openstreetmap.josm.io.OsmServerReader.getInputStream(OsmServerReader.java:86)
	at org.openstreetmap.josm.io.OsmServerReader.getInputStream(OsmServerReader.java:69)
	at org.openstreetmap.josm.io.BoundingBoxDownloader.parseOsm(BoundingBoxDownloader.java:211)
	at org.openstreetmap.josm.plugins.mapwithai.backend.BoundingBoxMapWithAIDownloader.parseOsm(BoundingBoxMapWithAIDownloader.java:128)
	at org.openstreetmap.josm.plugins.mapwithai.backend.MapWithAIDataUtils.lambda$download$6(MapWithAIDataUtils.java:171)
	at java.base/java.util.concurrent.ForkJoinTask$AdaptedCallable.exec(ForkJoinTask.java:1428)
	... 5 more
Caused by: java.net.MalformedURLException: no protocol: 
	at java.base/java.net.URL.<init>(URL.java:674)
	at java.base/java.net.URL.<init>(URL.java:569)
	at java.base/java.net.URL.<init>(URL.java:516)
	at org.openstreetmap.josm.io.OsmServerReader.getInputStreamRaw(OsmServerReader.java:165)
	... 13 more

Attachments (0)

Change History (6)

comment:1 by skyper, 2 years ago

Ticket #22729 has been marked as a duplicate of this ticket.

comment:2 by skyper, 2 years ago

Component: CorePlugin mapwithai
Owner: changed from team to taylor.smock
Summary: plugin mapwithaiOsmTransferException: java.net.MalformedURLException: no protocol:

comment:3 by skyper, 2 years ago

duplicate of #22326?

comment:4 by taylor.smock, 2 years ago

Owner: changed from taylor.smock to dre.domburg@…
Status: newneedinfo

What MapWithAI services do you have enabled? Do they all have URLs?

@skyper: I don't think it is a duplicate.

My best guess is that the URL for one of the enabled services got deleted accidentally on his end.

comment:5 by taylor.smock, 2 years ago

Ticket #22740 has been marked as a duplicate of this ticket.

comment:6 by taylor.smock, 2 years ago

Resolution: fixed
Status: needinfoclosed

I released a version that should fix this.

Modify Ticket

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