Modify

Opened 3 months ago

Closed 3 months ago

#24498 closed defect (fixed)

plugin opendata missing member field "...opendata.core.licenses.LOOL"

Reported by: Cyrille37 Owned by: Cyrille37
Priority: normal Milestone:
Component: Plugin opendata Version:
Keywords: Cc:

Description

Hi

Plugin opendata throw error about missing member field "...opendata.core.licenses.LOOL":

GRAVE: Cannot instantiate class org.openstreetmap.josm.plugins.opendata.modules.fr.datagouvfr.datasets.agriculture.RegistreParcellaireHandler because of java.lang.reflect.InvocationTargetException: java.lang.reflect.InvocationTargetException. Cause : java.lang.NoSuchFieldError: Class org.openstreetmap.josm.plugins.opendata.core.licenses.License does not have member field 'org.openstreetmap.josm.plugins.opendata.core.licenses.LOOL LOOL'

2025-10-08 09:22:46.642 GRAVE: Cannot instantiate class org.openstreetmap.josm.plugins.opendata.modules.fr.datagouvfr.datasets.administration.GeoFlaHandler because of java.lang.reflect.InvocationTargetException: java.lang.reflect.InvocationTargetException. Cause : java.lang.NoSuchFieldError: Class org.openstreetmap.josm.plugins.opendata.core.licenses.License does not have member field 'org.openstreetmap.josm.plugins.opendata.core.licenses.LOOL LOOL'

And so one for other datasets ...

  • Opendata plugin version : 36440
  • Josm version: 19439

Regards & cheers

Attachments (0)

Change History (4)

comment:1 by stoecker, 3 months ago

Owner: changed from team to Cyrille37
Status: newneedinfo

There is a reason why the bug report template asks to describe what you did and requests a full status report.

Your report isn't sufficient to find a reason for your troubles.

Thanks for your report, however your ticket is incomplete and therefore not helpful in its current form.

Please add all needed information according to this list:

  • The required parts of the Status Report from your JOSM.
  • Describe what behaviour you expected.
  • Describe what did happen instead.
  • Describe if and how the issue is reproducible.
  • Add any relevant information like error messages or screenshots.

To ensure that all technical relevant information is contained, create new tickets by clicking in JOSMs Main Menu on Helpsource:trunk/resources/images/bug.svg Report Bug.

Remember: This is a generic notice so we don't need to write the same stuff again and again. It may only apply in parts to the specific case!


comment:2 by Cyrille37, 3 months ago

What steps will reproduce the problem?

  1. Start Josm
  2. look at journald for error

What is the expected result?

Don't have error.

What happens instead?

Plugin opendata throw error about missing member field "...opendata.core.licenses.LOOL":

GRAVE: Cannot instantiate class org.openstreetmap.josm.plugins.opendata.modules.fr.datagouvfr.datasets.agriculture.RegistreParcellaireHandler because of java.lang.reflect.InvocationTargetException: java.lang.reflect.InvocationTargetException. Cause : java.lang.NoSuchFieldError: Class org.openstreetmap.josm.plugins.opendata.core.licenses.License does not have member field 'org.openstreetmap.josm.plugins.opendata.core.licenses.LOOL LOOL'

2025-10-08 09:22:46.642 GRAVE: Cannot instantiate class org.openstreetmap.josm.plugins.opendata.modules.fr.datagouvfr.datasets.administration.GeoFlaHandler because of java.lang.reflect.InvocationTargetException: java.lang.reflect.InvocationTargetException. Cause : java.lang.NoSuchFieldError: Class org.openstreetmap.josm.plugins.opendata.core.licenses.License does not have member field 'org.openstreetmap.josm.plugins.opendata.core.licenses.LOOL LOOL'

