Modify

#23878 closed defect (fixed)

IncompatibleClassChangeError: Expecting non-static method 'boolean org.openstreetmap.josm.plugins.opendata.core.datasets.AbstractDataSetHandler.acceptsCsvKmzTabFilename(java.lang.String, java.lang.String[])'

Reported by: anonymous Owned by: team
Priority: normal Milestone:
Component: Plugin opendata Version:
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

What is the expected result?

What happens instead?

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

Revision:19017
Build-Date:2024-03-18 12:32:33

Identification: JOSM/1.5 (19017 en) Windows 11 64-Bit
OS Build number: Windows 10 Home 2009 (22631)
Memory Usage: 720 MB / 8136 MB (362 MB allocated, but free)
Java version: 21.0.2+13-LTS, Azul Systems, Inc., OpenJDK 64-Bit Server VM
Look and Feel: com.formdev.flatlaf.FlatDarkLaf
Screen: \Display0 1920×1080 (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.19017, --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=%UserProfile%\AppData\Local\JOSM\JOSM.exe]

Plugins:
+ FastDraw (36226)
+ Mapillary (1770.1)
+ apache-commons (36176)
+ apache-http (36176)
+ buildings_tools (36226)
+ contourmerge (v0.2.1)
+ ejml (36176)
+ flatlaf (36176)
+ geotools (36176)
+ jackson (36176)
+ jaxb (36118)
+ jna (36176)
+ jts (36004)
+ mapathoner (1.5.5)
+ mapwithai (829)
+ mapwithai-dev (1.9.16-1-g89c7d89)
+ markseen (14)
+ measurement (36256)
+ opendata (36298)
+ pmtiles (36219)
+ print (36241)
+ pt_assistant (637)
+ terracer (36298)
+ todo (138)
+ utilsplugin2 (36298)

Map paint styles:
+ https://josm.openstreetmap.de/josmfile?page=Styles/MapWithAI&zip=1
+ https://github.com/MissingMaps/josm_styles/archive/master.zip
+ https://github.com/osmlab/appledata/archive/josm_paint_inline_validation.zip
- https://josm.openstreetmap.de/josmfile?page=Styles/Potlatch2&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/PublicTransport&zip=1

Last errors/warnings:
- 00775.296 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'
- 00775.296 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'
- 00775.297 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'
- 00775.297 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'
- 00775.298 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'
- 00775.298 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'
- 00775.299 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'
- 00775.300 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'
- 00775.323 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[])'
- 00789.662 E: java.net.MalformedURLException: no protocol: java -jar flatlaf-demo-<version>.jar



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

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: main-worker-0 (49) 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:401)
	at org.openstreetmap.josm.actions.OpenFileAction$OpenFileTask.realRun(OpenFileAction.java:350)
	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(Unknown Source)
	at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.base/java.lang.Thread.run(Unknown Source)

Attachments (0)

Change History (3)

comment:1 by taylor.smock, 14 months ago

Component: CorePlugin opendata
Summary: ErrorIncompatibleClassChangeError: Expecting non-static method 'boolean org.openstreetmap.josm.plugins.opendata.core.datasets.AbstractDataSetHandler.acceptsCsvKmzTabFilename(java.lang.String, java.lang.String[])'

19017

Please update JOSM. I'll rebuild the addons for opendata, but they will require a newer versions of JOSM.

+ mapwithai-dev (1.9.16-1-g89c7d89)

I haven't updated this -dev plugin in years. Please uninstall it (especially since you have the non-dev version installed).

comment:2 by taylor.smock, 14 months ago

In 36323/osm:

See #23878: Bump JOSM revision for rebuild

r19044 was the first version to require Java 11.

comment:3 by taylor.smock, 14 months ago

Resolution: fixed
Status: newclosed

In 36324/osm:

Fix #23878: Rebuild opendata and opendata plugins

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
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.