Opened 11 months ago

Last modified 10 months ago

#23853 closed defect

JOSM prompts for plug in update for jna over and over — at Version 1

Reported by: ghstwtchrintel@… Owned by: ghstwtchrintel@…
Priority: normal Milestone:
Component: Core Version:
Keywords: template_report Cc:

Description (last modified by skyper)

What steps will reproduce the problem?

  1. Open JOSM prompted ERROR Plugin apache-http requires a plugin which was not found. The missing plugin is: jna.
  2. 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.

  1. 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.

  1. 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"

Change History (2)

by anonymous, 11 months ago

Attachment: 20240810_190531_kj.jpg added

comment:1 by skyper, 11 months ago

Description: modified (diff)
Owner: changed from team to ghstwtchrintel@…
Status: newneedinfo

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?

Note: See TracTickets for help on using tickets.