com.xpn.xwiki.XWikiException: Error number 3201 in 3: Exception while saving document xwiki:ITStripe.Encodings Wrapped Exception: Failed to commit or rollback transaction. Root cause []

XWiki.org JIRA | Mindaugas | 4 years ago
  1. 0

    Notice A problem occurred while trying to process your request. Please contact the webmaster if this happens again. {noformat} Detailed information: Error number 3201 in 3: Exception while saving document xwiki:ITStripe.Encodings Wrapped Exception: Failed to commit or rollback transaction. Root cause [] com.xpn.xwiki.XWikiException: Error number 3201 in 3: Exception while saving document xwiki:ITStripe.Encodings Wrapped Exception: Failed to commit or rollback transaction. Root cause [] at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:712) at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:177) at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:170) at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1358) at com.xpn.xwiki.web.SaveAction.save(SaveAction.java:163) at com.xpn.xwiki.web.SaveAction.action(SaveAction.java:180) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:230) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.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:647) at javax.servlet.http.HttpServlet.service(HttpServlet.java:728) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:120) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:487) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:412) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339) at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:110) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:141) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: org.hibernate.HibernateException: Failed to commit or rollback transaction. Root cause [] at com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHibernateBaseStore.java:951) at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:702) ... 60 more Caused by: org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:96) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:275) at org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:114) at org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:109) at org.hibernate.jdbc.AbstractBatcher.prepareBatchStatement(AbstractBatcher.java:244) at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2411) at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2874) at org.hibernate.action.EntityInsertAction.execute(EntityInsertAction.java:79) at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:273) at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:265) at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:184) at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:321) at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:51) at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1216) at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:383) at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:133) at com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHibernateBaseStore.java:944) ... 61 more Caused by: java.sql.BatchUpdateException: Duplicate entry '995476487691410354-1-1' for key 'PRIMARY' at com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedStatement.java:2007) at com.mysql.jdbc.PreparedStatement.executeBatch(PreparedStatement.java:1443) at org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:297) at org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:297) at org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:297) at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:70) at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:268) ... 76 more Wrapped Exception: org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:96) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:275) at org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:114) at org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:109) at org.hibernate.jdbc.AbstractBatcher.prepareBatchStatement(AbstractBatcher.java:244) at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2411) at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2874) at org.hibernate.action.EntityInsertAction.execute(EntityInsertAction.java:79) at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:273) at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:265) at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:184) at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:321) at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:51) at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1216) at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:383) at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:133) at com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHibernateBaseStore.java:944) at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:702) at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:177) at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:170) at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1358) at com.xpn.xwiki.web.SaveAction.save(SaveAction.java:163) at com.xpn.xwiki.web.SaveAction.action(SaveAction.java:180) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:230) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.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:647) at javax.servlet.http.HttpServlet.service(HttpServlet.java:728) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:120) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:487) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:412) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339) at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:110) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:141) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: java.sql.BatchUpdateException: Duplicate entry '995476487691410354-1-1' for key 'PRIMARY' at com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedStatement.java:2007) at com.mysql.jdbc.PreparedStatement.executeBatch(PreparedStatement.java:1443) at org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:297) at org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:297) at org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:297) at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:70) at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:268) ... 76 more {noformat}

    XWiki.org JIRA | 4 years ago | Mindaugas
    com.xpn.xwiki.XWikiException: Error number 3201 in 3: Exception while saving document xwiki:ITStripe.Encodings Wrapped Exception: Failed to commit or rollback transaction. Root cause []
  2. 0

    h1. Short story I believe that the property name should be set in the method GroupsClass.fromString: {code} diff --git a/xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/objects/classes/GroupsClass.java b/xwiki-platform-core/xwiki-platfor index 9491304..2a750a9 100644 --- a/xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/objects/classes/GroupsClass.java +++ b/xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/objects/classes/GroupsClass.java @@ -99,6 +99,7 @@ public BaseProperty fromString(String value) { BaseProperty prop = newProperty(); prop.setValue(value); + prop.setName(getName()); return prop; } {code} h1. Long story When upgrading to 3.2-rc-1, an update is triggered on the class document XWiki.RightsClass to add the default sheet. This in turn will in turn trigger an update of all properties 'groups' of the class XWiki.RightsClass which are not of type 'LargeStringProperty', which I had three of (at XWikiHibernateStore.java:632): {code} http://wiki:8080/xw/bin/view/Main/[1] print brokenProperties brokenProperties = "[<?xml version="1.0" encoding="UTF-8"?> <groups>XWiki.XWikiAdminGroup</groups> , <?xml version="1.0" encoding="UTF-8"?> <groups>XWiki.XWikiAdminGroup</groups> , <?xml version="1.0" encoding="UTF-8"?> <groups>XWiki.XWikiAdminGroup</groups> ]" {code} After the property has been converted with the statement: {code} BaseProperty newProperty = prop.fromString(brokenProperty.toText()); {code} the property name has not been set: {code} http://wiki:8080/xw/bin/view/Main/[1] print newProperty newProperty = "<?xml version="1.0" encoding="UTF-8"?> <>XWiki.XWikiAdminGroup</> " {code} Hence, it seems that the property name should have been set in the method GroupsClass.fromString(). {code} http://wiki:8080/xw/bin/view/Main/[1] print prop.getClass(); prop.getClass(); = "class com.xpn.xwiki.objects.classes.GroupsClass" {code} h2. Stack dump {code} com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main XWiki context Wrapped Exception: Error number 3201 in 3: Exception while saving document xwiki:XWiki.XWikiRights Wrapped Exception: Failed to commit or rollback transaction. Root cause [] at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:422) at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:491) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:136) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.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.doGet(ActionServlet.java:414) at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:128) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:217) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang.Thread.run(Thread.java:636) Wrapped Exception: com.xpn.xwiki.XWikiException: Error number 3201 in 3: Exception while saving document xwiki:XWiki.XWikiRights Wrapped Exception: Failed to commit or rollback transaction. Root cause [] at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:690) at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:174) at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:167) at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1406) at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1362) at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1357) at com.xpn.xwiki.XWiki.getRightsClass(XWiki.java:3348) at com.xpn.xwiki.XWiki.getRightsClass(XWiki.java:3355) at com.xpn.xwiki.XWiki.initializeMandatoryClasses(XWiki.java:846) at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:817) at com.xpn.xwiki.XWiki.<init>(XWiki.java:743) at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:405) at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:491) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:136) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.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.doGet(ActionServlet.java:414) at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:128) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:217) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang.Thread.run(Thread.java:636) Wrapped Exception: org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:96) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:275) at org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:114) at org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:109) at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2419) at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2874) at org.hibernate.action.EntityInsertAction.execute(EntityInsertAction.java:79) at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:273) at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:265) at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:184) at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:321) at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:51) at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1216) at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:383) at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:133) at com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHibernateBaseStore.java:881) at com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHibernateBaseStore.java:852) at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:680) at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:174) at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:167) at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1406) at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1362) at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1357) at com.xpn.xwiki.XWiki.getRightsClass(XWiki.java:3348) at com.xpn.xwiki.XWiki.getRightsClass(XWiki.java:3355) at com.xpn.xwiki.XWiki.initializeMandatoryClasses(XWiki.java:846) at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:817) at com.xpn.xwiki.XWiki.<init>(XWiki.java:743) at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:405) at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:491) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:136) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.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.doGet(ActionServlet.java:414) at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:128) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:217) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang.Thread.run(Thread.java:636) Caused by: java.sql.BatchUpdateException: Column 'XWP_NAME' cannot be null at com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedStatement.java:2007) at com.mysql.jdbc.PreparedStatement.executeBatch(PreparedStatement.java:1443) at org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:297) at org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:297) at org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:297) at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:70) at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:268) ... 63 more {code}

    XWiki.org JIRA | 5 years ago | Andreas Jonsson
    org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update
  3. 0

    When clicking 'save and continue' of a page in mediawiki syntax an error message appeared The mediawiki content was (I use ##### as separator) ############################################################################## In de '''lijst van Nederlandse ziekenhuizen''' staan alle [[ziekenhuis|ziekenhuizen]] van [[Nederland]], gerangschikt per provincie. Opgenomen zijn alleen ziekenhuizen met een [[kliniek|klinische]] afdeling, dus geen [[dagziekenhuis|dagziekenhuizen]] of vestigingen met alleen [[polikliniek|(buiten-)poliklinieken]]. __TOC__ == Overzicht == {| class="wikitable" ! colspan="4" align="center"|'''Drenthe''' <div style="position:absolute; visibility:hidden; height:0; margin-top:1em;"> ===Drenthe=== </div> |- | width=150 | '''Plaats'''|| width=250 | '''Ziekenhuis'''|| width=250 | '''Bijzonderheden''' || width=100 | '''Bedden''' |- |[[Assen]]||[[Wilhelmina Ziekenhuis Assen]]|| || 265 |- |[[Emmen (Drenthe)|Emmen]]||[[Scheper Ziekenhuis]]|| || 381 |- |[[Hoogeveen]]||[[Bethesdaziekenhuis (Hoogeveen)|Ziekenhuis Bethesda]]|| || 272 |- |[[Meppel]]||[[Diaconessenhuis (Meppel)|Diaconessenhuis]] ([[Medisch Centrum Meppel|MCM]])|| || 330 |- ! colspan="4" align="center"|'''Flevoland''' <div style="position:absolute; visibility:hidden; height:0; margin-top:1em;"> ===Flevoland=== </div> |- | width=150 | '''Plaats'''|| width=250 | '''Ziekenhuis'''|| width=250 | '''Bijzonderheden'''|| width=100 | '''Bedden''' |- |[[Almere]]||Flevoziekenhuis|| || 386 |- |[[Emmeloord]]||MC Emmeloord|| Samen met MC Zuiderzee in [[Lelystad]] || 160 |- |[[Lelystad]]||MC Zuiderzee|| Samen met MC Emmeloord in [[Emmeloord]] || 200 |- ! colspan="4" align="center"|'''Friesland''' <div style="position:absolute; visibility:hidden; height:0; margin-top:1em;"> ===Friesland=== </div> |- | width=150 | '''Plaats'''|| width=250 | '''Ziekenhuis'''||width=250 | '''Bijzonderheden'''|| width=100 | '''Bedden''' |- |[[Dokkum]]|| Ziekenhuis [[De Sionsberg]] || Kleinste [[ziekenhuis]] in het Europese deel van [[Nederland]] || 138 |- |[[Drachten]]||Ziekenhuis Nij Smellinghe|| || 339 |- |[[Heerenveen (plaats)|Heerenveen]]||Ziekenhuis [[De Tjongerschans]]|| || 382 |- |[[Leeuwarden (stad)|Leeuwarden]]||[[Medisch Centrum Leeuwarden]]|| || 700 |- |[[Sneek (stad)|Sneek]]||[[Antonius Ziekenhuis (Sneek)|Antonius Ziekenhuis]]|| || 300 |- ! colspan="4" align="center"|'''Gelderland''' <div style="position:absolute; visibility:hidden; height:0; margin-top:1em;"> ===Gelderland=== </div> |- | width=150 | '''Plaats'''|| width=250 | '''Ziekenhuis'''|| width=250 | '''Bijzonderheden'''|| width=100 | '''Bedden''' |- |[[Apeldoorn (stad)|Apeldoorn]]||Gelre ziekenhuizen - locatie Lukas || || 925 (3 locaties) |- |[[Apeldoorn (stad)|Apeldoorn]]||Gelre ziekenhuizen - locatie Juliana || || 925 (3 locaties) |- |[[Arnhem]]||Ziekenhuis Rijnstate|| || 700 |- |[[Doetinchem]]||[[Slingeland Ziekenhuis]]|| || 348 |- |[[Ede (stad)|Ede]]||[[Ziekenhuis Gelderse Vallei]]|| || 600 |- |[[Groesbeek]]||[[Universitair Longcentrum Dekkerswald]]|| || 83 |- |[[Harderwijk (Gelderland)|Harderwijk]]||[[Ziekenhuis Sint Jansdal]]|| || 341 |- |[[Nijmegen]]||[[Canisius-Wilhelmina Ziekenhuis]]|| || 653 |- | || [[Sint Maartenskliniek]]||specialistisch ziekenhuis voor "houding en beweging" || 300 |- | || [[Universitair Medisch Centrum St Radboud|Universitair Medisch Centrum Sint Radboud]]|| || 953 |- |[[Tiel]]||Ziekenhuis Rivierenland|| || 373 |- |[[Velp (Gelderland)|Velp]]||Ziekenhuis Velp|| ||50 |- |[[Winterswijk]]||Streekziekenhuis Koningin Beatrix|| || 314 |- |[[Zevenaar]]||Ziekenhuis Zevenaar|| || 203 |- |[[Zutphen]]||Gelre ziekenhuizen - locatie Het Spittaal || || 925 (3 locaties) |- ! colspan="4" align="center"|'''Groningen''' <div style="position:absolute; visibility:hidden; height:0; margin-top:1em;"> ===Groningen=== </div> |- | width=150 | '''Plaats'''|| width=250 | '''Ziekenhuis'''|| width=250 | '''Bijzonderheden'''|| width=100 | '''Bedden''' |- |[[Delfzijl]]||[[Delfzicht Ziekenhuis]]|| || 186 |- |[[Groningen (stad)|Groningen]]||[[Martini Ziekenhuis]]|| || 580 |- |||[[Universitair Medisch Centrum Groningen]]|| Grootste ziekenhuis in Nederland || 1339 |- |[[Stadskanaal (plaats)|Stadskanaal]]||[[Refaja Ziekenhuis]] || || 200 |- |[[Winschoten]]||[[St. Lucas Ziekenhuis]]|| || 240 |- ! colspan="4" align="center"|'''Limburg''' <div style="position:absolute; visibility:hidden; height:0; margin-top:1em;"> ===Limburg=== </div> |- | width=150 | '''Plaats'''|| width=250 | '''Ziekenhuis'''|| width=250 | '''Bijzonderheden'''|| width=100 | '''Bedden''' |- |[[Brunssum]] || [[Atrium Medisch Centrum]] || || 63 |- |[[Heerlen]] || [[Atrium Medisch Centrum]] || || 592 |- |[[Horn (Limburg)|Horn]]||Centrum voor Integrale Revalidatie Orgaanfalen (Hornerheide)|| Specialistisch ziekenhuis voor astmapatiënten || 45 |- |[[Kerkrade]] || [[Atrium Medisch Centrum]] || Alleen polikliniek || 429 |- |[[Maastricht]] || [[Academisch ziekenhuis Maastricht]]|| [[Traumacentrum]] voor Limburg || 715 |- |[[Roermond (stad)|Roermond]] || [[Laurentius Ziekenhuis]] || || 429 |- |[[Sittard-Geleen]]|| [[Orbis Medisch Centrum]] || voorheen [[Maaslandziekenhuis]] || 423 |- |[[Venlo (stad)|Venlo]] || [[VieCuri]] Medisch Centrum || || 569 |- |[[Venray]] || [[VieCuri]] Medisch Centrum || || 444 |- |[[Weert (stad)|Weert]] || Sint Jans Gasthuis || || 272 |- ! colspan="4" align="center"|'''Noord-Brabant''' <div style="position:absolute; visibility:hidden; height:0; margin-top:1em;"> ===Noord-Brabant=== </div> |- | width=150 | '''Plaats'''|| width=250 | '''Ziekenhuis'''|| width=250 | '''Bijzonderheden'''|| width=100 | '''Bedden''' |- |[[Bergen op Zoom]] || Ziekenhuis Lievensberg || || 309 |- |[[Boxmeer (plaats)|Boxmeer]] || [[Maasziekenhuis Pantein]] || || 214 |- |[[Breda]] || [[Amphia Ziekenhuis]] || || 1170 (2 locaties) |- |[[Deurne (Nederlandse plaats)|Deurne]] || [[Elkerliek ziekenhuis Deurne]] || || 494 (2 locaties) |- |[[Eindhoven]] || [[Catharinaziekenhuis]] || || 695 |- | || [[Máxima Medisch Centrum]] || Heeft ook een vestiging in Veldhoven || 365 |- | || [[Grote Beek (psychiatrisch ziekenhuis)|Grote Beek (psychiatrisch ziekenhuis)]] || |- |[[Geldrop]] || [[Sint Annaziekenhuis]] || || 423 |- |[[Helmond]] || [[Elkerliek Ziekenhuis]] || || 494 (2 locaties) |- |[['s-Hertogenbosch]] || [[Jeroen Bosch ziekenhuis|Jeroen Bosch Ziekenhuis]] || || 1009 (3 locaties) |- |[[Oosterhout (Noord-Brabant)|Oosterhout]] || [[Amphia ziekenhuis]] || || 251 |- |[[Oss]] || [[Ziekenhuis Bernhoven]] || Wordt vervangen door nieuwbouw in [[Uden (plaats)|Uden]]-Noord (aanvang ca. 2008)||237 |- |[[Roosendaal]]||[[Franciscus Ziekenhuis]] || || 472 |- |[[Tilburg]] || [[St. Elisabeth Ziekenhuis Tilburg|St. Elisabeth Ziekenhuis]]|| || 673 |- | || [[TweeSteden ziekenhuis]]|| || 430 |- |[[Veghel (plaats)|Veghel]] || Ziekenhuis Bernhoven || Wordt vervangen door nieuwbouw in [[Uden (plaats)|Uden]]-Noord (aanvang ca. 2008)|| 230 |- |[[Veldhoven]] || [[Máxima Medisch Centrum]] || Heeft ook een vestiging in Eindhoven || 471 |- |[[Waalwijk (plaats)|Waalwijk]] || [[TweeSteden ziekenhuis]] || || 75 |- ! colspan="4" align="center"|'''Noord-Holland''' <div style="position:absolute; visibility:hidden; height:0; margin-top:1em;"> ===Noord-Holland=== </div> |- | width=150 | '''Plaats'''|| width=250 | '''Ziekenhuis'''|| width=250 | '''Bijzonderheden'''|| width=100 | '''Bedden''' |- |[[Alkmaar (Nederland)|Alkmaar]] || Medisch Centrum Alkmaar || || 913 |- |[[Amstelveen]] || Ziekenhuis Amstelland || || 255 |- |[[Gemeente Amsterdam|Amsterdam]] || [[Academisch Medisch Centrum]] || Verbonden aan de [[UvA|Universiteit van Amsterdam]] || 1002 |- | || [[Nederlands Kanker Instituut]] en daaraan verbonden Antoni van Leeuwenhoek Ziekenhuis || Specialistisch ziekenhuis voor kankerpatiënten || 180 |- | || BovenIJ ziekenhuis || || 313 |- | || [[Onze Lieve Vrouwe Gasthuis]] || || 520 |- | || [[Prinsengrachtziekenhuis]] || Voormalige Prinsengrachtziekenhuis nu onder de naam OLVG || 15 |- | || [[Sint Lucas Andreas Ziekenhuis]] || || 581 |- | || [[Slotervaartziekenhuis]] || Eerste gecommercialiseerde ziekenhuis in Nederland || 310 |- | || [[VU medisch centrum]] || Verbonden aan de [[Vrije Universiteit Amsterdam|Vrije Universiteit]]|| 733 |- |[[Beverwijk]] || [[Rode Kruis Ziekenhuis (Beverwijk)|Rode Kruis Ziekenhuis]] || Bevat ook Brandwondencentrum || 384 |- |[[Blaricum]] || [[Tergooiziekenhuizen]] || voormalig [[Gooi-Noord Ziekenhuis|Gooi-Noord]]; gefuseerd met [[Ziekenhuis Hilversum]]|| 340 |- |[[Den Helder]] || Gemini Ziekenhuis || || 310 |- |[[Haarlem]] || [[Kennemer Gasthuis]] || || 900 |- |[[Heemstede (Noord-Holland)|Heemstede]] || Spaarne Ziekenhuis|| Voormalig [[Diaconessenhuis (Heemstede)|Diaconessenhuis]]; gefuseerd met de [[Mariastichting]] in Haarlem || 15 |- |[[Hilversum]] || [[Tergooiziekenhuizen]] || Voormalig [[Ziekenhuis Hilversum]]; gefuseerd met [[Gooi-Noord Ziekenhuis|Gooi-Noord]]|| 490 |- |[[Hoofddorp]] || Spaarne Ziekenhuis || Nieuwbouw ter vervanging van de Mariastichting in Haarlem|| 455 |- |[[Hoorn (Noord-Holland)|Hoorn]] || [[Westfriesgasthuis]] || || 500 |- |[[Purmerend]] || [[Waterlandziekenhuis]]|| || 331 |- |[[Zaandam]] || [[Zaans Medisch Centrum]] || voormalig De Heel|| 459 |- ! colspan="4" align="center"|'''Overijssel''' <div style="position:absolute; visibility:hidden; height:0; margin-top:1em;"> ===Overijssel=== </div> |- | width=150 | '''Plaats'''|| width=250 | '''Ziekenhuis'''|| width=250 | '''Bijzonderheden'''|| width=100 | '''Bedden''' |- |[[Almelo]] || [[Almelo#Gezondheidszorg|ZGT Almelo]] || Voormalig Twenteborg Ziekenhuis || 653 |- |[[Deventer]] || [[Deventer Ziekenhuis]] || || 380 |- |[[Enschede]] || [[Medisch Spectrum Twente]] || || 1070 |- |[[Hardenberg]] || [[Röpcke-Zweers Ziekenhuis]] || || 198 |- |[[Hengelo (Overijssel)|Hengelo]] || [[Hengelo (Overijssel)#Gezondheidszorg|ZGT Hengelo]] || Voormalig Streekziekenhuis Midden-Twente || 392 |- |[[Oldenzaal]] || [[Medisch Spectrum Twente]] || || 1070 (samen met Enschede) |- |[[Zwolle]] || [[Isala klinieken]] || || 1100 |- ! colspan="4" align="center"|'''Utrecht''' <div style="position:absolute; visibility:hidden; height:0; margin-top:1em;"> ===Utrecht=== </div> |- | width=150 | '''Plaats'''|| width=250 | '''Ziekenhuis'''|| width=250 | '''Bijzonderheden'''|| width=100 | '''Bedden''' |- |[[Amersfoort]] || Meander Medisch Centrum ||2 locaties: Elisabeth en Lichtenberg. In 2013 samen in 1 locatie: Maatweg. Ook nog poli-vestiging in Soest.|| 982 (alle locaties) |- |[[Baarn]] || Meander Medisch Centrum || voorheen Medisch Centrum Molendael || 982 (alle locaties) |- |[[Nieuwegein]] || [[Sint Anthonius Ziekenhuis (Nieuwegein)|St. Antonius Ziekenhuis]] || || 584 |- |[[Utrecht (stad)|Utrecht]] || [[Centraal Militair Hospitaal]] || || 200 |- | || [[Diakonessenhuis (Utrecht)|Diakonessenhuis]] || || 402 |- | || Sint Antonius Ziekenhuis (locatie Oudenrijn, locatie Overvecht) || || 530 |- | ||[[Universitair Medisch Centrum Utrecht]] || || 1042 |- |[[Woerden]] || Zuwe Hofpoort Ziekenhuis + extra locatie Sint Maartenskliniek uit [[Nijmegen]] || || 262 |- |[[Zeist]] || [[Diakonessenhuis (Utrecht)|Diakonessenhuis]] || ||137 |- ! colspan="4" align="center"|'''Zeeland''' <div style="position:absolute; visibility:hidden; height:0; margin-top:1em;"> ===Zeeland=== </div> |- | width=150 | '''Plaats'''|| width=250 | '''Ziekenhuis'''|| width=250 | '''Bijzonderheden'''|| width=100 | '''Bedden''' |- |[[Goes]] || Admiraal De Ruyter Ziekenhuis || Voorheen [[Oosterscheldeziekenhuis]]|| 364 |- |[[Middelburg (Zeeland)|Middelburg]] || Admiraal De Ruyter Ziekenhuis || Voorheen Medisch Centrum|| ... |- |[[Oostburg (Nederland)|Oostburg]] || Ziekenhuis Zeeuws-Vlaanderen || || 43 |- |[[Terneuzen (stad)|Terneuzen]] || Ziekenhuis Zeeuws-Vlaanderen || Grootste vestiging van Zeeuws-Vlaanderen, voorheen De Honte || 288 |- |[[Vlissingen]] || Admiraal De Ruyter Ziekenhuis|| Voorheen [[Ziekenhuis Walcheren]]|| 369 |- |[[Zierikzee]] || Admiraal De Ruyter Ziekenhuis|| Voorheen Zweedse Rode Kruis Ziekenhuis || ... |- ! colspan="4" align="center"|'''Zuid-Holland''' <div style="position:absolute; visibility:hidden; height:0; margin-top:1em;"> ===Zuid-Holland=== </div> |- | width=150 | '''Plaats'''|| width=250 | '''Ziekenhuis'''|| width=250 | '''Bijzonderheden'''|| width=100 | '''Bedden''' |- |[[Alphen aan den Rijn]] || [[Rijnland Ziekenhuis]] || Heeft de grootste vestiging in Leiderdorp || 30 |- |[[Capelle aan den IJssel]] || [[IJsselland Ziekenhuis]] || Specialisme in de MDL-afdeling || 390 |- |[[Delft]] || [[Reinier de Graaf Gasthuis]] || || 458 |- |[[Dirksland]] || Van Weel-Bethesda Ziekenhuis || || 140 |- |[[Dordrecht (Nederland)|Dordrecht]] || Albert Schweitzer ziekenhuis || || 537 |- |[[Gorinchem]] || Beatrixziekenhuis || || 323 |- |[[Gouda]] || [[Groene Hart Ziekenhuis]] || || 500 |- |[[Den Haag]] || [[HagaZiekenhuis]] || Fusie van het [[Ziekenhuis Leyenburg]], het [[Juliana Kinderziekenhuis]] en het [[Rode Kruis Ziekenhuis (Den Haag)|Rode Kruis Ziekenhuis]] || 1195 |- |||[[MCH Westeinde|Westeinde Ziekenhuis]] || Werkt samen met Antoniushove in Leidschendam onder de naam "[[Medisch Centrum Haaglanden]]" ||527 |- | || [[Ziekenhuis Bronovo]] || ||350 |- |[[Leiden]] || Diaconessenhuis || || 300 |- | || [[Leids Universitair Medisch Centrum]] || || 882 |- |[[Leiderdorp]] || [[Rijnland Ziekenhuis]]||heeft ook een vestiging in Alphen aan den Rijn || 470 |- |[[Leidschendam]] || [[MCH Antoniushove|Antoniushove]] || Werkt samen met het Westeinde Ziekenhuis in Den Haag onder naam "[[Medisch Centrum Haaglanden]]" || 250 |- |[[Rotterdam]] || [[Erasmus MC]] || Fusie van [[Dijkzigt Ziekenhuis]], [[Sophia Kinderziekenhuis]] en [[Daniël den Hoed Kliniek]] || 1320 |- | || [[Havenziekenhuis]] || Gespecialiseerd in tropische ziektes || 160 |- | || [[Ikazia Ziekenhuis]] || Volgens zorgverzekering, beste in borstkankerzorg || 359 |- |||[[Maasstad ziekenhuis]] || Fusie tussen het [[Sint Clara Ziekenhuis]] en het [[Zuiderziekenhuis]] || 601 |- |||[[Oogziekenhuis]] || Gespecialiseerd, alleen oogaandoeningen || |- | || [[Sint Franciscus Gasthuis]] || || 613 |- |[[Schiedam]] || [[Vlietland Ziekenhuis]] || Fusie van het Holyziekenhuis en [[Schieland Ziekenhuis]] || 300 |- |[[Sliedrecht]] || Albert Schweitzerziekenhuis || || 20 |- |[[Spijkenisse]] || Ruwaard van Putten Ziekenhuis || || 288 |- |[[Voorburg (Zuid-Holland)|Voorburg]] || [[Diaconessenhuis (Voorburg)|Diaconessenhuis]] || || 58 |- |[[Zoetermeer]] || [['t Lange Land Ziekenhuis]]|| || 242 |- |[[Zwijndrecht (Zuid-Holland)|Zwijndrecht]] || Albert Schweitzer Ziekenhuis || || 166 |- ! colspan="4" align="center"|'''BES-eilanden''' <div style="position:absolute; visibility:hidden; height:0; margin-top:1em;"> ===BES-eilanden=== </div> |- | width=150 | '''Plaats'''|| width=250 | '''Ziekenhuis'''|| width=250 | '''Bijzonderheden'''|| width=100 | '''Bedden''' |- |[[Kralendijk]] || [[Hospitaal San Francisco]] || || 36 |- |[[Oranjestad (Sint Eustatius)|Oranjestad]] || [[Queen Beatrix Medical Center]] || || 20 |- |[[The Bottom]] || [[Mrs. A.M. Edwards Medical Center]] || Kleinste ziekenhuis van Nederland || 14 |} ############################################################################## The error message was: Gedetailleerde informatie: Error number 3201 in 3: Exception while saving document xwiki:IntraZis Promotieteam.Ziekenhuizen in Nederland Wrapped Exception: Failed to commit or rollback transaction. Root cause [] com.xpn.xwiki.XWikiException: Error number 3201 in 3: Exception while saving document xwiki:IntraZis Promotieteam.Ziekenhuizen in Nederland Wrapped Exception: Failed to commit or rollback transaction. Root cause [] at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:693) at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:183) at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:177) at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1425) at com.xpn.xwiki.web.SaveAction.save(SaveAction.java:162) at com.xpn.xwiki.web.SaveAndContinueAction.action(SaveAndContinueAction.java:63) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:213) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.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:710) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:129) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:218) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:691) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:469) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:403) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301) at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:119) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:218) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151) at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:839) at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:640) at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1286) at java.lang.Thread.run(Thread.java:636) Wrapped Exception: org.hibernate.exception.ConstraintViolationException: could not insert: [com.xpn.xwiki.doc.XWikiLink] at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:71) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43) at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2272) at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2665) at org.hibernate.action.EntityInsertAction.execute(EntityInsertAction.java:60) at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:279) at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:263) at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:167) at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:298) at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.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(XWikiHibernateBaseStore.java:871) at com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHibernateBaseStore.java:842) at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:683) at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:183) at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:177) at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1425) at com.xpn.xwiki.web.SaveAction.save(SaveAction.java:162) at com.xpn.xwiki.web.SaveAndContinueAction.action(SaveAndContinueAction.java:63) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:213) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.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:710) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:129) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:218) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:691) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:469) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:403) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301) at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:119) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:218) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151) at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:839) at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:640) at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1286) at java.lang.Thread.run(Thread.java:636) Caused by: java.sql.BatchUpdateException: Duplicate entry '1542645775-IntraZis Promotieteam.Amphia ziekenhuis' for key 'PRIMARY' at com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedStatement.java:2018) at com.mysql.jdbc.PreparedStatement.executeBatch(PreparedStatement.java:1454) at org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:297) at org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:297) at org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:297) at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:48) at org.hibernate.jdbc.BatchingBatcher.addToBatch(BatchingBatcher.java:34) at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2252) ... 69 more

    XWiki.org JIRA | 5 years ago | Jeroen Baten
    org.hibernate.exception.ConstraintViolationException: could not insert: [com.xpn.xwiki.doc.XWikiLink]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    DataIntegrity Exception with Multiple Web Application Containers and 1 Database

    Stack Overflow | 6 years ago | Melissa W
    java.sql.BatchUpdateException: null, message from server: "Duplicate entry '56' for key 'PRIMARY'"
  6. 0

    Not able to insert a record in mysql table with auto-increment key as PK

    Stack Overflow | 6 years ago | yogi
    java.sql.BatchUpdateException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM, TO, DISTANCE, TIME, ROUTE_ID) values ('A099', 'Hadapser', 'Pune Station', ' at line 1 at </code></pre> <hr> <pre><code>com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedStatement.java:2024)

  1. linxiaolong 26 times, last 3 weeks ago
  2. linxiaolong 4 times, last 3 months ago
  3. mortalman7 32 times, last 5 months ago
9 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. java.sql.BatchUpdateException

    Duplicate entry '995476487691410354-1-1' for key 'PRIMARY'

    at com.mysql.jdbc.PreparedStatement.executeBatchSerially()
  2. MySQL jdbc
    PreparedStatement.executeBatch
    1. com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedStatement.java:2007)
    2. com.mysql.jdbc.PreparedStatement.executeBatch(PreparedStatement.java:1443)
    2 frames
  3. Commons DBCP
    DelegatingStatement.executeBatch
    1. org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:297)
    2. org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:297)
    3. org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:297)
    3 frames
  4. Hibernate
    AbstractEntityPersister.insert
    1. org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:70)
    2. org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:268)
    3. org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:114)
    4. org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:109)
    5. org.hibernate.jdbc.AbstractBatcher.prepareBatchStatement(AbstractBatcher.java:244)
    6. org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2411)
    7. org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2874)
    7 frames
  5. Hibernate
    EntityInsertAction.execute
    1. org.hibernate.action.EntityInsertAction.execute(EntityInsertAction.java:79)
    1 frame
  6. Hibernate
    ActionQueue.executeActions
    1. org.hibernate.engine.ActionQueue.execute(ActionQueue.java:273)
    2. org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:265)
    3. org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:184)
    3 frames
  7. Hibernate
    SessionImpl.managedFlush
    1. org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:321)
    2. org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:51)
    3. org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1216)
    4. org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:383)
    4 frames
  8. Hibernate
    JDBCTransaction.commit
    1. org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:133)
    1 frame
  9. com.xpn.xwiki
    XWikiAction.execute
    1. com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHibernateBaseStore.java:944)
    2. com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:702)
    3. com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:177)
    4. com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:170)
    5. com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1358)
    6. com.xpn.xwiki.web.SaveAction.save(SaveAction.java:163)
    7. com.xpn.xwiki.web.SaveAction.action(SaveAction.java:180)
    8. com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:230)
    9. com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116)
    9 frames
  10. struts
    ActionServlet.doPost
    1. org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
    2. org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
    3. org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
    4. org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
    4 frames
  11. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
    2. javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
    2 frames
  12. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    2 frames
  13. com.xpn.xwiki
    ActionFilter.doFilter
    1. com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:120)
    1 frame
  14. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    2 frames
  15. org.xwiki.wysiwyg
    ConversionFilter.doFilter
    1. org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)
    1 frame
  16. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    2 frames
  17. org.xwiki.container
    SavedRequestRestorerFilter.doFilter
    1. org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
    1 frame
  18. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    2 frames
  19. org.xwiki.container
    SetCharacterEncodingFilter.doFilter
    1. org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
    1 frame
  20. Glassfish Core
    ApplicationDispatcher.forward
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    3. org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)
    4. org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:487)
    5. org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:412)
    6. org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339)
    6 frames
  21. com.xpn.xwiki
    ActionFilter.doFilter
    1. com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:110)
    1 frame
  22. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    2 frames
  23. org.xwiki.wysiwyg
    ConversionFilter.doFilter
    1. org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:141)
    1 frame
  24. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    2 frames
  25. com.xpn.xwiki
    XWikiDavFilter.doFilter
    1. com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
    1 frame
  26. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    2 frames
  27. org.xwiki.container
    SavedRequestRestorerFilter.doFilter
    1. org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
    1 frame
  28. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    2 frames
  29. org.xwiki.container
    SetCharacterEncodingFilter.doFilter
    1. org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
    1 frame
  30. Glassfish Core
    CoyoteAdapter.service
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
    4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
    5. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
    6. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
    7. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
    8. org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
    9. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
    10. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
    10 frames
  31. Grizzly HTTP
    JIoEndpoint$SocketProcessor.run
    1. org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
    2. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
    3. org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
    3 frames
  32. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    3. java.lang.Thread.run(Thread.java:662)
    3 frames