Hi Hans, This error to me means that you have a version mismatch of some of the geotools libs, or some classpath issues with old or duplicate libraries around.
Which version of geotools are you running with? Are you running from sources, or from the release binaries. It would also be useful to know how you are constructing the classpath. -Justin Hans Rupp wrote: > Hi, > > i'm new to geotools and started working through the userguide. > everything went fine until i got to the > postgislab. i've tried the code from userguide as well as the code from > the demo directory of the source distribution, but always get the > following error: > > 06.05.2009 14:52:29 org.geotools.data.DataAccessFinder getDataStore > WARNUNG: Problem asking Postgis if it can process > request:java.lang.AbstractMethodError: > org.geotools.data.AbstractDataStoreFactory.getParametersInfo()[Lorg/geotools/data/DataAccessFactory$Param; > java.lang.AbstractMethodError: > org.geotools.data.AbstractDataStoreFactory.getParametersInfo()[Lorg/geotools/data/DataAccessFactory$Param; > at > org.geotools.data.AbstractDataStoreFactory.canProcess(AbstractDataStoreFactory.java:115) > at > org.geotools.data.postgis.PostgisDataStoreFactory.canProcess(PostgisDataStoreFactory.java:138) > at > org.geotools.data.DataAccessFinder.getDataStore(DataAccessFinder.java:108) > at > org.geotools.data.DataStoreFinder.getDataStore(DataStoreFinder.java:87) > at org.geotools.demo.PostGISLab.getDatabase(PostGISLab.java:87) > at org.geotools.demo.PostGISLab.main(PostGISLab.java:52) > Exception in thread "main" java.lang.NullPointerException > at org.geotools.demo.PostGISLab.main(PostGISLab.java:53) > > and i have no idea how to debug the code nor how to fix the error. i'm > working with eclipse3.3 on > winxp-machine. > > any hints, advices please? > > thanks > > hans > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your > production scanning environment may not be a perfect world - but thanks to > Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 > Series Scanner you'll get full speed at 300 dpi even with all image > processing features enabled. http://p.sf.net/sfu/kodak-com > > > ------------------------------------------------------------------------ > > _______________________________________________ > Geotools-gt2-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users -- Justin Deoliveira OpenGeo - http://opengeo.org Enterprise support for open source geospatial. ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
