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 Jenkins JIRA by Kevin Cheng, 1 year ago
Hibernate operation: could not load an entity: [org.jenkins.plugins.audit2db.internal.model.BuildDetailsImpl#localhost.localdomain/computer/(master)//test/7]; uncategorized SQLException for SQL [select builddetai0_.id as id78_1_, builddetai0_
via Jenkins JIRA by Kevin Cheng, 1 year ago
Hibernate operation: could not load an entity: [org.jenkins.plugins.audit2db.internal.model.BuildDetailsImpl#localhost.localdomain/computer/(master)//test/7]; uncategorized SQLException for SQL [select builddetai0_.id as id78_1_, builddetai0_
via novell.com by Unknown author, 2 years ago
Hibernate operation: could not execute update query; uncategorized SQLException for SQL [update SS_ChangeLogs set owningBinderKey=?, owningBinderId=? where (entityId in (? , ?)) and entityType=?]; SQL state [HY000]; error code [1206]; The total
via Stack Overflow by Harish Reddy
, 11 months ago
PreparedStatementCallback; uncategorized SQLException for SQL [INSERT INTO STUDENT(NAME , H_ADDERSSS , R_ADDERSSS , AGE , DATE_OF_JOINING) VALUES(:NAME , :H_ADDERSSS , :R_ADDERSSS , :AGE , TO_DATE (:DATE_OF_JOINING, 'DD/MM/YYYY HH24:MI:SS') ) ]; SQL state [99999]; error code [17004]; Invalid column type; nested exception is java.sql.SQLException: Invalid column type
via Stack Overflow by Krushna
, 1 year ago
CallableStatementCallback; uncategorized SQLException for SQL [{call VSC.GET_ALL_SYSTEM_USERS(?, ?, ?, ?)}]; SQL state [99999]; error code [17004]; Invalid column type: 1111; nested exception is java.sql.SQLException: Invalid column type: 1111
via Stack Overflow by user3652785
, 2 years ago
PreparedStatementCallback; uncategorized SQLException for SQL [insert into employees (employee_id,first_name,last_name,email,hire_date,job_id) values (?,?,?,?,?,?)]; SQL state [null]; error code [17004]; Invalid column type; nested exception is java.sql.SQLException: Invalid column type
java.sql.SQLException: No database selected	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:998)	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3847)	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3783)	at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2447)	at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2594)	at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2545)	at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1901)	at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:2002)	at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeQuery(NewProxyPreparedStatement.java:76)	at org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:208)	at org.hibernate.loader.Loader.getResultSet(Loader.java:1869)	at org.hibernate.loader.Loader.doQuery(Loader.java:718)	at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:270)	at org.hibernate.loader.Loader.loadEntity(Loader.java:1953)	at org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:86)	at org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:76)	at org.hibernate.persister.entity.AbstractEntityPersister.load(AbstractEntityPersister.java:3270)	at org.hibernate.event.def.DefaultLoadEventListener.loadFromDatasource(DefaultLoadEventListener.java:496)	at org.hibernate.event.def.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:477)	at org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:227)	at org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:285)	at org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:152)	at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:1080)	at org.hibernate.impl.SessionImpl.get(SessionImpl.java:997)	at org.hibernate.impl.SessionImpl.get(SessionImpl.java:990)	at org.springframework.orm.hibernate3.HibernateTemplate$1.doInHibernate(HibernateTemplate.java:519)	at org.springframework.orm.hibernate3.HibernateTemplate.doExecute(HibernateTemplate.java:406)	at org.springframework.orm.hibernate3.HibernateTemplate.executeWithNativeSession(HibernateTemplate.java:374)	at org.springframework.orm.hibernate3.HibernateTemplate.get(HibernateTemplate.java:512)	at org.springframework.orm.hibernate3.HibernateTemplate.get(HibernateTemplate.java:506)	at org.jenkins.plugins.audit2db.internal.data.BuildDetailsHibernateRepository.getBuildDetailsById(BuildDetailsHibernateRepository.java:121)	at org.jenkins.plugins.audit2db.internal.data.BuildDetailsHibernateRepository.getBuildDetailsForBuild(BuildDetailsHibernateRepository.java:307)	at org.jenkins.plugins.audit2db.internal.DbAuditPublisherImpl.perform(DbAuditPublisherImpl.java:108)	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779)	at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:726)	at hudson.model.Build$BuildExecution.cleanUp(Build.java:195)	at hudson.model.Run.execute(Run.java:1788)	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)	at hudson.model.ResourceController.execute(ResourceController.java:98)	at hudson.model.Executor.run(Executor.java:381)