I switched to geotools 2.2.0 and continue to get a java.lang.NullPointerException. Here is what I have on the classpath:
gt2-api-2.2.0.jar jts-1.7.1.jar gt2-main-2.2.0.jar postgresql-8.1-407.jdbc3.jar gt2-shapefile-2.2.0.jar geoapi-2.0.jar I have also included the following with the same results (java.lang.NullPointerException): gt2-postgis-2.2.0.jar postgis-driver-1.0.jar Am I missing something? Are you using a different postgresql jdbc driver? cheers -- Dan Antonio Grassi wrote: > I tried that code today, but using geotools 2.2, with no namespace nor > schema parameters. The returned pgDataStore value was null when not > having the postgresql jdbc driver in the classpath. After adding it, > it worked fine. Maybe it has something to do with your case. > > Bye, > Antonio > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > ------------------------------------------------------------------------ > > _______________________________________________ > Geotools-gt2-users mailing list > Geotools-gt2-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Geotools-gt2-users mailing list Geotools-gt2-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users