java.lang.ClassCastException: org.yamj.common.type.StatusType cannot be cast to java.lang.String

GitHub | jluc2808 | 9 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    java error at start with sanity task

    GitHub | 9 months ago | jluc2808
    java.lang.ClassCastException: org.yamj.common.type.StatusType cannot be cast to java.lang.String
  2. 0

    Criteria: ClassCastException Integer to Long

    Stack Overflow | 3 years ago | Thiago Maltempi
    java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Long
  3. 0

    Can't use numeric filter in a lazy loading datatable: ClassCastException String to Integer

    Stack Overflow | 3 years ago | Guilherme
    java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Integer
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Generic DAO throwing ClassCastException

    Stack Overflow | 3 years ago | Pankaj
    java.lang.ClassCastException: [Ljava.lang.String; cannot be cast to java.lang.String

  1. tomthomas 12 times, last 1 month ago
  2. tfr 1 times, last 11 months ago
2 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.ClassCastException

    org.yamj.common.type.StatusType cannot be cast to java.lang.String

    at org.hibernate.type.descriptor.java.StringTypeDescriptor.unwrap()
  2. Hibernate
    CriteriaImpl.list
    1. org.hibernate.type.descriptor.java.StringTypeDescriptor.unwrap(StringTypeDescriptor.java:22)
    2. org.hibernate.type.descriptor.sql.VarcharTypeDescriptor$1.doBind(VarcharTypeDescriptor.java:46)
    3. org.hibernate.type.descriptor.sql.BasicBinder.bind(BasicBinder.java:74)
    4. org.hibernate.type.AbstractStandardBasicType.nullSafeSet(AbstractStandardBasicType.java:253)
    5. org.hibernate.type.AbstractStandardBasicType.nullSafeSet(AbstractStandardBasicType.java:248)
    6. org.hibernate.loader.Loader.bindPositionalParameters(Loader.java:2044)
    7. org.hibernate.loader.Loader.bindParameterValues(Loader.java:2013)
    8. org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1943)
    9. org.hibernate.loader.Loader.executeQueryStatement(Loader.java:1896)
    10. org.hibernate.loader.Loader.executeQueryStatement(Loader.java:1874)
    11. org.hibernate.loader.Loader.doQuery(Loader.java:919)
    12. org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:336)
    13. org.hibernate.loader.Loader.doList(Loader.java:2610)
    14. org.hibernate.loader.Loader.doList(Loader.java:2593)
    15. org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2422)
    16. org.hibernate.loader.Loader.list(Loader.java:2417)
    17. org.hibernate.loader.criteria.CriteriaLoader.list(CriteriaLoader.java:109)
    18. org.hibernate.internal.SessionImpl.list(SessionImpl.java:1787)
    19. org.hibernate.internal.CriteriaImpl.list(CriteriaImpl.java:363)
    19 frames
  3. org.yamj.core
    ArtworkStorageService$$FastClassBySpringCGLIB$$9e265e32.invoke
    1. org.yamj.core.database.dao.ArtworkDao.getArtworkLocatedWithCacheFilename(ArtworkDao.java:149)
    2. org.yamj.core.database.service.ArtworkStorageService.checkArtworkSanity(ArtworkStorageService.java:275)
    3. org.yamj.core.database.service.ArtworkStorageService$$FastClassBySpringCGLIB$$9e265e32.invoke(<generated>)
    3 frames
  4. Spring Core
    MethodProxy.invoke
    1. org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
    1 frame
  5. Spring AOP
    ReflectiveMethodInvocation.proceed
    1. org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:720)
    2. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
    2 frames
  6. Spring Tx
    TransactionInterceptor.invoke
    1. org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
    2. org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281)
    3. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
    3 frames
  7. Spring AOP
    CglibAopProxy$DynamicAdvisedInterceptor.intercept
    1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
    2. org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:655)
    2 frames
  8. org.yamj.core
    ExecutionTaskScheduler.executeTasks
    1. org.yamj.core.database.service.ArtworkStorageService$$EnhancerBySpringCGLIB$$9fe6a45a.checkArtworkSanity(<generated>)
    2. org.yamj.core.service.tasks.ArtworkSanityTask.execute(ArtworkSanityTask.java:65)
    3. org.yamj.core.service.tasks.ExecutionTaskService.executeTask(ExecutionTaskService.java:70)
    4. org.yamj.core.scheduling.ExecutionTaskScheduler.executeTasks(ExecutionTaskScheduler.java:45)
    4 frames
  9. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    4. java.lang.reflect.Method.invoke(Unknown Source)
    4 frames
  10. Spring Context
    DelegatingErrorHandlingRunnable.run
    1. org.springframework.scheduling.support.ScheduledMethodRunnable.run(ScheduledMethodRunnable.java:65)
    2. org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54)
    2 frames
  11. Java RT
    Thread.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
    2. java.util.concurrent.FutureTask.runAndReset(Unknown Source)
    3. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source)
    4. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
    5. java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    6. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    7. java.lang.Thread.run(Unknown Source)
    7 frames