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 openxava by nelsonflorez
, 1 year ago
could not insert: [org.openxava.session.GalleryImage]
via The OpenNMS Issue Tracker by David Hustace, 1 year ago
could not insert: [org.opennms.netmgt.model.OnmsAlarm]
via The OpenNMS Issue Tracker by David Hustace, 2 years ago
could not insert: [org.opennms.netmgt.model.OnmsAlarm]
via SonarSource JIRA by Steffen Künzel, 2 years ago
could not insert: [org.sonar.api.database.model.MeasureModel]
via JIRA by Stian Soiland-Reyes, 9 months ago
could not insert: [net.sf.taverna.t2.reference.impl.ErrorDocumentImpl]
via pentaho.com by Unknown author, 2 years ago
could not insert: [org.pentaho.platform.r epository.solution.dbbased.RepositoryFile]
java.sql.DataTruncation: Data truncation	at net.sourceforge.jtds.jdbc.SQLDiagnostic.addDiagnostic(SQLDiagnostic.java:382)	at net.sourceforge.jtds.jdbc.TdsCore.tdsErrorToken(TdsCore.java:2820)	at net.sourceforge.jtds.jdbc.TdsCore.nextToken(TdsCore.java:2258)	at net.sourceforge.jtds.jdbc.TdsCore.getMoreResults(TdsCore.java:632)	at net.sourceforge.jtds.jdbc.JtdsStatement.processResults(JtdsStatement.java:584)	at net.sourceforge.jtds.jdbc.JtdsStatement.executeSQL(JtdsStatement.java:546)	at net.sourceforge.jtds.jdbc.JtdsPreparedStatement.executeUpdate(JtdsPreparedStatement.java:504)	at org.apache.tomcat.dbcp.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:102)	at org.hibernate.jdbc.NonBatchingBatcher.addToBatch(NonBatchingBatcher.java:46)	at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2434)	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 org.openxava.hibernate.XHibernate.commit(XHibernate.java:133)	at org.openxava.controller.ModuleManager.doCommit(ModuleManager.java:675)	at org.openxava.controller.ModuleManager.executeAction(ModuleManager.java:523)	at org.openxava.controller.ModuleManager.executeAction(ModuleManager.java:320)	at org.openxava.controller.ModuleManager.execute(ModuleManager.java:280)	at org.apache.jsp.xava.execute_jsp._jspService(execute_jsp.java:177)	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)	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 org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)	at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551)	at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)	at org.openxava.web.servlets.Servlets.getURIAsStream(Servlets.java:66)	at org.openxava.web.dwr.Module.getURIAsStream(Module.java:198)	at org.openxava.web.dwr.Module.request(Module.java:62)	at org.openxava.web.dwr.Module.requestMultipart(Module.java:191)	at org.apache.jsp.xava.module_jsp._jspService(module_jsp.java:169)	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)	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 org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)	at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)	at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)	at org.openxava.web.servlets.ModuleServlet.doGet(ModuleServlet.java:24)	at org.openxava.web.servlets.ModuleServlet.doPost(ModuleServlet.java:29)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)	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 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:128)	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:293)	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)	at java.lang.Thread.run(Unknown Source)