PostgisDataStoreTest fails

Description

Testsuite: org.geotools.data.postgis.PostgisDataStoreTest
Tests run: 8, Failures: 0, Errors: 1, Time elapsed: 23,357 sec

Testcase: testFeatureTypes took 4,314 sec
Testcase: testGetReader took 4,179 sec
Testcase: testFilter took 2,207 sec
Testcase: testGeomFilter took 2,209 sec
Testcase: testGetFeatureWriter took 2,446 sec
Testcase: testBadTypeName took 1,918 sec
Testcase: testGetFeaturesWriterModify took 3,139 sec
Testcase: testGetFeaturesWriterAdd took 2,923 sec
Caused an ERROR
SQL Exception writing geometry column
org.geotools.data.DataSourceException: SQL Exception writing geometry column
at org.geotools.data.postgis.PostgisDataStore$PostgisFeatureWriter.doInsert(PostgisDataStore.java:550)
at org.geotools.data.jdbc.JDBCDataStore$JDBCFeatureWriter.write(JDBCDataStore.java:1768)
at org.geotools.data.InProcessLockingManager$1.write(InProcessLockingManager.java:305)
at org.geotools.data.postgis.PostgisDataStoreTest.testGetFeaturesWriterAdd(PostgisDataStoreTest.java:366)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
Caused by: java.sql.SQLException: ERROR: Cannot assign to system attribute 'oid'

at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:131)
at org.postgresql.jdbc1.AbstractJdbc1Connection.ExecSQL(AbstractJdbc1Connection.java:505)
at org.postgresql.jdbc1.AbstractJdbc1Statement.execute(AbstractJdbc1Statement.java:320)
at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:48)
at org.postgresql.jdbc1.AbstractJdbc1Statement.executeUpdate(AbstractJdbc1Statement.java:197)
at org.postgresql.jdbc1.AbstractJdbc1Statement.executeUpdate(AbstractJdbc1Statement.java:183)
at org.geotools.data.postgis.PostgisDataStore$PostgisFeatureWriter.doInsert(PostgisDataStore.java:542)
... 17 more

Testcase: testGetFeaturesWriterAdd

Environment

None

Assignee

Unassigned

Reporter

codehaus

Triage

None

Components

Priority

Medium
Configure