From: Leoze O. <le...@gm...> - 2012-01-25 13:29:27
|
Dears all, I am trying to update an application using geotools 262 to geotools 274 without maven (oops). This application is using database postgresql/postgis. (updating postgres 8.3 to 9.1 and postgis to 1.5 too) I m facing something strange (for me!): java.lang.NullPointerException at org.geotools.swing.JMapPane.setTransforms(JMapPane.java:1114) at org.geotools.swing.JMapPane.doSetDisplayArea(JMapPane.java:607) at org.geotools.swing.JMapPane.doSetMapContext(JMapPane.java:505) at org.geotools.swing.JMapPane.setMapContext(JMapPane.java:472) Trying to understand (a little), it looks like gt have problem to known display area from data. Looking at postgresql log: 2012-01-25 13:18:30 GMT ERROR LWGEOM_estimated_extent: couldn't locate table within current schema 2012-01-25 13:18:30 GMT STATEMENT select AsText(force_2d(Envelope(ST_Estimated_Extent('fgeom', 'sshared', 'the_geom')))) I found related (?) opened tickets: http://trac.osgeo.org/postgis/ticket/877 http://trac.osgeo.org/postgis/ticket/510 Well... I am stucking (as always :/ ).... I can't understand why I can update to pg9.1/postgis1.5 with gt 262 and have problem with gt274. Any pointers welcome... Thx, Regards, Lee |