java.sql.BatchUpdateException

Batch entry 0 insert into CONTENT_PERM (CP_TYPE, USERNAME, GROUPNAME, CPS_ID, CREATOR, CREATIONDATE, LASTMODIFIER, LASTMODDATE, ID) values ('Edit', NULL, 'administrators', 34701313, 'ff808081545c405b01545c9341d5002d', '2015-09-07 10:44:33.000000 +07:00:00', NULL, '2015-09-07 10:44:33.000000 +07:00:00', 34832386) was aborted. Call getNextException to see the cause. 2016-04-29 16:23:34.952900500 at org.postgresql.jdbc2.AbstractJdbc2Statement$BatchResultHandler.handleError(AbstractJdbc2Statement.java:2707) 2016-04-29 16:23:34.952904500 at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1912) 2016-04-29 16:23:34.952904500 at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:338) 2016-04-29 16:23:34.952905500 at org.postgresql.jdbc2.AbstractJdbc2Statement.executeBatch(AbstractJdbc2Statement.java:2888) 2016-04-29 16:23:34.952905500 at sun.reflect.GeneratedMethodAccessor309.invoke(Unknown Source) 2016-04-29 16:23:34.952910500 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

Solutions on the web1059

  • via Atlassian JIRA by Shannon Mackie [Atlassian], 1 year ago
    Batch entry 0 insert into CONTENT_PERM (CP_TYPE, USERNAME, GROUPNAME, CPS_ID, CREATOR, CREATIONDATE, LASTMODIFIER, LASTMODDATE, ID) values ('Edit', NULL, 'administrators', 34701313, 'ff808081545c405b01545c9341d5002d', '2015-09-07 10:44:33.000000 +07
  • via Atlassian JIRA by Shannon Mackie [Atlassian], 11 months ago
    Batch entry 0 insert into CONTENT_PERM (CP_TYPE, USERNAME, GROUPNAME, CPS_ID, CREATOR, CREATIONDATE, LASTMODIFIER, LASTMODDATE, ID) values ('Edit', NULL, 'administrators', 34701313, 'ff808081545c405b01545c9341d5002d', '2015-09-07 10:44:33.000000 +07
  • Batch entry 0 INSERT INTO users (email,password,login) VALUES ('myemail@gmail.com','test','sbowman') RETURNING * was aborted.  Call getNextException to see the cause. at org.postgresql.jdbc2.AbstractJdbc2Statement$BatchResultHandler.handleError
  • Stack trace

    • java.sql.BatchUpdateException: Batch entry 0 insert into CONTENT_PERM (CP_TYPE, USERNAME, GROUPNAME, CPS_ID, CREATOR, CREATIONDATE, LASTMODIFIER, LASTMODDATE, ID) values ('Edit', NULL, 'administrators', 34701313, 'ff808081545c405b01545c9341d5002d', '2015-09-07 10:44:33.000000 +07:00:00', NULL, '2015-09-07 10:44:33.000000 +07:00:00', 34832386) was aborted. Call getNextException to see the cause. 2016-04-29 16:23:34.952900500 at org.postgresql.jdbc2.AbstractJdbc2Statement$BatchResultHandler.handleError(AbstractJdbc2Statement.java:2707) 2016-04-29 16:23:34.952904500 at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1912) 2016-04-29 16:23:34.952904500 at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:338) 2016-04-29 16:23:34.952905500 at org.postgresql.jdbc2.AbstractJdbc2Statement.executeBatch(AbstractJdbc2Statement.java:2888) 2016-04-29 16:23:34.952905500 at sun.reflect.GeneratedMethodAccessor309.invoke(Unknown Source) 2016-04-29 16:23:34.952910500 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.github.gquintana.metrics.proxy.MethodInvocation.proceed(MethodInvocation.java:75) at com.github.gquintana.metrics.sql.AbstractStatementProxyHandler.invoke(AbstractStatementProxyHandler.java:64)

    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

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.