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

Samebug tips

  1. ,
    Expert tip

    MySQL doesn't support some types of characters (such as emojis) with the utf8 encoding. You need to be on MySQL 5.5+ and force utf8mb4 (everywhere, client and server). You can do this sending the query "SET NAMES utf8mb4". Check this https://goo.gl/3E2qzg

  2. ,

    Make sure you are using InnoDB storage engine and READ-COMMITTED transaction isolation level and increase the database server innodb_lock_wait_timeout variable to about 500.

Solutions on the web

via Stack Overflow by user1058913
, 1 year ago
via GitHub by jomo
, 2 years ago
Incorrect string value: '\xD0\xAB\xD0\xB3\xD0\xB7...' for column 'signtext' at row 1
via Coderanch by Rohit Bhal, 1 year ago
via coderanch.com by Unknown author, 2 years ago
via YouTrack by Unknown author, 2 years ago
Incorrect string value: '\xCE\xA4\xCE\xB1 \xCE...' for column 'test_name' at row 1
via Stack Overflow by user1780366
, 2 years ago
java.sql.SQLException: Field 'PRT_FWD_RUL_ID' doesn't have a default value	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:998)	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3835)	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3771)	at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2435)	at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2582)	at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2535)	at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1911)	at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2145)	at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2081)	at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2066)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:606)	at org.hibernate.engine.jdbc.internal.proxy.AbstractStatementProxyHandler.continueInvocation(AbstractStatementProxyHandler.java:122)	at org.hibernate.engine.jdbc.internal.proxy.AbstractProxyHandler.invoke(AbstractProxyHandler.java:81)	at com.sun.proxy.$Proxy77.executeUpdate(Unknown Source)	at org.hibernate.id.IdentityGenerator$GetGeneratedKeysDelegate.executeAndExtract(IdentityGenerator.java:96)	at org.hibernate.id.insert.AbstractReturningDelegate.performInsert(AbstractReturningDelegate.java:58)	at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2763)	at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:3274)	at org.hibernate.action.internal.EntityIdentityInsertAction.execute(EntityIdentityInsertAction.java:81)	at org.hibernate.engine.spi.ActionQueue.execute(ActionQueue.java:362)	at org.hibernate.engine.spi.ActionQueue.addResolvedEntityInsertAction(ActionQueue.java:203)	at org.hibernate.engine.spi.ActionQueue.addInsertAction(ActionQueue.java:183)	at org.hibernate.engine.spi.ActionQueue.addAction(ActionQueue.java:167)	at org.hibernate.event.internal.AbstractSaveEventListener.addInsertAction(AbstractSaveEventListener.java:320)	at org.hibernate.event.internal.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEventListener.java:287)	at org.hibernate.event.internal.AbstractSaveEventListener.performSave(AbstractSaveEventListener.java:193)	at org.hibernate.event.internal.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:126)	at org.hibernate.event.internal.DefaultSaveOrUpdateEventListener.saveWithGeneratedOrRequestedId(DefaultSaveOrUpdateEventListener.java:204)	at org.hibernate.event.internal.DefaultSaveOrUpdateEventListener.entityIsTransient(DefaultSaveOrUpdateEventListener.java:189)	at org.hibernate.event.internal.DefaultSaveOrUpdateEventListener.performSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:114)	at org.hibernate.event.internal.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:90)	at org.hibernate.internal.SessionImpl.fireSaveOrUpdate(SessionImpl.java:695)	at org.hibernate.internal.SessionImpl.saveOrUpdate(SessionImpl.java:687)	at org.hibernate.engine.spi.CascadingAction$5.cascade(CascadingAction.java:258)	at org.hibernate.engine.internal.Cascade.cascadeToOne(Cascade.java:380)	at org.hibernate.engine.internal.Cascade.cascadeAssociation(Cascade.java:323)	at org.hibernate.engine.internal.Cascade.cascadeProperty(Cascade.java:208)	at org.hibernate.engine.internal.Cascade.cascadeCollectionElements(Cascade.java:409)	at org.hibernate.engine.internal.Cascade.cascadeCollection(Cascade.java:350)	at org.hibernate.engine.internal.Cascade.cascadeAssociation(Cascade.java:326)	at org.hibernate.engine.internal.Cascade.cascadeProperty(Cascade.java:208)	at org.hibernate.engine.internal.Cascade.cascade(Cascade.java:165)	at org.hibernate.engine.internal.Cascade.cascade(Cascade.java:132)	at org.hibernate.event.internal.DefaultSaveOrUpdateEventListener.cascadeOnUpdate(DefaultSaveOrUpdateEventListener.java:361)	at org.hibernate.event.internal.DefaultSaveOrUpdateEventListener.performUpdate(DefaultSaveOrUpdateEventListener.java:335)	at org.hibernate.event.internal.DefaultSaveOrUpdateEventListener.entityIsDetached(DefaultSaveOrUpdateEventListener.java:239)	at org.hibernate.event.internal.DefaultSaveOrUpdateEventListener.performSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:109)	at org.hibernate.event.internal.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:90)	at org.hibernate.internal.SessionImpl.fireSaveOrUpdate(SessionImpl.java:695)	at org.hibernate.internal.SessionImpl.saveOrUpdate(SessionImpl.java:687)	at org.hibernate.internal.SessionImpl.saveOrUpdate(SessionImpl.java:683)	at com.myproject.app.devices.dao.impl.FirewallDAOImpl.insertUpdateData(FirewallDAOImpl.java:117)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:606)	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:302)	at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)	at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)	at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281)	at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:208)	at com.sun.proxy.$Proxy61.insertUpdateData(Unknown Source)	at com.myproject.app.devices.service.impl.DevicesServicesImpl.insertUpdateData(DevicesServicesImpl.java:90)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:606)	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:302)	at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)	at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)	at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281)	at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:208)	at com.sun.proxy.$Proxy62.insertUpdateData(Unknown Source)	at com.myproject.app.rest.controller.DevicesController.updateData(DevicesController.java:130)	at com.myproject.app.rest.controller.DevicesController$$FastClassBySpringCGLIB$$a1c895b9.invoke()	at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)	at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:650)	at com.myproject.app.rest.controller.DevicesController$$EnhancerBySpringCGLIB$$d05423d6.updateData()	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:606)	at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:222)	at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:137)	at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:110)	at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:814)	at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:737)	at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)	at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:959)	at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:893)	at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)	at org.springframework.web.servlet.FrameworkServlet.doPut(FrameworkServlet.java:883)