Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,
    Expert tip

    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>

  2. ,
    via stackoverflow.com by Unknown author

    Upgrade the database driver to the latest and check.

    <dependency>
        <groupId>org.postgresql</groupId>
        <artifactId>postgresql</artifactId>
        <version>9.3-1101-jdbc41</version>
    </dependency>
    

    Replace version with the latest driver version.

Solutions on the web

via JIRA by Rafael Chaves, 1 year ago
ERROR: cannot execute UPDATE in a read-only transaction
via JIRA by Rafael Chaves, 2 years ago
ERROR: cannot execute UPDATE in a read-only transaction
via adempiere by vpj-cd
, 1 year ago
ERROR: column "entitytype" cannot be cast to type "pg\_catalog.numeric"; State=42804; ErrorCode=0
via Google Groups by Michael Paesold, 8 months ago
ERROR: syntax error at or near "$2"
via Google Groups by Csaba Nagy, 8 months ago
via Stack Overflow by Zsolt J&#225;nos
, 7 months ago
ERROR: syntax error at or near "$2" Position: 177
org.postgresql.util.PSQLException: ERROR: cannot execute UPDATE in a read-only transaction	at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2103)	at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1836)	at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:257)	at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:512)	at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:374)	at org.postgresql.jdbc2.AbstractJdbc2Statement.executeUpdate(AbstractJdbc2Statement.java:302)	at liquibase.executor.jvm.JdbcExecutor$1UpdateStatementCallback.doInStatement(JdbcExecutor.java:231)	at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:55)	at liquibase.executor.jvm.JdbcExecutor.update(JdbcExecutor.java:240)	at liquibase.executor.jvm.JdbcExecutor.update(JdbcExecutor.java:214)	at liquibase.lockservice.StandardLockService.releaseLock(StandardLockService.java:232)	at liquibase.Liquibase.update(Liquibase.java:264)	at liquibase.Liquibase.update(Liquibase.java:240)