Modify

Opened 2 weeks ago

Last modified 2 weeks ago

#24312 new defect

Bug with opendata-plugin java.lang.reflect.InvocationTargetException

Reported by: Lucas.Liebler Bug with opendata-plugin Owned by: team
Priority: normal Milestone:
Component: Plugin opendata Version: latest
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

  1. Tried to open a ods-file in josm
  2. Did not work

What is the expected result?

What happens instead?

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-05-01 13:38:02 +0200 (Thu, 01 May 2025)
Revision:19396
Build-Date:2025-05-02 01:30:34
URL:https://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (19396 sv) Windows 11 64-Bit
OS Build number: Windows 10 Home 24H2 (26100)
Memory Usage: 454 MB / 4032 MB (144 MB allocated, but free)
Java version: 21.0.7+6-LTS, Azul Systems, Inc., OpenJDK 64-Bit Server VM
Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel
Screen: \Display0 1920x1200x32bpp@60Hz (scaling 1.25×1.25)
Maximum Screen Size: 1920×1200
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: sv_SE
Numbers with default locale: 1234567890 -> 1234567890
Dataset consistency test: No problems found

Plugins:
+ Mapillary (1792)
+ apache-commons (36438)
+ buildings_tools (36438)
+ continuosDownload (124)
+ ejml (36438)
+ geotools (36438)
+ jackson (36438)
+ jaxb (36438)
+ jts (36438)
+ opendata (36440)
+ tageditor (36438)
+ terracer (36438)
+ todo (150)
+ uberterracer (1718729454)
+ utilsplugin2 (36438)

Last errors/warnings:
- 00978.509 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. Anledning: 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'
- 00978.509 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. Anledning: 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'
- 00978.510 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. Anledning: 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'
- 00978.510 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. Anledning: 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'
- 00978.510 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. Anledning: 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'
- 00978.511 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. Anledning: 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'
- 00978.512 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. Anledning: 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'
- 00978.512 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. Anledning: 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'
- 00978.565 E: Handled by bug report queue: java.lang.IncompatibleClassChangeError: Expecting non-static method 'boolean org.openstreetmap.josm.plugins.opendata.core.datasets.AbstractDataSetHandler.acceptsCsvKmzTabFilename(java.lang.String, java.lang.String[])'
- 00986.986 W: Ogiltigt Java version '' i insticksprogram Mapillary



=== REPORTED CRASH DATA ===
BugReportExceptionHandler#handleException:
No data collected.

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: main-worker-0 (41) of main
java.lang.IncompatibleClassChangeError: Expecting non-static method 'boolean org.openstreetmap.josm.plugins.opendata.core.datasets.AbstractDataSetHandler.acceptsCsvKmzTabFilename(java.lang.String, java.lang.String[])'
	at org.openstreetmap.josm.plugins.opendata.modules.fr.toulouse.datasets.urbanisme.SanisetteHandler.acceptsFilename(SanisetteHandler.java:18)
	at org.openstreetmap.josm.plugins.opendata.core.datasets.AbstractDataSetHandler.acceptsFile(AbstractDataSetHandler.java:47)
	at org.openstreetmap.josm.plugins.opendata.core.io.AbstractImporter.findDataSetHandler(AbstractImporter.java:38)
	at org.openstreetmap.josm.plugins.opendata.core.io.AbstractImporter.importData(AbstractImporter.java:55)
	at org.openstreetmap.josm.gui.io.importexport.FileImporter.importDataHandleExceptions(FileImporter.java:103)
	at org.openstreetmap.josm.actions.OpenFileAction$OpenFileTask.importData(OpenFileAction.java:426)
	at org.openstreetmap.josm.actions.OpenFileAction$OpenFileTask.realRun(OpenFileAction.java:354)
	at org.openstreetmap.josm.gui.PleaseWaitRunnable.doRealRun(PleaseWaitRunnable.java:94)
	at org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:142)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
	at java.base/java.lang.Thread.run(Thread.java:1583)

Attachments (0)

Change History (1)

comment:1 by stoecker, 2 weeks ago

Component: CorePlugin opendata

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain team.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from team to the specified user.
Next status will be 'needinfo'. The owner will be changed from team to Lucas.Liebler Bug with opendata-plugin.
as duplicate The resolution will be set to duplicate. Next status will be 'closed'. The specified ticket will be cross-referenced with this ticket.
The owner will be changed from team to anonymous. Next status will be 'assigned'.

Add Comment


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