Hi list!
I've installed my application/PostgreSQL/PostGIS on a new computer.
Everything works well but the rendering of geospatial data. I've used a simple 
maprenderer (shape), where I've changed the input from shape to PostGIS tables.
This has worked well, but now when I've installed everything on a new computer 
(Windows 10, it was Windows 7 before) I only get the exceptions below.
Postgres 11 (same as before).
Postgis 2.5 (same as before).
Postgis works well, I can do all spatial (ST_)funktions as usual.
So if you have any suggestions, please share!
Kind regards,
Paul


nov. 10, 2020 8:48:00 FM org.geotools.renderer.lite.StreamingRenderer 
fireErrorEvent
SEVERE: java.io.IOException
java.lang.RuntimeException: java.io.IOException
            at 
org.geotools.data.store.ContentFeatureCollection.features(ContentFeatureCollection.java:166)
            at 
org.geotools.data.store.ContentFeatureCollection.features(ContentFeatureCollection.java:53)
            at 
org.geotools.renderer.lite.StreamingRenderer.drawPlain(StreamingRenderer.java:2413)
            at 
org.geotools.renderer.lite.StreamingRenderer.processStylers(StreamingRenderer.java:1999)
            at 
org.geotools.renderer.lite.StreamingRenderer.paint(StreamingRenderer.java:861)
            at org.geotools.swing.RenderingTask.call(RenderingTask.java:102)
            at org.geotools.swing.RenderingTask.call(RenderingTask.java:39)
            at 
java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
            at 
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
            at 
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
            at java.base/java.lang.Thread.run(Thread.java:832)
Caused by: java.io.IOException
            at 
org.geotools.jdbc.JDBCFeatureSource.getReaderInternal(JDBCFeatureSource.java:629)
            at 
org.geotools.jdbc.JDBCFeatureStore.getReaderInternal(JDBCFeatureStore.java:220)
            at 
org.geotools.data.store.ContentFeatureSource.getReader(ContentFeatureSource.java:610)
            at 
org.geotools.data.store.ContentFeatureCollection.features(ContentFeatureCollection.java:164)
            ... 10 more
Caused by: java.sql.SQLException: org.postgresql.util.PSQLException: FEL: parse 
error - invalid geometry (pgjdbc: autodetected server-encoding to be 
ISO-8859-1, if the message is not readable, please check database logs and/or 
host, port, dbname, user, password, pg_hba.conf)
  Hint: "POLYGON ((â^" <-- parse error at position 12 within geometry
            at 
org.geotools.jdbc.JDBCFeatureReader.runQuery(JDBCFeatureReader.java:258)
            at 
org.geotools.jdbc.JDBCFeatureReader.<init>(JDBCFeatureReader.java:143)
            at 
org.geotools.jdbc.JDBCFeatureSource.getReaderInternal(JDBCFeatureSource.java:599)
            ... 13 more
Caused by: org.postgresql.util.PSQLException: FEL: parse error - invalid 
geometry (pgjdbc: autodetected server-encoding to be ISO-8859-1, if the message 
is not readable, please check database logs and/or host, port, dbname, user, 
password, pg_hba.conf)
  Hint: "POLYGON ((â^" <-- parse error at position 12 within geometry
            at 
org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2433)
            at 
org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2178)
            at 
org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:306)
            at 
org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:441)
            at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:365)
            at 
org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:307)
            at 
org.postgresql.jdbc.PgStatement.executeCachedSql(PgStatement.java:293)
            at 
org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:270)
            at 
org.postgresql.jdbc.PgStatement.executeQuery(PgStatement.java:224)
            at 
org.apache.commons.dbcp.DelegatingStatement.executeQuery(DelegatingStatement.java:208)
            at 
org.apache.commons.dbcp.DelegatingStatement.executeQuery(DelegatingStatement.java:208)
            at 
org.geotools.jdbc.JDBCFeatureReader.lambda$new$0(JDBCFeatureReader.java:143)
            at 
org.geotools.jdbc.JDBCFeatureReader.runQuery(JDBCFeatureReader.java:247)
            ... 15 more
_______________________________________________
GeoTools-GT2-Users mailing list
GeoTools-GT2-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to