Please provide any additional information below. Attach a screenshot if possible.

Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2025-08-31 14:19:57 +0200 (Sun, 31 Aug 2025)
Revision:19439
Build-Date:2025-09-01 01:31:04
URL:https://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (19439 fr) Linux Mint 21.3
Memory Usage: 480 MB / 23856 MB (183 MB allocated, but free)
Java version: 21.0.8+9-Ubuntu-0ubuntu122.04.1, Ubuntu, OpenJDK 64-Bit Server VM
Look and Feel: javax.swing.plaf.metal.MetalLookAndFeel
Screen: :0.0 1920x1080x[Multi depth]@60Hz (scaling 1.00×1.00) :0.1 1920x1080x[Multi depth]@[Unknown refresh rate] (scaling 1.00×1.00)
Maximum Screen Size: 1920×1080
Best cursor sizes: 16×16→16×16, 32×32→32×32
Environment variable LANG: fr_FR.UTF-8
System property file.encoding: UTF-8
System property sun.jnu.encoding: UTF-8
Locale info: fr_FR
Numbers with default locale: 1234567890 -> 1234567890
Desktop environment: MATE
Java package: openjdk-21-jre:amd64-21.0.8+9~us1-0ubuntu1~22.04.1
fonts-noto: fonts-noto:all-20201225-1build1
VM arguments: [--module-path=/usr/share/openjfx/lib, --add-modules=java.scripting,java.sql,javafx.controls,javafx.media,javafx.swing,javafx.web, -Djosm.restart=true, -Djava.net.useSystemProxies=true, -XX:MaxRAMPercentage=75.0, --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]
Program arguments: [--warn]

Plugins:
+ apache-commons (36438)
+ cadastre-fr (36438)
+ ejml (36438)
+ geotools (36438)
+ jackson (36438)
+ jaxb (36438)
+ jts (36438)
+ opendata (36440)
+ photo_geotagging (36438)
+ photoadjust (36438)
+ reverter (36447)
+ urbaneye3d (1.4.1)
+ utilsplugin2 (36438)
+ waydownloader (36438)

Tagging presets:
+ https://josm.openstreetmap.de/josmfile?page=Presets/FranceRoads&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/Healthcare&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/Industrial&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/Heritage&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/Crafts&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/MappingAccessibility&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/Community_Centre&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/Historical_Objects&zip=1
+ https://raw.githubusercontent.com/yopaseopor/traffic_signs_preset_JOSM/master/FR.zip
+ https://raw.githubusercontent.com/Heiner-Sch/JOSM-preset-trees-Europe/master/JOSM-Preset_Trees.xml
+ https://josm.openstreetmap.de/josmfile?page=Presets/Telecom&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/Wikidata&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/BuildingPreset&zip=1

