Modify

Opened 10 years ago

Closed 10 years ago

#11125 closed defect (worksforme)

opendata and geotools plugins to open a shape file

Reported by: irene.pucci@… 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?

  1. Install opendata and geotools plugins
  2. Try to open a shape file
  3. 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)

test.rar (645 bytes ) - added by irene.pucci@… 10 years ago.
test shape file

Download all attachments as: .zip

Change History (8)

comment:1 by Don-vip, 10 years ago

Owner: changed from team to irene.pucci@…
Status: newneedinfo

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?

comment:2 by Don-vip, 10 years ago

Component: CorePlugin opendata
Keywords: shp shapefile added

by irene.pucci@…, 10 years ago

Attachment: test.rar added

test shape file

comment:3 by irene.pucci@…, 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 skyper, 10 years ago

Owner: changed from irene.pucci@… to Don-vip
Status: needinfonew

comment:5 by Don-vip, 10 years ago

Owner: changed from Don-vip to irene.pucci@…
Status: newneedinfo

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 irene.pucci@…, 10 years ago

Owner: changed from irene.pucci@… to Don-vip
Status: needinfonew

I have removed the ImportImagePlugin and now I am able to open shape files!

Thanks for your support!

Irene

comment:7 by Don-vip, 10 years ago

Resolution: worksforme
Status: newclosed

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.