Modify

Opened 15 months ago

Closed 15 months ago

Last modified 15 months ago

#23285 closed defect (worksforme)

ClassNotFoundException: org.opengis.referencing.NoSuchAuthorityCodeException when running old version of opendata

Reported by: srpskicrv@… Owned by: Don-vip
Priority: normal Milestone:
Component: Plugin opendata Version:
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

  1. download some boundaries
  2. put in a shape-file
  3. ERROR

What is the expected result?

What happens instead?

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

Revision:18387
Build-Date:2022-03-07 09:13:43

Identification: JOSM/1.5 (18387 de) Windows 10 64-Bit
OS Build number: Windows 10 Pro 2009 (19045)
Memory Usage: 1474 MB / 2020 MB (407 MB allocated, but free)
Java version: 17.0.2+8-LTS, Azul Systems, Inc., OpenJDK 64-Bit Server VM
Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel
Screen: \Display0 1920×1080 (scaling 1.00×1.00) \Display1 1280×1024 (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: Cp1252
System property sun.jnu.encoding: Cp1252
Locale info: de_DE
Numbers with default locale: 1234567890 -> 1234567890
VM arguments: [-Djpackage.app-version=1.5.18387, --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:
+ apache-commons (36176)
+ ejml (36176)
+ geotools (36176)
+ jackson (36176)
+ jaxb (36118)
+ jts (36004)
+ opendata (35910)
+ pbf (36176)
+ utilsplugin2 (35970)

Last errors/warnings:
- 00001.151 W: extended font config - overriding 'filename.Myanmar_Text=mmrtext.ttf' with 'MMRTEXT.TTF'
- 00001.155 W: extended font config - overriding 'filename.Mongolian_Baiti=monbaiti.ttf' with 'MONBAITI.TTF'
- 00005.016 E: java.security.KeyStoreException: Windows-ROOT not found. Ursache: java.security.NoSuchAlgorithmException: Windows-ROOT KeyStore not available
- 01708.862 E: Handled by bug report queue: java.lang.NoClassDefFoundError: org/opengis/referencing/NoSuchAuthorityCodeException. Ursache: java.lang.ClassNotFoundException: org.opengis.referencing.NoSuchAuthorityCodeException
- 01900.435 E: Handled by bug report queue: java.lang.NoClassDefFoundError: org/opengis/referencing/NoSuchAuthorityCodeException. Ursache: java.lang.ClassNotFoundException: org.opengis.referencing.NoSuchAuthorityCodeException



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

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: main-worker-0 (22) of main
java.lang.NoClassDefFoundError: org/opengis/referencing/NoSuchAuthorityCodeException
	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: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)
Caused by: java.lang.ClassNotFoundException: org.opengis.referencing.NoSuchAuthorityCodeException
	at org.openstreetmap.josm.plugins.PluginClassLoader.loadClass(PluginClassLoader.java:92)
	at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
	... 14 more

Attachments (0)

Change History (2)

comment:1 by taylor.smock, 15 months ago

Component: CorePlugin opendata
Owner: changed from team to Don-vip
Resolution: worksforme
Status: newclosed

I tested with the shapefile for https://opendata.mesacounty.us/datasets/6f9c327384494cd19e74aa9ecf9c487b_0/explore and it worked.

+ geotools (36176)
+ opendata (35910)

You need to update opendata. It should be 36186.

comment:2 by taylor.smock, 15 months ago

Summary: Shape not loadedClassNotFoundException: org.opengis.referencing.NoSuchAuthorityCodeException when running old version of opendata

Modify Ticket

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