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

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

Recommended solutions based on your search

Solutions on the web

via XWiki.org JIRA by Jeroen Baten, 1 year ago
could not insert: [com.xpn.xwiki.doc.XWikiLink]
via Coderanch by Bharath Gowda, 1 year ago
via Atlassian JIRA by Partha Kamal [Atlassian], 1 year ago
via Atlassian JIRA by Partha Kamal [Atlassian], 2 years ago
via soso.io by Unknown author, 1 year ago
could not insert: [org.hibernate.model.Student]
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)	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)