Last errors/warnings:
- 00007.096 E: Cannot instantiate class org.openstreetmap.josm.plugins.opendata.modules.fr.datagouvfr.datasets.agriculture.RegistreParcellaireHandler because of java.lang.reflect.InvocationTargetException: java.lang.reflect.InvocationTargetException. Cause : java.lang.NoSuchFieldError: Class org.openstreetmap.josm.plugins.opendata.core.licenses.License does not have member field 'org.openstreetmap.josm.plugins.opendata.core.licenses.LOOL LOOL'
- 00007.096 E: Cannot instantiate class org.openstreetmap.josm.plugins.opendata.modules.fr.datagouvfr.datasets.administration.GeoFlaHandler because of java.lang.reflect.InvocationTargetException: java.lang.reflect.InvocationTargetException. Cause : java.lang.NoSuchFieldError: Class org.openstreetmap.josm.plugins.opendata.core.licenses.License does not have member field 'org.openstreetmap.josm.plugins.opendata.core.licenses.LOOL LOOL'
- 00007.097 E: Cannot instantiate class org.openstreetmap.josm.plugins.opendata.modules.fr.datagouvfr.datasets.transport.PassageNiveauHandler because of java.lang.reflect.InvocationTargetException: java.lang.reflect.InvocationTargetException. Cause : java.lang.NoSuchFieldError: Class org.openstreetmap.josm.plugins.opendata.core.licenses.License does not have member field 'org.openstreetmap.josm.plugins.opendata.core.licenses.LOOL LOOL'
- 00007.097 E: Cannot instantiate class org.openstreetmap.josm.plugins.opendata.modules.fr.datagouvfr.datasets.hydrologie.ROEHandler because of java.lang.reflect.InvocationTargetException: java.lang.reflect.InvocationTargetException. Cause : java.lang.NoSuchFieldError: Class org.openstreetmap.josm.plugins.opendata.core.licenses.License does not have member field 'org.openstreetmap.josm.plugins.opendata.core.licenses.LOOL LOOL'
- 00007.097 E: Cannot instantiate class org.openstreetmap.josm.plugins.opendata.modules.fr.datagouvfr.datasets.ecologie.ForetsPubliquesHandler because of java.lang.reflect.InvocationTargetException: java.lang.reflect.InvocationTargetException. Cause : java.lang.NoSuchFieldError: Class org.openstreetmap.josm.plugins.opendata.core.licenses.License does not have member field 'org.openstreetmap.josm.plugins.opendata.core.licenses.LOOL LOOL'
- 00007.097 E: Cannot instantiate class org.openstreetmap.josm.plugins.opendata.modules.fr.datagouvfr.datasets.ecologie.ReservesBiologiquesHandler because of java.lang.reflect.InvocationTargetException: java.lang.reflect.InvocationTargetException. Cause : java.lang.NoSuchFieldError: Class org.openstreetmap.josm.plugins.opendata.core.licenses.License does not have member field 'org.openstreetmap.josm.plugins.opendata.core.licenses.LOOL LOOL'
- 00007.097 E: Cannot instantiate class org.openstreetmap.josm.plugins.opendata.modules.fr.datagouvfr.datasets.hydrologie.EauxDeSurfaceHandler because of java.lang.reflect.InvocationTargetException: java.lang.reflect.InvocationTargetException. Cause : java.lang.NoSuchFieldError: Class org.openstreetmap.josm.plugins.opendata.core.licenses.License does not have member field 'org.openstreetmap.josm.plugins.opendata.core.licenses.LOOL LOOL'
- 00007.098 E: Cannot instantiate class org.openstreetmap.josm.plugins.opendata.modules.fr.datagouvfr.datasets.ecologie.InventaireForestierNationalHandler because of java.lang.reflect.InvocationTargetException: java.lang.reflect.InvocationTargetException. Cause : java.lang.NoSuchFieldError: Class org.openstreetmap.josm.plugins.opendata.core.licenses.License does not have member field 'org.openstreetmap.josm.plugins.opendata.core.licenses.LOOL LOOL'
- 00007.098 E: Cannot instantiate class org.openstreetmap.josm.plugins.opendata.modules.fr.datagouvfr.datasets.transport.AeroportsHandler because of java.lang.reflect.InvocationTargetException: java.lang.reflect.InvocationTargetException. Cause : java.lang.NoSuchFieldError: Class org.openstreetmap.josm.plugins.opendata.core.licenses.License does not have member field 'org.openstreetmap.josm.plugins.opendata.core.licenses.LOOL LOOL'
- 00007.098 E: Cannot instantiate class org.openstreetmap.josm.plugins.opendata.modules.fr.datagouvfr.datasets.transport.Route500Handler because of java.lang.reflect.InvocationTargetException: java.lang.reflect.InvocationTargetException. Cause : java.lang.NoSuchFieldError: Class org.openstreetmap.josm.plugins.opendata.core.licenses.License does not have member field 'org.openstreetmap.josm.plugins.opendata.core.licenses.LOOL LOOL'

comment:3 by stoecker, 3 months ago

Please delete the plugin "opendata" from the harddisk and reinstall it. File seems to be incomplete or broken. MD5sum of the correct file is 819c5f48887cad47daec8ba3bdc07563.

comment:4 by Cyrille37, 3 months ago

Resolution: fixed
Status: needinfoclosed

erased:

  • file: /home/cyrille/.local/share/JOSM/plugins/opendata.jar
  • and folder: /home/cyrille/.local/share/JOSM/plugins/opendata

then reinstalled "opendata" plugin and this error are disappeared. :-)

Issue #24497 has also been resolved :-)

Thanks and cheers !

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Cyrille37.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.