Modify ↓
Opened 7 years ago
Closed 7 years ago
#15689 closed defect (needinfo)
bug opening a shp with opendata plugin
Reported by: | anonymous | Owned by: | anonymous |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Plugin opendata | Version: | tested |
Keywords: | template_report | Cc: |
Description
What steps will reproduce the problem?
- Opening a shapefile using opendata plugin, with latest version of JOSM 13170
What is the expected result?
shapefile opens
What happens instead?
error message and shp doesn't appear
Please provide any additional information below. Attach a screenshot if possible.
URL:http://josm.openstreetmap.de/svn/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2017-11-26 14:31:59 +0100 (Sun, 26 Nov 2017) Build-Date:2017-11-26 13:34:54 Revision:13170 Relative:URL: ^/trunk Identification: JOSM/1.5 (13170 en) Windows 10 64-Bit OS Build number: Windows 10 Pro 1607 (14393) Memory Usage: 270 MB / 910 MB (23 MB allocated, but free) Java version: 1.8.0_151-b12, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM Screen: \Display0 1366x768 Maximum Screen Size: 1366x768 Dataset consistency test: No problems found Plugins: + apache-commons (33668) + buildings_tools (33735) + editgpx (33782) + ejml (32680) + geotools + jts (32699) + mbtiles (a3e491d) + opendata (33791) + terracer (33839) + todo (30303) + utilsplugin2 (33742) Last errors/warnings: - E: java.net.UnknownHostException: api.openstreetmap.org - W: org.openstreetmap.josm.io.OsmTransferException: Could not connect to the OSM server. Please check your internet connection.. Cause: java.net.UnknownHostException: api.openstreetmap.org - E: Handled by bug report queue: java.lang.NoClassDefFoundError: org/opengis/referencing/NoSuchAuthorityCodeException. Cause: java.lang.ClassNotFoundException: org.opengis.referencing.NoSuchAuthorityCodeException - W: Warning - <html>JOSM could not find information about the following plugins:<ul><li>todo</li><li>editgpx</li><li>utilsplugin2</li><li>apache-commons</li><li>geotools</li><li>mbtiles</li><li>opendata</li><li>jts</li><li>buildings_tools</li><li>terracer</li><li>ejml</li></ul>The plugins are not going to be loaded.</html> - W: java.util.zip.ZipException: error in opening zip file - W: PluginException: : org.openstreetmap.josm.plugins.PluginException: Invalid jar file '<josm.pref>\plugins\DirectUpload.jar.new' - W: Failed to scan file 'DirectUpload.jar.new' for plugin information. Skipping. - W: java.util.zip.ZipException: error in opening zip file - W: PluginException: : org.openstreetmap.josm.plugins.PluginException: Invalid jar file '<josm.pref>\plugins\geotools.jar.new' - 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 (45) of main java.lang.NoClassDefFoundError: org/opengis/referencing/NoSuchAuthorityCodeException at org.openstreetmap.josm.plugins.opendata.core.io.geographic.ShpImporter.parseDataSet(ShpImporter.java:29) at org.openstreetmap.josm.gui.io.importexport.OsmImporter.loadLayer(OsmImporter.java:121) at org.openstreetmap.josm.gui.io.importexport.OsmImporter.importData(OsmImporter.java:98) at org.openstreetmap.josm.plugins.opendata.core.io.AbstractImporter.importData(AbstractImporter.java:55) at org.openstreetmap.josm.gui.io.importexport.FileImporter.importDataHandleExceptions(FileImporter.java:95) at org.openstreetmap.josm.actions.OpenFileAction$OpenFileTask.importData(OpenFileAction.java:361) at org.openstreetmap.josm.actions.OpenFileAction$OpenFileTask.realRun(OpenFileAction.java:314) at org.openstreetmap.josm.gui.PleaseWaitRunnable.doRealRun(PleaseWaitRunnable.java:95) at org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:143) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.ClassNotFoundException: org.opengis.referencing.NoSuchAuthorityCodeException at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at org.openstreetmap.josm.plugins.PluginClassLoader.loadClass(PluginClassLoader.java:73) at java.lang.ClassLoader.loadClass(Unknown Source) ... 14 more
Attachments (0)
Change History (2)
comment:1 by , 7 years ago
Owner: | changed from | to
---|---|
Status: | new → needinfo |
comment:2 by , 7 years ago
Resolution: | → needinfo |
---|---|
Status: | needinfo → closed |
Note:
See TracTickets
for help on using tickets.
The geotools plugin has not been downloaded correctly. Please try to delete
%APPDATA%\JOSM\plugins\geotools.jar
, update your plugins to download it, and try again.