Modify ↓
Opened 5 months ago
Last modified 5 months ago
#23799 new defect
Error loading shapefile
Reported by: | anonymous | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core | Version: | |
Keywords: | template_report | Cc: |
Description
What steps will reproduce the problem?
- Installing OpenData plugin
- Dragging a Shapefile
What is the expected result?
Load a shapefile to be converted as osm
What happens instead?
Error
Please provide any additional information below. Attach a screenshot if possible.
Revision:19128 Build-Date:2024-07-06 10:12:45 Identification: JOSM/1.5 (19128 en_GB) Windows 10 64-Bit OS Build number: Windows 10 Enterprise 22H2 (19045) Memory Usage: 240 MB / 8104 MB (38 MB allocated, but free) Java version: 21.0.3+9-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.00×1.00) \Display1 1920x1080x32bpp@60Hz (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_GB Numbers with default locale: 1234567890 -> 1234567890 VM arguments: [-Djpackage.app-version=1.5.19128, --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: + apache-commons (36273) + ejml (36176) + jackson (36273) + jaxb (36118) + jts (36004) + opendata (36256) + utilsplugin2 (36241) Last errors/warnings: - 00004.758 E: Unable to load class org.openstreetmap.josm.plugins.geotools.GeoToolsPlugin from plugin geotools using classloader PluginClassLoader [urls=[]]: java.lang.ClassNotFoundException: org.openstreetmap.josm.plugins.geotools.GeoToolsPlugin - 00004.759 E: org.openstreetmap.josm.plugins.PluginException: An error occurred in plug-in geotools. Cause: java.lang.ClassNotFoundException: org.openstreetmap.josm.plugins.geotools.GeoToolsPlugin - 00004.786 W: Disable plug-in - <html>Could not load plugin 'geotools' because the plugin<br>main class 'org.openstreetmap.josm.plugins.geotools.GeoToolsPlugin' was not found.<br>Delete from preferences?</html> - 00019.134 W: java.util.zip.ZipException: zip END header not found - 00019.134 W: PluginException: : org.openstreetmap.josm.plugins.PluginException: Invalid jar file '<josm.pref>\plugins\geotools.jar.new' - 00019.134 W: Failed to scan file 'geotools.jar.new' for plugin information. Skipping. - 00029.925 E: Handled by bug report queue: java.lang.NoClassDefFoundError: org/geotools/api/referencing/operation/TransformException. Cause: java.lang.ClassNotFoundException: org.geotools.api.referencing.operation.TransformException - 00036.802 W: java.util.zip.ZipException: zip END header not found - 00036.802 W: PluginException: : org.openstreetmap.josm.plugins.PluginException: Invalid jar file '<josm.pref>\plugins\geotools.jar.new' - 00036.802 W: Failed to scan file 'geotools.jar.new' for plugin information. Skipping. === REPORTED CRASH DATA === BugReportExceptionHandler#handleException: No data collected. Warning issued by: BugReportExceptionHandler#handleException === STACK TRACE === Thread: main-worker-0 (50) of main java.lang.NoClassDefFoundError: org/geotools/api/referencing/operation/TransformException at org.openstreetmap.josm.plugins.opendata.core.io.geographic.ShpImporter.parseDataSet(ShpImporter.java:32) at org.openstreetmap.josm.gui.io.importexport.OsmImporter.loadLayer(OsmImporter.java:121) at org.openstreetmap.josm.gui.io.importexport.OsmImporter.importData(OsmImporter.java:97) at org.openstreetmap.josm.plugins.opendata.core.io.AbstractImporter.importData(AbstractImporter.java:59) 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) Caused by: java.lang.ClassNotFoundException: org.geotools.api.referencing.operation.TransformException at org.openstreetmap.josm.plugins.PluginClassLoader.loadClass(PluginClassLoader.java:82) at java.base/java.lang.ClassLoader.loadClass(Unknown Source) ... 14 more
Attachments (0)
Note:
See TracTickets
for help on using tickets.
It seems something went wrong with download/update of the plugin geotools.
Maybe delete the file plugins\geotools.jar.new and try again to update the plugins.