Hello, I'm playing around with Neo4j and Neo4j spatial. I would like to 
Import a OSM file and save it in the database. Now I have the following 
Problem: the Import Fails quite in the end and I get the following 
Exception:



Loaded 147 nodes

Loaded 10 ways

Loaded 8 relations

Boschetsrieder.osm[3290]: When processing the relations, there were 585 
missing members

Boschetsrieder.osm[3290]: info | Elapsed time in seconds: 2.863

Geometry statistics for 3 geometry types:

Exception in thread "main" java.lang.AbstractMethodError: 
org.geotools.metadata.iso.citation.ContactImpl.getOnlineResource()Lorg/opengis/metadata/citation/OnlineResource;

at sun.reflect.NativeMethodAccessorImpl.invoke0(*Native Method*)

at sun.reflect.NativeMethodAccessorImpl.invoke(
*NativeMethodAccessorImpl.java:62*)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(
*DelegatingMethodAccessorImpl.java:43*)

at java.lang.reflect.Method.invoke(*Method.java:483*)

at org.geotools.metadata.PropertyAccessor.get(*PropertyAccessor.java:339*)

at org.geotools.metadata.PropertyAccessor.hashCode(
*PropertyAccessor.java:521*)

at org.geotools.metadata.MetadataStandard.hashCode(
*MetadataStandard.java:300*)

at org.geotools.metadata.AbstractMetadata.hashCode(
*AbstractMetadata.java:186*)

at org.geotools.metadata.PropertyAccessor.hashCode(
*PropertyAccessor.java:523*)

at org.geotools.metadata.MetadataStandard.hashCode(
*MetadataStandard.java:300*)

at org.geotools.metadata.AbstractMetadata.hashCode(
*AbstractMetadata.java:186*)

at java.util.HashMap.hash(*HashMap.java:338*)

at java.util.HashMap.put(*HashMap.java:611*)

at java.util.HashSet.add(*HashSet.java:219*)

at org.geotools.util.CheckedHashSet.add(*CheckedHashSet.java:120*)

at org.geotools.metadata.iso.citation.CitationImpl.<init>(
*CitationImpl.java:195*)

at org.geotools.metadata.iso.citation.Citations.<clinit>(*Citations.java:90*
)

at org.geotools.referencing.datum.DefaultGeodeticDatum.<clinit>(
*DefaultGeodeticDatum.java:71*)

at org.geotools.referencing.crs.DefaultGeographicCRS.<clinit>(
*DefaultGeographicCRS.java:92*)

at org.neo4j.gis.spatial.SpatialDatabaseService.<clinit>(
*SpatialDatabaseService.java:444*)

at org.neo4j.gis.spatial.osm.OSMImporter$StatsManager.dumpGeomStats(
*OSMImporter.java:210*)

at org.neo4j.gis.spatial.osm.OSMImporter.importFile(*OSMImporter.java:2037*)

at org.neo4j.gis.spatial.osm.OSMImporter.importFile(*OSMImporter.java:1765*)

at org.neo4j.gis.spatial.osm.OSMImporter.importFile(*OSMImporter.java:1752*)

at testSpatial.Test_osm_import.createFromOsm(*Test_osm_import.java:49*)

at testSpatial.Test_osm_import.main(*Test_osm_import.java:35*)


I'm new to all this (also Java), but as I understand it, the importer is 
trying to call some method which is abstract  and of course it Fails, 
because there is no possibility to call such methods. But now I'm confused, 
because I don't know if there is a possibility to somehow get around this 
exception and continue the proceed the program execution... Does somebody 
have any ideas? I would be really happy to get some tips..

-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to