Opened 9 months ago
Closed 9 months ago
#23853 closed defect (fixed)
JOSM prompts for plug in update for jna over and over
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core | Version: | |
Keywords: | template_report | Cc: |
Description (last modified by )
What steps will reproduce the problem?
- Open JOSM prompted ERROR Plugin apache-http requires a plugin which was not found. The missing plugin is: jna.
- Click Download and restart: It downloads and restarts and gives the same prompt:
Plugin apache-http requires a plugin which was not found. The missing plugin is: jna.
- Click continue it starts. Prompt to update to 19160 and I did.
Go to Preferences, Plugins, Update plugins it says Plugins up to date.
Click Ok, close JOSM.
- Open JOSM get Plugin apache-http requires a plugin which was not found. The missing plugin is: jna again.
Click Download and restart: It downloads and restarts and gives the same prompt:
Plugin apache-http requires a plugin which was not found. The missing plugin is: jna.
What is the expected result?
Update plugin without an error or update loop repeatedly.
What happens instead?
Get ERROR and update prompt over and over
Please provide any additional information below. Attach a screenshot if possible.
I have some screenshots, don't know how to attach them here.
Revision:19160 Build-Date:2024-08-01 15:31:59 Identification: JOSM/1.5 (19160 en) Windows 10 64-Bit OS Build number: Windows 10 Pro 22H2 (19045) Memory Usage: 896 MB / 6136 MB (503 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 1920x1080x32bpp@60Hz (scaling 1.00×1.00) Maximum Screen Size: 1920×1080 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=%<user.name>Profile%\AppData\Local\JOSM\JOSM.exe] Plugins: + Mapillary (1770) + apache-commons (36282) + apache-http + buildings_tools (36226) + geochat (36149) + imagery_offset_db (36289) + mapwithai (829) + pmtiles (36219) + utilsplugin2 (36298) Map paint styles: + https://josm.openstreetmap.de/josmfile?page=Styles/MapWithAI&zip=1 Last errors/warnings: - 00000.683 W: extended font config - overriding 'filename.Malgun_Gothic=malgun.ttf' with 'MALGUN.TTF' - 00000.686 W: extended font config - overriding 'filename.Myanmar_Text=mmrtext.ttf' with 'MMRTEXT.TTF' - 00000.686 W: extended font config - overriding 'filename.Mongolian_Baiti=monbaiti.ttf' with 'MONBAITI.TTF' - 00001.843 E: java.security.KeyStoreException: Windows-ROOT not found. Cause: java.security.NoSuchAlgorithmException: Windows-ROOT KeyStore not available - 00009.536 W: Not a single layer for the name 'tms[22]:https://tiles.openaerialmap.org/61f25c24bc4fd60005518140/0/61f25c24bc4fd60005518141/{z}/{x}/{y}': [] - 00011.932 E: Error - <html>Plugin apache-http requires a plugin which was not found. The missing plugin is:<ul><li>jna</li></ul></html> - 00031.549 E: java.lang.NumberFormatException: For input string: "test"
Attachments (1)
Change History (6)
by , 9 months ago
Attachment: | 20240810_190531_kj.jpg added |
---|
comment:1 by , 9 months ago
Description: | modified (diff) |
---|---|
Owner: | changed from | to
Status: | new → needinfo |
follow-up: 3 comment:2 by , 9 months ago
I did try to install the missing plugin jna manually the first time it happened and it did the same thing.
I tried uninstalling JOSM and reinstalled and got the same prompt on open.
I tried manually updating all plugins and the jna plugin and it did not resolve the issue.
comment:3 by , 9 months ago
Replying to ghstwtchrintel@…:
I did try to install the missing plugin jna manually the first time it happened and it did the same thing.
I tried uninstalling JOSM and reinstalled and got the same prompt on open.
I tried manually updating all plugins and the jna plugin and it did not resolve the issue.
That is strange. I guess, you did not delete all JOSM folders, especially the one for the cached files, when uninstalling JOSM. Maybe there is a broken jna plugin file lying around.
Anyway, I have installed all the mentioned plugins (except the ones which are only dependencies) from your status report in a fresh installation and apache-http
plus respectively jna
are not needed. So you should be fine with by disabling/uninstalling apache-http
.
Plugins: + Mapillary (1770.1) + apache-commons (36282) + buildings_tools (36226) + geochat (36149) + imagery_offset_db (36289) + mapwithai (829) + pmtiles (36219) + utilsplugin2 (36298)
comment:4 by , 9 months ago
Ok, that worked.
When the Error came up, I disabled the jna plugin then went to preferences and unticked apache-http and clicked update. JOSM restarted and no more jna error or update loop.
I appreciate your help.
Thanks!
comment:5 by , 9 months ago
Resolution: | → fixed |
---|---|
Status: | needinfo → closed |
I have had problems when plugin dependencies changed, in the past, as new or updated dependencies were not properly downloaded.
@ghstwtchrintel: Please, try to install the missing plugin
jna
manually. Does this solve your problem?