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)

Atlassian JIRA | Shannon Mackie [Atlassian] | 7 months ago
  1. 0

    h3. Summary When importing a space into Confluence that has page restrictions that include both {{confluence-administrators}} and {{administrators}} it will fail with an error: {noformat}2016-04-29 16:23:34.952894500 Caused by: 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) 2016-04-29 16:23:34.952911500 at java.lang.reflect.Method.invoke(Method.java:498) 2016-04-29 16:23:34.952911500 at com.github.gquintana.metrics.proxy.MethodInvocation.proceed(MethodInvocation.java:75) 2016-04-29 16:23:34.952911500 at com.github.gquintana.metrics.sql.AbstractStatementProxyHandler.invoke(AbstractStatementProxyHandler.java:64) 2016-04-29 16:23:34.952916500 at com.github.gquintana.metrics.proxy.ProxyHandler.invoke(ProxyHandler.java:73) 2016-04-29 16:23:34.952916500 at com.sun.proxy.$Proxy513.executeBatch(Unknown Source) 2016-04-29 16:23:34.952916500 at org.apache.tomcat.dbcp.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:297) 2016-04-29 16:23:34.952917500 at org.apache.tomcat.dbcp.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:297) 2016-04-29 16:23:34.952921500 at org.apache.tomcat.dbcp.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:297) 2016-04-29 16:23:34.952921500 at net.sf.hibernate.impl.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:54) 2016-04-29 16:23:34.952922500 at net.sf.hibernate.impl.BatcherImpl.executeBatch(BatcherImpl.java:128) 2016-04-29 16:23:34.952922500 ... 67 more 2016-04-29 16:23:34.952922500 caused by: 2016-04-29 16:23:34.952926500 org.postgresql.util.PSQLException: ERROR: duplicate key value violates unique constraint "cp_unique_group"{noformat} h3. Environment * Confluence Cloud 1000.71.0 h3. Steps to Reproduce # Apply page restrictions to a page and include both groups, {{confluence-administrators}} and {{administrators}} # Export to XML with intent to reimport. # On another Confluence instance, import the space. h3. Expected Results Should ignore the permissions that were set and not cause an issue. h3. Actual Results Fails on this error mentioned above. h3.Workaround Remove the page restrictions for both groups first, then create the XML to import.

    Atlassian JIRA | 7 months ago | Shannon Mackie [Atlassian]
    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)
  2. 0

    h3. Summary When importing a space into Confluence that has page restrictions that include both {{confluence-administrators}} and {{administrators}} it will fail with an error: {noformat}2016-04-29 16:23:34.952894500 Caused by: 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) 2016-04-29 16:23:34.952911500 at java.lang.reflect.Method.invoke(Method.java:498) 2016-04-29 16:23:34.952911500 at com.github.gquintana.metrics.proxy.MethodInvocation.proceed(MethodInvocation.java:75) 2016-04-29 16:23:34.952911500 at com.github.gquintana.metrics.sql.AbstractStatementProxyHandler.invoke(AbstractStatementProxyHandler.java:64) 2016-04-29 16:23:34.952916500 at com.github.gquintana.metrics.proxy.ProxyHandler.invoke(ProxyHandler.java:73) 2016-04-29 16:23:34.952916500 at com.sun.proxy.$Proxy513.executeBatch(Unknown Source) 2016-04-29 16:23:34.952916500 at org.apache.tomcat.dbcp.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:297) 2016-04-29 16:23:34.952917500 at org.apache.tomcat.dbcp.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:297) 2016-04-29 16:23:34.952921500 at org.apache.tomcat.dbcp.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:297) 2016-04-29 16:23:34.952921500 at net.sf.hibernate.impl.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:54) 2016-04-29 16:23:34.952922500 at net.sf.hibernate.impl.BatcherImpl.executeBatch(BatcherImpl.java:128) 2016-04-29 16:23:34.952922500 ... 67 more 2016-04-29 16:23:34.952922500 caused by: 2016-04-29 16:23:34.952926500 org.postgresql.util.PSQLException: ERROR: duplicate key value violates unique constraint "cp_unique_group"{noformat} h3. Environment * Confluence Cloud 1000.71.0 h3. Steps to Reproduce # Apply page restrictions to a page and include both groups, {{confluence-administrators}} and {{administrators}} # Export to XML with intent to reimport. # On another Confluence instance, import the space. h3. Expected Results Should ignore the permissions that were set and not cause an issue. h3. Actual Results Fails on this error mentioned above. h3.Workaround Remove the page restrictions for both groups first, then create the XML to import.

    Atlassian JIRA | 7 months ago | Shannon Mackie [Atlassian]
    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)
  3. 0

    How to retrieve getNextException ? (Page 1) / Open Data Integration - Usage, Operation / Talend Community Forum

    talendforge.org | 1 year ago
    java.sql.BatchUpdateException: Batch entry 0 INSERT INTO ""xxxxxx" ("effectivefromdate","effectivetodate","branchidVALUES ('2014-11-09 04:55:14.305000 +05:30:00',NULL,11528,11536) was aborted. Call getNextException to see the cause.at org.postgresql.jdbc2.AbstractJdbc2Statement$BatchResultHandler.handleError(AbstractJdbc2Statement.java:2746)at org.postgresql.core.v3.QueryExecutorImpl$1.handleError(QueryExecutorImpl.java:45[statistics] disconnected
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Problem with executeBatch and "A result was returned when none was expected" - Grokbase

    grokbase.com | 1 year ago
    java.sql.BatchUpdateException: 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(AbstractJdbc2Statement.java:2586) at org.postgresql.jdbc2.AbstractJdbc2Statement$BatchResultHandler.handleResultRows(AbstractJdbc2Statement.java:2550) at org.postgresql.core.v3.QueryExecutorImpl$1.handleResultRows(QueryExecutorImpl.java:437) at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1747) at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:407) at org.postgresql.jdbc2.AbstractJdbc2Statement.executeBatch(AbstractJdbc2Statement.java:2725)
  6. 0

    I run xwiki on postgresql and see a lot of exceptions when storing documents. An example is posted below. A big problem in that stacktrace is that the ACTUAL error is not present in it! The actual error that occured can only be seen when getNextException is called on the original exception, and this is not part of the exception logging code. Because this info is not present it is hard to know what goes wrong... I know that this method of creating exceptions is idiotic but sadly enough it IS used by PostgreSQL. ---- Stack dump ---- Error number 3201 in 3: Exception while saving document Main.AanmakenUpdate Wrapped Exception: Could not execute JDBC batch update com.xpn.xwiki.XWikiException: Error number 3201 in 3: Exception while saving document Main.AanmakenUpdate Wrapped Exception: Could not execute JDBC batch update         at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.jav a:538)         at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:97)         at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:91)         at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1111)         at com.xpn.xwiki.web.SaveAction.save(SaveAction.java:120)         at com.xpn.xwiki.web.SaveAction.action(SaveAction.java:129)         at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:201)         at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProces sor.java:431)         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)         at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)         at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application FilterChain.java:252)         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh ain.java:173)         at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFi lter.java:117)         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application FilterChain.java:202)         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh ain.java:173)         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja va:213)         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja va:178)         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126 )         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105 )         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java :107)         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)         at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:199)         at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:282)         at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:754)         at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:684)         at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java :876)         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav a:684)         at java.lang.Thread.run(Thread.java:595)     Wrapped Exception:   java.sql.BatchUpdateException: Batch entry 0 insert into xwikircs (XWR_DATE, XWR_COMMENT, XWR_AUTHOR, XWR_DOCID, XWR_VERSION1, XWR_VERSION2) values (2008-10-13 09:38:49.000000 +02:00:00, , XWiki.lenzo, -1030818576, 4, 1) was aborted.  Call getNextException to see the cause.         at org.postgresql.jdbc2.AbstractJdbc2Statement$BatchResultHandler.handleError(A bstractJdbc2Statement.java:2530)         at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.ja va:1317)         at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:350)         at org.postgresql.jdbc2.AbstractJdbc2Statement.executeBatch(AbstractJdbc2Statem ent.java:2592)         at org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingStatement .java:294)         at org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingStatement .java:294)         at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:48)         at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:246)         at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:237)         at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:141)         at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(Abst ractFlushingEventListener.java:298)         at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventL istener.java:27)         at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000)         at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:338)         at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:106)         at com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHibernateBas eStore.java:781)         at com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHibernateBas eStore.java:752)         at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.jav a:528)         at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:97)         at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:91)         at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1111)         at com.xpn.xwiki.web.SaveAction.save(SaveAction.java:120)         at com.xpn.xwiki.web.SaveAction.action(SaveAction.java:129)         at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:201)         at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProces sor.java:431)         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)         at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)         at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application FilterChain.java:252)         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh ain.java:173)         at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFi lter.java:117)         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application FilterChain.java:202)         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh ain.java:173)         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja va:213)         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja va:178)         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126 )         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105 )         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java :107)         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)         at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:199)         at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:282)         at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:754)         at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:684)         at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java :876)         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav a:684)         at java.lang.Thread.run(Thread.java:595)  

    XWiki.org JIRA | 8 years ago | Frits Jalvingh
    java.sql.BatchUpdateException: Batch entry 0 insert into xwikircs (XWR_DATE, XWR_COMMENT, XWR_AUTHOR, XWR_DOCID, XWR_VERSION1, XWR_VERSION2) values (2008-10-13 09:38:49.000000 +02:00:00, , XWiki.lenzo, -1030818576, 4, 1) was aborted.  Call getNextException to see the cause. at org.postgresql.jdbc2.AbstractJdbc2Statement$BatchResultHandler.handleError(A bstractJdbc2Statement.java:2530) at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.ja va:1317) at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:350) at org.postgresql.jdbc2.AbstractJdbc2Statement.executeBatch(AbstractJdbc2Statem ent.java:2592) at org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingStatement .java:294) at org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingStatement .java:294) at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:48) at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:246) at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:237) at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:141) at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(Abst ractFlushingEventListener.java:298) at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventL istener.java:27)

    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. 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()
    2. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Method.java:498)
      1 frame
    3. com.github.gquintana
      AbstractStatementProxyHandler.invoke
      1. com.github.gquintana.metrics.proxy.MethodInvocation.proceed(MethodInvocation.java:75)
      2. com.github.gquintana.metrics.sql.AbstractStatementProxyHandler.invoke(AbstractStatementProxyHandler.java:64)
      2 frames