#20259 closed defect (fixed)
UnsupportedCharsetException: ISO-8859-3 - cadastre-fr with jpackage build
Reported by: | pyrog | Owned by: | Don-vip |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Plugin cadastre-fr | Version: | |
Keywords: | template_report jpackage regression charset | Cc: |
Description
What steps will reproduce the problem?
- Use https://josm.openstreetmap.de/download/macosx/josm-macosx.zip
- Download a place from "Téléchargement depuis le cadastre"
What is the expected result?
Download buildings…
What happens instead?
JOSM query the cadastre server but get nothing
Please provide any additional information below. Attach a screenshot if possible.
Works fine with https://josm.openstreetmap.de/josm-tested.jar
(I closed https://github.com/etalab/cadastre.data.gouv.fr/issues/91)
Revision:17329 Is-Local-Build:true Build-Date:2020-11-22 22:31:51 Identification: JOSM/1.5 (17329 SVN fr) Mac OS X 10.14.6 OS Build number: Mac OS X 10.14.6 (18G4032) Memory Usage: 472 MB / 8192 MB (296 MB allocated, but free) Java version: 15.0.1+9, Azul Systems, Inc., OpenJDK 64-Bit Server VM Look and Feel: com.apple.laf.AquaLookAndFeel Screen: Display 69732928 1280x800 (scaling 2.0x2.0) Maximum Screen Size: 1280x800 Best cursor sizes: 16x16 -> 16x16, 32x32 -> 32x32 VM arguments: [-Dapple.awt.application.appearance=system, --module-path=/Applications/JOSM.app/Contents/app/mods] Plugins: + PicLayer (2a9aa7a) + SeaMapEditor (35543) + apache-commons (35524) + apache-http (35589) + areaselector (368) + austriaaddresshelper (1597341117) + buildings_tools (35669) + cadastre-fr (35645) + conflation (0.6.6) + ejml (35458) + geotools (35458) + jaxb (35543) + jna (35662) + jts (35458) + log4j (35458) + measurement (35640) + microdata_scraping (1570137897) + opendata (35640) + pt_assistant (2.1.10-80-g7d9bba3) + reverter (35640) + utilsplugin2 (35671) + wikipedia (1.1.4) Tagging presets: + https://raw.githubusercontent.com/OpenNauticalChart/josm/master/INT-1-preset.xml + https://josm.openstreetmap.de/josmfile?page=Presets/Telecom&zip=1 + https://josm.openstreetmap.de/josmfile?page=Presets/Healthcare&zip=1 + https://raw.githubusercontent.com/osmlab/name-suggestion-index/main/dist/presets/nsi-josm-presets.min.xml Map paint styles: - https://josm.openstreetmap.de/josmfile?page=Styles/NumberedWalkingNodeNetworks&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/Coloured_Streets&zip=1 Validator rules: + https://github.com/Jungle-Bus/transport_mapcss/raw/gh-pages/transport.validator.zip + ${HOME}/Downloads/Rules_Pictures.validator.mapcss Last errors/warnings: - 00018.226 E: <josm.userdata>/plugins/opendata/resources/org/openstreetmap/josm/plugins/opendata/modules/fr/datagouvfr/datasets/agriculture/RegistreParcellaire.mapcss (No such file or directory) - 00030.451 E: Thread main-worker-0 raised java.lang.ExceptionInInitializerError - 00030.904 E: Thread main-worker-0 raised java.lang.NoClassDefFoundError: Could not initialize class org.openstreetmap.josm.plugins.fr.cadastre.edigeo.EdigeoCharset - 00031.232 E: Thread main-worker-0 raised java.lang.NoClassDefFoundError: Could not initialize class org.openstreetmap.josm.plugins.fr.cadastre.edigeo.EdigeoCharset - 00031.238 E: java.util.concurrent.ExecutionException: java.lang.ExceptionInInitializerError. Cause : java.lang.ExceptionInInitializerError. Cause : java.nio.charset.UnsupportedCharsetException: ISO-8859-3 - 00031.245 E: java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: Could not initialize class org.openstreetmap.josm.plugins.fr.cadastre.edigeo.EdigeoCharset. Cause : java.lang.NoClassDefFoundError: Could not initialize class org.openstreetmap.josm.plugins.fr.cadastre.edigeo.EdigeoCharset - 00031.250 E: java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: Could not initialize class org.openstreetmap.josm.plugins.fr.cadastre.edigeo.EdigeoCharset. Cause : java.lang.NoClassDefFoundError: Could not initialize class org.openstreetmap.josm.plugins.fr.cadastre.edigeo.EdigeoCharset
Attachments (0)
Change History (12)
comment:1 by , 4 years ago
Keywords: | macOS regression added |
---|
follow-up: 8 comment:2 by , 4 years ago
comment:3 by , 4 years ago
Owner: | changed from | to
---|---|
Status: | new → needinfo |
comment:4 by , 4 years ago
java -version
java version "1.8.0_74"
Java(TM) SE Runtime Environment (build 1.8.0_74-b02)
Java HotSpot(TM) 64-Bit Server VM (build 25.74-b02, mixed mode)
comment:5 by , 4 years ago
Component: | Installer MacOS → Plugin cadastre-fr |
---|
comment:6 by , 4 years ago
Summary: | Can't download from cadastre-fr with packaged JOSM for macOS → Can't download from cadastre-fr with java 15 |
---|
comment:7 by , 4 years ago
Keywords: | charset added |
---|---|
Summary: | Can't download from cadastre-fr with java 15 → UnsupportedCharsetException: ISO-8859-3 - cadastre-fr with java 15 |
comment:8 by , 4 years ago
Replying to Stereo:
I have no idea what that EdigeoCharset thing is
Edigeo is the 1990s AFNOR norm that dictates how cadastre was exchanged in France: https://fr.wikipedia.org/wiki/EDIGEO
The norm has been deprecated but still being used by the DGFiP.
comment:9 by , 4 years ago
Keywords: | jpackage added; macOS removed |
---|---|
Owner: | changed from | to
Status: | needinfo → assigned |
Summary: | UnsupportedCharsetException: ISO-8859-3 - cadastre-fr with java 15 → UnsupportedCharsetException: ISO-8859-3 - cadastre-fr with jpackage build |
I have no idea what that EdigeoCharset thing is, and if it is a red herring. And ISO-8859-3? Quite exotic.
When you run
java --version
from the command line, what version are you running?I thought most people used the Cadastre WMS these days - what's better with the plugin?