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 Hibernate JIRA by Jan Snelders, 2 years ago
via Stack Overflow by anil kumar
, 1 month ago
com.google.gson.internal.LinkedTreeMap cannot be cast to java.lang.String
via hibernate.org by Unknown author, 2 years ago
via GitHub by jluc2808
, 1 year ago
org.yamj.common.type.StatusType cannot be cast to java.lang.String
java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String at org.hibernate.type.descriptor.java.StringTypeDescriptor.unwrap(StringTypeDescriptor.java:40)[:3.6.6.Final] at org.hibernate.type.descriptor.sql.VarcharTypeDescriptor$1.doBind(VarcharTypeDescriptor.java:52)[:3.6.6.Final] at org.hibernate.type.descriptor.sql.BasicBinder.bind(BasicBinder.java:91)[:3.6.6.Final] at org.hibernate.type.AbstractStandardBasicType.nullSafeSet(AbstractStandardBasicType.java:283)[:3.6.6.Final] at org.hibernate.type.AbstractStandardBasicType.nullSafeSet(AbstractStandardBasicType.java:278)[:3.6.6.Final] at org.hibernate.loader.Loader.bindPositionalParameters(Loader.java:1873)[:3.6.6.Final] at org.hibernate.loader.Loader.bindParameterValues(Loader.java:1844)[:3.6.6.Final] at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1716)[:3.6.6.Final] at org.hibernate.loader.Loader.doQuery(Loader.java:801)[:3.6.6.Final] at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:274)[:3.6.6.Final] at org.hibernate.loader.Loader.doList(Loader.java:2533)[:3.6.6.Final] at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2276)[:3.6.6.Final] at org.hibernate.loader.Loader.list(Loader.java:2271)[:3.6.6.Final] at org.hibernate.loader.criteria.CriteriaLoader.list(CriteriaLoader.java:119)[:3.6.6.Final] at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1716)[:3.6.6.Final] at org.hibernate.impl.CriteriaImpl.list(CriteriaImpl.java:347)[:3.6.6.Final] at org.hibernate.search.batchindexing.IdentifierConsumerEntityProducer.loadList(IdentifierConsumerEntityProducer.java:141)[:3.4.1.Final] at org.hibernate.search.batchindexing.IdentifierConsumerEntityProducer.loadAllFromQueue(IdentifierConsumerEntityProducer.java:110)[:3.4.1.Final] at org.hibernate.search.batchindexing.IdentifierConsumerEntityProducer.run(IdentifierConsumerEntityProducer.java:87)[:3.4.1.Final] at org.hibernate.search.batchindexing.OptionallyWrapInJTATransaction.run(OptionallyWrapInJTATransaction.java:78)[:3.4.1.Final] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)[:1.6.0_27] at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)[:1.6.0_27] at java.lang.Thread.run(Unknown Source)[:1.6.0_27]