Opened 10 years ago
Closed 10 years ago
#11125 closed defect (worksforme)
opendata and geotools plugins to open a shape file
Reported by: | Owned by: | Don-vip | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Plugin opendata | Version: | tested |
Keywords: | geotools opendata shp shapefile | Cc: |
Description
What steps will reproduce the problem?
- Install opendata and geotools plugins
- Try to open a shape file
- Error about a not find method
What is the expected result?
Open a shapefile with JOSM
What happens instead?
I have the an error about the getDefaultValue() of Param class not founded
Please provide any additional information below. Attach a screenshot if possible.
Repository Root: http://josm.openstreetmap.de/svn Build-Date: 2015-02-01 02:33:54 Last Changed Author: Don-vip Revision: 7995 Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Relative URL: ^/trunk URL: http://josm.openstreetmap.de/svn/trunk Last Changed Date: 2015-01-31 15:17:59 +0100 (Sat, 31 Jan 2015) Last Changed Rev: 7995 Identification: JOSM/1.5 (7995 en) Windows 7 64-Bit Memory Usage: 982 MB / 982 MB (695 MB allocated, but free) Java version: 1.7.0_60, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM VM arguments: [-Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n, -Djava.util.Arrays.useLegacyMergeSort=true] Plugins: - ImportImagePlugin - geotools (30892) - jts (30892) - opendata (30982) - utilsplugin2 Last errors/warnings: - E: org.openstreetmap.josm.io.IllegalDataException: java.io.IOException: java.lang.NoSuchMethodError: org.geotools.data.DataAccessFactory$Param.getDefaultValue()Ljava/lang/Object;. Cause: java.io.IOException: java.lang.NoSuchMethodError: org.geotools.data.DataAccessFactory$Param.getDefaultValue()Ljava/lang/Object;. Cause: java.lang.NoSuchMethodError: org.geotools.data.DataAccessFactory$Param.getDefaultValue()Ljava/lang/Object;
Attachments (1)
Change History (8)
comment:1 by , 10 years ago
Owner: | changed from | to
---|---|
Status: | new → needinfo |
comment:2 by , 10 years ago
Component: | Core → Plugin opendata |
---|---|
Keywords: | shp shapefile added |
comment:3 by , 10 years ago
Yes, the size is correct.
In attach you can find a test shape file that I used to try the plugin.
Thanks,
Irene
comment:4 by , 10 years ago
Owner: | changed from | to
---|---|
Status: | needinfo → new |
comment:5 by , 10 years ago
Owner: | changed from | to
---|---|
Status: | new → needinfo |
Still cannot reproduce, your file opens fine.
Can you please try the following:
- update to latest Java (7u76 or 8u31)
- uninstall ImportImagePlugin
- force an update of all other plugins
and see if it improves the situation? I have no clue right now :(
comment:6 by , 10 years ago
Owner: | changed from | to
---|---|
Status: | needinfo → new |
I have removed the ImportImagePlugin and now I am able to open shape files!
Thanks for your support!
Irene
comment:7 by , 10 years ago
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Strange, other users are able to open shapefiles without problem.
Can you please check that the geotools plugin jar has been correctly downloaded? This file should have a size of 12275kb:
%APPDATA%\Roaming\JOSM\plugins\geotools.jar
If yes, could it be possible for you to attach a shapefile sample that causes the problem? Or give a link to it?