org.postgresql.util.PSQLException: ERROR: OLD used in query that is not in a rule; State=42601; ErrorCode=0

adempiere | vpj-cd | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Error Create new Client

    adempiere | 1 decade ago | vpj-cd
    org.postgresql.util.PSQLException: ERROR: OLD used in query that is not in a rule; State=42601; ErrorCode=0
  2. 0

    Indexing: index all causes org.postgresql.util.PSQLException: ERROR: deadlock detected

    GitHub | 2 years ago | pdurbin
    org.postgresql.util.PSQLException: ERROR: deadlock detected Detail: Process 26300 waits for ShareLock on transaction 79290; blocked by process 26299. Process 26299 waits for ShareLock on transaction 79289; blocked by process 26300. Hint: See server log for query details. Error Code: 0 Call: UPDATE DVOBJECT SET PERMISSIONINDEXTIME = ? WHERE (ID = ?) bind => [2 parameters bound] Query: UpdateObjectQuery([Dataset id:9 ])
  3. 0

    Delete File: Can't delete a restricted file where access has been granted.

    GitHub | 2 years ago | kcondon
    org.postgresql.util.PSQLException: ERROR: update or delete on table "dvobject" violates foreign key constraint "fk_roleassignment_definitionpoint_id" on table "roleassignment" Detail: Key (id)=(275) is still referenced from table "roleassignment". Error Code: 0 Call: DELETE FROM DVOBJECT WHERE (ID = ?) bind => [1 parameter bound] Query: DeleteObjectQuery([DataFile id:275 name:null])
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Code: adjust createAuthenticatedUser method to reject non unique usernames

    GitHub | 2 years ago | scolapasta
    org.postgresql.util.PSQLException: ERROR: duplicate key value violates unique constraint "unq_authenticateduserlookup_0" Detail: Key (persistentuserid, authenticationproviderid)=(builtin, builtin) already exists. Error Code: 0 Call: INSERT INTO AUTHENTICATEDUSERLOOKUP (AUTHENTICATIONPROVIDERID, PERSISTENTUSERID, AUTHENTICATEDUSER_ID) VALUES (?, ?, ?) bind => [3 parameters bound] Query: InsertObjectQuery(edu.harvard.iq.dataverse.authorization.AuthenticatedUserLookup@1aac669)
  6. 0

    Long dataverse description throws exception when less than 1000 char (still 14 char available)

    GitHub | 3 years ago | eaquigley
    org.postgresql.util.PSQLException: ERROR: value too long for type character varying(255) Error Code: 0 Call: UPDATE DVOBJECT SET DESCRIPTION = ? WHERE (ID = ?) bind => [2 parameters bound] Query: UpdateObjectQuery([Dataverse id:49 name:JackSparrow])

  1. silex 5 times, last 5 months ago
20 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. org.postgresql.util.PSQLException

    ERROR: OLD used in query that is not in a rule; State=42601; ErrorCode=0

    at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse()
  2. PostgreSQL JDBC Driver
    AbstractJdbc2Statement.executeUpdate
    1. org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:1548)
    2. org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1316)
    3. org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:191)
    4. org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:452)
    5. org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:337)
    6. org.postgresql.jdbc2.AbstractJdbc2Statement.executeUpdate(AbstractJdbc2Statement.java:283)
    6 frames
  3. Java RT
    Method.invoke
    1. sun.reflect.GeneratedMethodAccessor84.invoke(Unknown Source)
    2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    3. java.lang.reflect.Method.invoke(Method.java:597)
    3 frames
  4. PostgreSQL JDBC Driver
    AbstractJdbc23PooledConnection$StatementHandler.invoke
    1. org.postgresql.ds.jdbc23.AbstractJdbc23PooledConnection$StatementHandler.invoke(AbstractJdbc23PooledConnection.java:471)
    1 frame
  5. Unknown
    $Proxy48.executeUpdate
    1. $Proxy48.executeUpdate(Unknown Source)
    1 frame