Modify

Opened 7 months ago

Closed 7 months ago

Last modified 7 months ago

#23886 closed defect (fixed)

Problem with shp file loading

Reported by: mladjakoraac@… 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:19160
Build-Date:2024-08-01 15:31:59

Identification: JOSM/1.5 (19160 en_GB) Windows 11 64-Bit
OS Build number: Windows 10 Home 23H2 (22631)
Memory Usage: 478 MB / 4046 MB (198 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.50×1.50)
Maximum Screen Size: 1920×1080
Best cursor sizes: 16×16→48×48, 32×32→48×48
System property file.encoding: UTF-8
System property sun.jnu.encoding: Cp1252
Locale info: en_GB
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=%UserProfile%\AppData\Local\JOSM\JOSM.exe]
Dataset consistency test: No problems found

Plugins:
+ BuildingGeneralization (36)
+ PerpendicularWayFromNode (1.0.0)
+ Review.Changes (1.1.1)
+ Tracer2 (36298)
+ apache-commons (36282)
+ buildings_tools (36226)
+ changeset-viewer (0.0.7)
+ changessum (v0.1.1)
+ ejml (36176)
+ geotools (36273)
+ jackson (36273)
+ jaxb (36118)
+ jts (36004)
+ opendata (36323)
+ pdfimport (36298)
+ utilsplugin2 (36298)

Map paint styles:
+ https://josm.openstreetmap.de/josmfile?page=Styles/Admin_Boundaries&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/BuildingColors&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/Coloured_buildings&zip=1

Last errors/warnings:
- 00509.486 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'
- 00509.486 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'
- 00509.486 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'
- 00509.486 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'
- 00509.486 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'
- 00509.486 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'
- 00509.487 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'
- 00509.487 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'
- 00509.487 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'
- 00509.508 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[])'



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

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: main-worker-0 (36) 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(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 (4)

comment:1 by stoecker, 7 months ago

Component: CorePlugin opendata

comment:2 by stoecker, 7 months ago

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:3 by taylor.smock, 7 months ago

Resolution: fixed
Status: newclosed

In 36327/osm:

Fix #23886: IncompatibleClassChangeError in opendata

It turns out that part of the problem is that the module site was not downloading raw text.

comment:4 by taylor.smock, 7 months ago

In 36328/osm:

See #23886 (dist): IncompatibleClassChangeError in opendata

It turns out that part of the problem is that the module site was not downloading raw text.

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.