com.databasepreservation.model.exception.ModuleException: SQL error while connecting


Samebug tips

Try downgrading PostgresSQL server to 9.5 or update your PostgresSQL driver to 9.4-1211 with the following command: <postgresql.version>9.4.1211</postgresql.version>


7 months ago
Expert tip

Solutions on the web

Solution icon of github
SQL error while connecting

Solution icon of github
via GitHub by BorisDomajnko
, 10 months ago
SQL error while connecting

Solution icon of github
SQL error while connecting

Solution icon of github
SQL error while connecting

Solution icon of github
SQL error while connecting

Solution icon of github
SQL error while connecting

Solution icon of github
SQL error while connecting

Solution icon of github
SQL error while connecting

Stack trace

com.databasepreservation.model.exception.ModuleException: SQL error while connecting
	at com.databasepreservation.modules.jdbc.in.JDBCImportModule.getDatabase(JDBCImportModule.java:1565)
	at com.databasepreservation.Main.run(Main.java:126)
	at com.databasepreservation.Main.internal_main(Main.java:84)
	at com.databasepreservation.Main.main(Main.java:62)
Caused by: org.postgresql.util.PSQLException: ERROR: relation "sch_testa.users" does not exist
  Position: 22
	at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2284)
	at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2003)
	at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:200)
	at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:424)
	at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:321)
	at org.postgresql.jdbc.PgStatement.executeQuery(PgStatement.java:284)
	at com.databasepreservation.modules.postgreSql.in.PostgreSQLJDBCImportModule.getTableRawData(PostgreSQLJDBCImportModule.java:168)
	at com.databasepreservation.modules.jdbc.in.JDBCImportModule.getDatabase(JDBCImportModule.java:1538)
	... 3 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

2 times, 10 months ago
Samebug visitor profile picture
Unknown user
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
11 times, 1 week ago
4 times, 1 year ago
98 more bugmates