Modify ↓
Opened 5 years ago
Closed 3 years ago
#19192 closed defect (duplicate)
opendata plugin disfunctional due to "counldn't load plugin geotools" when starting josm.
Reported by: | anonymous | Owned by: | Don-vip |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Plugin geotools | Version: | tested |
Keywords: | template_report | Cc: |
Description
What steps will reproduce the problem?
- Import Shapefile via drag'n'drop
- An unexpected exception occurred that may have come from the 'opendata' plugin. According to the information within the plugin, the author is Don-vip. Try updating to the newest version of this plugin before reporting a bug
- JOSM could not find information about the following plugins:
jaxb
utilsplugin2
apache-commons
geotools
opendata
jts
ejml
The plugins are not going to be loaded.
What is the expected result?
shapefile loaded as new layer
What happens instead?
opendata plugin crashes
Please provide any additional information below. Attach a screenshot if possible.
josm and plugins are up to date; error message 'counldn't load plugin geotools' while josm is starting. googeling this error message points to a conflicting plugin to be the cause of this problem but there is no plugin other than opendata and those it depends on.
Relative:URL: ^/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2020-04-06 02:17:07 +0200 (Mon, 06 Apr 2020) Revision:16239 Build-Date:2020-04-06 00:18:43 URL:https://josm.openstreetmap.de/svn/trunk Identification: JOSM/1.5 (16239 en) Linux Ubuntu 20.04 LTS Memory Usage: 504 MB / 2048 MB (149 MB allocated, but free) Java version: 11.0.7+10-post-Ubuntu-3ubuntu1, Ubuntu, OpenJDK 64-Bit Server VM Screen: :0.0 1920x1200, :0.1 1920x1200, :0.2 1050x1680 Maximum Screen Size: 1920x1680 Java package: openjdk-11-jre:amd64-11.0.7+10-3ubuntu1 WebStart package: icedtea-netx:amd64-1.8-0ubuntu8 Java ATK Wrapper package: libatk-wrapper-java:all-0.37.1-1 fonts-noto: fonts-noto:- VM arguments: [--add-reads=java.base=ALL-UNNAMED,java.desktop, --add-reads=java.desktop=ALL-UNNAMED,java.naming, --add-reads=java.naming=ALL-UNNAMED,java.desktop, --add-exports=java.desktop/sun.awt=ALL-UNNAMED,java.desktop, --add-exports=java.desktop/javax.jnlp=ALL-UNNAMED,java.desktop, --add-exports=java.base/com.sun.net.ssl.internal.ssl=ALL-UNNAMED,java.desktop, --add-exports=java.base/sun.net.www.protocol.jar=ALL-UNNAMED,java.desktop, --add-exports=java.base/sun.security.action=ALL-UNNAMED,java.desktop, --add-exports=java.base/sun.security.provider=ALL-UNNAMED,java.desktop, --add-exports=java.base/sun.security.util=ALL-UNNAMED,java.desktop, --add-exports=java.base/sun.security.validator=ALL-UNNAMED,java.desktop, --add-exports=java.base/sun.security.x509=ALL-UNNAMED,java.desktop, --add-exports=java.base/jdk.internal.util.jar=ALL-UNNAMED,java.desktop, --add-exports=java.base/sun.net.www.protocol.http=ALL-UNNAMED,java.desktop, --add-exports=java.desktop/sun.awt.X11=ALL-UNNAMED,java.desktop, --add-exports=java.desktop/sun.applet=ALL-UNNAMED,java.desktop, --add-exports=java.desktop/sun.applet=ALL-UNNAMED,jdk.jsobject, --add-exports=java.naming/com.sun.jndi.toolkit.url=ALL-UNNAMED,java.desktop, -Dicedtea-web.bin.name=javaws, -Dicedtea-web.bin.location=/usr/lib/icedtea-web/bin/javaws] Dataset consistency test: No problems found Plugins: + apache-commons (35362) + ejml (35313) + geotools + jaxb (35092) + jts (35122) + opendata (35405) + utilsplugin2 (35405) Last errors/warnings: - E: org.openstreetmap.josm.plugins.PluginException: An error occurred in plugin geotools. Cause: java.lang.reflect.InvocationTargetException. Cause: java.lang.NoClassDefFoundError: javax/sql/DataSource. Cause: java.lang.ClassNotFoundException: javax.sql.DataSource - W: Disable plugin - Could not load plugin 'geotools'. Delete from preferences? - E: <josm.userdata>/plugins/opendata/resources/org/openstreetmap/josm/plugins/opendata/modules/fr/datagouvfr/datasets/agriculture/RegistreParcellaire.mapcss (No such file or directory) - E: Handled by bug report queue: java.lang.NoClassDefFoundError: Could not initialize class org.geotools.referencing.CRS - W: Warning - <html>JOSM could not find information about the following plugins:<ul><li>jaxb</li><li>utilsplugin2</li><li>apache-commons</li><li>geotools</li><li>opendata</li><li>jts</li><li>ejml</li></ul>The plugins are not going to be loaded.</html> === REPORTED CRASH DATA === BugReportExceptionHandler#handleException: No data collected. Warning issued by: BugReportExceptionHandler#handleException === STACK TRACE === Thread: main-worker-0 (306) of JOSM java.lang.NoClassDefFoundError: Could not initialize class org.geotools.referencing.CRS at org.openstreetmap.josm.plugins.opendata.core.io.geographic.GeographicReader.<clinit>(GeographicReader.java:80) 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:120) 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:98) at org.openstreetmap.josm.actions.OpenFileAction$OpenFileTask.importData(OpenFileAction.java:369) at org.openstreetmap.josm.actions.OpenFileAction$OpenFileTask.realRun(OpenFileAction.java:319) 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:515) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:834)
Attachments (0)
Change History (2)
comment:1 by , 5 years ago
Component: | Core → Plugin geotools |
---|---|
Owner: | changed from | to
comment:2 by , 3 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Closed as duplicate of #19525.