Modify ↓
Opened 16 months ago
Closed 16 months ago
#23879 closed defect (fixed)
josm crash when no osm api response
| Reported by: | anonymous | Owned by: | team |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Plugin continuosDownload | Version: | |
| Keywords: | template_report | Cc: |
Description
What steps will reproduce the problem?
What is the expected result?
What happens instead?
Please provide any additional information below. Attach a screenshot if possible.
Revision:19160 Build-Date:2024-08-01 15:31:59 Identification: JOSM/1.5 (19160 en) Windows 11 64-Bit OS Build number: Windows 10 Pro 22H2 (22621) Memory Usage: 1124 MB / 8176 MB (486 MB allocated, but free) Java version: 21.0.4+7-LTS, Azul Systems, Inc., OpenJDK 64-Bit Server VM Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel Screen: \Display0 2560x1440x32bpp@60Hz (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: UTF-8 System property sun.jnu.encoding: Cp1252 Locale info: en_US Numbers with default locale: 1234567890 -> 1234567890 VM arguments: [-Djpackage.app-version=1.5.19160, --add-modules=java.scripting,java.sql,javafx.controls,javafx.media,javafx.swing,javafx.web, --add-exports=java.base/sun.security.action=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.plugins.jpeg=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.spi=ALL-UNNAMED, --add-opens=java.base/java.lang=ALL-UNNAMED, --add-opens=java.base/java.nio=ALL-UNNAMED, --add-opens=java.base/jdk.internal.loader=ALL-UNNAMED, --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED, --add-opens=java.desktop/javax.imageio.spi=ALL-UNNAMED, --add-opens=java.desktop/javax.swing.text.html=ALL-UNNAMED, --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED, -Djpackage.app-path=%UserProfile%\AppData\Local\JOSM\JOSM.exe] Dataset consistency test: No problems found Plugins: + CADTools (1008) + FastDraw (36226) + MakeParallel (v1.1.0) + Mapillary (1770.1) + apache-commons (36282) + buildings_tools (36226) + continuosDownload (103) + contourmerge (v0.2.1) + easypresets (1623509627) + ejml (36176) + jaxb (36118) + jogl (1.2.3) + log4j (36273) + lwjgl (36176) + lwjgl-windows (36176) + mbtiles (v2.6.1) + reltoolbox (36298) + reverter (36320) + shrinkwrap (v1.1.3) + splinex (36126) + tageditor (36298) + terracer (36298) + turnlanes (36298) + turnlanes-tagging (0.0.5) + utilsplugin2 (36298) Tagging presets: + C:\Downloads\josm\josm.zip + <josm.pref>/EasyPresets.xml + https://josm.openstreetmap.de/josmfile?page=Presets/BuildingPreset&zip=1 Map paint styles: - https://josm.openstreetmap.de/josmfile?page=Styles/Maxspeed&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/ColorWays&zip=1 - https://raw.githubusercontent.com/species/josm-preset-traffic_sign_direction/master/direction.mapcss - https://josm.openstreetmap.de/josmfile?page=Styles/Lane_and_Road_Attributes&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/Enhanced_Lane_and_Road_Attributes&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/Coloured_Streets&zip=1 + %UserProfile%\AppData\Local\JOSM\iD-style-mod.mapcss - https://josm.openstreetmap.de/josmfile?page=Styles/Highway_Nodes&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/iD&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/LessObtrusiveNodes&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/SidewalksPlus&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/MaxspeedIcons&zip=1 + https://josm.openstreetmap.de/josmfile?page=Styles/ParcelLocker&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/SidewalksAndFootways&zip=1 Last errors/warnings: - 20526.457 E: IO Exception - <html>Failed to upload data to or download data from<br>'https://api.openstreetmap.org/api/0.6/map?bbox=24.8048689,54.6362671,24.8150591,54.6372668'<br>due to a problem with transferring data.<br>Details (untranslated): Read timed out</html> - 20528.190 E: Handled by bug report queue: java.lang.NullPointerException: Cannot invoke "String.contains(java.lang.CharSequence)" because the return value of "org.openstreetmap.josm.io.OsmApiException.getErrorHeader()" is null - 20528.196 E: org.openstreetmap.josm.io.OsmApiException: ResponseCode=520, Error Body=<<!DOCTYPE html> - 20528.203 E: Communication with OSM server failed - ResponseCode=520, Error Body=<<!DOCTYPE html> - 20528.953 E: Handled by bug report queue: java.lang.NullPointerException: Cannot invoke "String.contains(java.lang.CharSequence)" because the return value of "org.openstreetmap.josm.io.OsmApiException.getErrorHeader()" is null - 20528.954 E: org.openstreetmap.josm.io.OsmApiException: ResponseCode=520, Error Body=<<!DOCTYPE html> - 20528.959 E: Communication with OSM server failed - ResponseCode=520, Error Body=<<!DOCTYPE html> - 20528.993 E: Handled by bug report queue: java.lang.NullPointerException: Cannot invoke "String.contains(java.lang.CharSequence)" because the return value of "org.openstreetmap.josm.io.OsmApiException.getErrorHeader()" is null - 20528.993 E: org.openstreetmap.josm.io.OsmApiException: ResponseCode=520, Error Body=<<!DOCTYPE html> - 20528.998 E: Communication with OSM server failed - ResponseCode=520, Error Body=<<!DOCTYPE html> === REPORTED CRASH DATA === BugReportExceptionHandler#handleException: No data collected. Warning issued by: BugReportExceptionHandler#handleException === STACK TRACE === Thread: AWT-EventQueue-0 (40) of main java.lang.NullPointerException: Cannot invoke "String.contains(java.lang.CharSequence)" because the return value of "org.openstreetmap.josm.io.OsmApiException.getErrorHeader()" is null at org.openstreetmap.josm.plugins.continuosDownload.DownloadPlugin.handleException(DownloadPlugin.java:164) at org.openstreetmap.josm.plugins.continuosDownload.DownloadOsmTask2$DownloadTask2.lambda$realRun$0(DownloadOsmTask2.java:65) at java.base/java.util.ArrayList.forEach(Unknown Source) at java.base/java.util.Collections$UnmodifiableCollection.forEach(Unknown Source) at org.openstreetmap.josm.plugins.continuosDownload.DownloadOsmTask2$DownloadTask2.lambda$realRun$1(DownloadOsmTask2.java:65) at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(Unknown Source) at java.base/java.util.stream.ReferencePipeline$3$1.accept(Unknown Source) at java.base/java.util.stream.ReferencePipeline$2$1.accept(Unknown Source) at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(Unknown Source) at java.base/java.util.stream.AbstractPipeline.copyInto(Unknown Source) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source) at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(Unknown Source) at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(Unknown Source) at java.base/java.util.stream.AbstractPipeline.evaluate(Unknown Source) at java.base/java.util.stream.ReferencePipeline.forEach(Unknown Source) at org.openstreetmap.josm.plugins.continuosDownload.DownloadOsmTask2$DownloadTask2.realRun(DownloadOsmTask2.java:65) 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(Unknown Source) at java.base/java.util.concurrent.FutureTask.run(Unknown Source) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.base/java.lang.Thread.run(Unknown Source)
Attachments (0)
Change History (2)
comment:1 by , 16 months ago
| Component: | Core → Plugin continuosDownload |
|---|
comment:2 by , 16 months ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.



Fixed in https://github.com/JOSM/continuos-download/releases/tag/v105 .