#23499 closed defect (fixed)
Error when trying to add todo plugin to JOSM
Reported by: | anonymous | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Plugin todo | Version: | tested |
Keywords: | template_report | Cc: |
Description
What steps will reproduce the problem?
After starting JOSM, I go to settings and then to the plugin management module. I search for the "todo" plugin, select it and then confirm with the "OK" button.
What happens instead?
An error message appears stating that the "todo" plugin could not be downloaded. The error message is: java.io.IOException: stream is closed
Please provide any additional information below. Attach a screenshot if possible.
Relative:URL: ^/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2024-02-05 12:56:34 +0100 (Mon, 05 Feb 2024) Revision:18969 Build-Date:2024-02-06 02:30:58 URL:https://josm.openstreetmap.de/svn/trunk Identification: JOSM/1.5 (18969 pl) Windows 10 64-Bit OS Build number: Windows 10 Pro 2009 (19045) Memory Usage: 279 MB / 1986 MB (124 MB allocated, but free) Java version: 21.0.1+12-LTS, Azul Systems, Inc., OpenJDK 64-Bit Server VM Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel Screen: \Display0 1080×1920 (scaling 1.00×1.00) \Display1 1920×1080 (scaling 1.00×1.00) Maximum Screen Size: 1920×1920 Best cursor sizes: 16×16→32×32, 32×32→32×32 System property file.encoding: UTF-8 System property sun.jnu.encoding: Cp1250 Locale info: pl_PL Numbers with default locale: 1234567890 -> 1234567890 VM arguments: [-Dicedtea-web.bin.location=C:\Program Files\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, -Djava.security.manager=allow] Plugins: + buildings_tools (36200) + reverter (36196) Map paint styles: + https://josm.openstreetmap.de/josmfile?page=Styles/Potlatch2&zip=1 Last errors/warnings: - 00006.100 W: Nie udało się przeszukać pliku „todo.jar.new” w celu uzyskania informacji o wtyczce. Pomijanie. - 00006.596 W: java.util.zip.ZipException: zip file is empty - 00006.598 W: PluginException: : org.openstreetmap.josm.plugins.PluginException: Nieprawidłowy plik jar „<josm.pref>\plugins\todo.jar.new” - 00006.599 W: Nie udało się przeszukać pliku „todo.jar.new” w celu uzyskania informacji o wtyczce. Pomijanie. - 00006.658 W: Nie udało się zainstalować wtyczkę „<josm.pref>\plugins\todo.jar” z tymczasowego pliku pobierania „<josm.pref>\plugins\todo.jar.new”. zip file is empty: java.util.zip.ZipException: zip file is empty - 00052.535 W: java.util.zip.ZipException: zip file is empty - 00052.536 W: PluginException: : org.openstreetmap.josm.plugins.PluginException: Nieprawidłowy plik jar „<josm.pref>\plugins\todo.jar.new” - 00052.536 W: Nie udało się przeszukać pliku „todo.jar.new” w celu uzyskania informacji o wtyczce. Pomijanie. - 00078.882 E: org.openstreetmap.josm.plugins.PluginDownloadException: java.io.IOException: stream is closed. Przyczyna: java.io.IOException: stream is closed - 00078.921 W: Uaktualnij wtyczki - <html><strong>Nie udało się pobrać</strong> następującej wtyczki:<ul><li>todo</li></ul><br>Treść błędu (nieprzetłumaczone): java.io.IOException: stream is closed</html>
Attachments (0)
Change History (8)
comment:1 by , 15 months ago
comment:2 by , 15 months ago
We probably ought to auto-delete empty jar files (especially if they are .new
).
comment:3 by , 15 months ago
Yes, both an empty file (0 bytes) and an empty or corrupted zip file are good reasons to delete a .new
comment:4 by , 15 months ago
I removed the file plugins\todo.jar.new and try again to update it. I had the same message error. The error message is: java.io.IOException: stream is closed.
The empty file was downloaded again.
comment:6 by , 15 months ago
I managed to install the plugin manually. The error was caused by problems on the ISP side.
comment:8 by , 10 months ago
Component: | Core → Plugin todo |
---|
It seems that the download file is empty.
Please remove the file plugins\todo.jar.new and try again to update.