java.lang.IllegalArgumentException: You have attempted to set a value of type class com.mysite.core.ProcessStatus for parameter status with expected type of class com.mysite.core.ProcessStatus from query string SELECT DISTINCT object(o) FROM RequestJob AS o, IN (o.copyRoots) c WHERE c.status=:status AND c.service.id=:serviceID.

hivmr.com | 5 months ago
  1. 0

    db:: 3.79::Would you put an enum in another class? jx

    hivmr.com | 5 months ago
    java.lang.IllegalArgumentException: You have attempted to set a value of type class com.mysite.core.ProcessStatus for parameter status with expected type of class com.mysite.core.ProcessStatus from query string SELECT DISTINCT object(o) FROM RequestJob AS o, IN (o.copyRoots) c WHERE c.status=:status AND c.service.id=:serviceID.
  2. 0

    IllegalArgumentException during Query, but the classes are the same

    Oracle Community | 9 years ago | 843833
    java.lang.IllegalArgumentException: You have attempted to set a value of type class com.mysite.core.ProcessStatus for parameter status with expected type of class com.mysite.core.ProcessStatus from query string SELECT DISTINCT object(o) FROM RequestJob AS o, IN (o.copyRoots) c WHERE c.status=:status AND c.service.id=:serviceID.
  3. 0

    Setting a parameter as a list for an IN expression

    Stack Overflow | 7 years ago | perilandmishap
    java.lang.IllegalArgumentException: You have attempted to set a value of type class java.util.Arrays$ArrayList for parameter accountIds with expected type of class java.lang.Long from query string SELECT a.accountManager.loginName FROM Account a WHERE a.id IN (:accountIds).
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    NamedQuery not found | Oracle Community

    oracle.com | 1 year ago
    java.lang.IllegalArgumentException: NamedQuery of name: ListingTestiSeo.findByLangZonaTipoZonaId not found.
  6. 0

    Having an exception when using TopLink on WebLogic

    Stack Overflow | 1 year ago | Khalid Galal
    java.lang.IllegalArgumentException: NamedQuery of name: TblPkgFeature.getFeaturesData not found:

    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.IllegalArgumentException

      You have attempted to set a value of type class com.mysite.core.ProcessStatus for parameter status with expected type of class com.mysite.core.ProcessStatus from query string SELECT DISTINCT object(o) FROM RequestJob AS o, IN (o.copyRoots) c WHERE c.status=:status AND c.service.id=:serviceID.

      at oracle.toplink.essentials.internal.ejb.cmp3.base.EJBQueryImpl.setParameterInternal()
    2. oracle.toplink.essentials
      EJBQueryImpl.setParameter
      1. oracle.toplink.essentials.internal.ejb.cmp3.base.EJBQueryImpl.setParameterInternal(EJBQueryImpl.java:617)
      2. oracle.toplink.essentials.internal.ejb.cmp3.EJBQueryImpl.setParameter(EJBQueryImpl.java:161)
      2 frames
    3. com.mysite.core
      ServiceThread.run
      1. com.mysite.core.ServiceThread.run(ServiceThread.java:79)
      1 frame