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.

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 Oracle Community by 843833, 1 year ago
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.
via hivmr.com by Unknown author, 1 year ago
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.
via Oracle Community by okmich-JavaNet, 1 year ago
You have attempted to set a parameter value using a name of :sexCd that does not exist in the query string SELECT o FROM AnnuityPolicy o WHERE o.status = :status AND o.lastName LIKE :lastName AND o.sexCd = :sexCd.
via Oracle Community by 604984, 1 year ago
You have attempted to set a value of type class mypackage.model.GeoPos$GeoType for parameter type with expected type of class mypackage.model.GeoPos$GeoType from query string SELECT pos FROM GeoPos pos WHERE pos.type = :type .
via Coderanch by Siegfried Heintze, 11 months ago
You have attempted to set a parameter at position 1 which does not exist in this query string DELETE FROM Employee e WHERE e.employeeID > 0.
via Coderanch by Siegfried Heintze, 11 months ago
You have attempted to set a parameter at position 1 which does not exist in this query string DELETE FROM Employee e WHERE e.employeeID > 0.
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(EJBQueryImpl.java:617)
at oracle.toplink.essentials.internal.ejb.cmp3.EJBQueryImpl.setParameter(EJBQueryImpl.java:161)
at com.mysite.core.ServiceThread.run(ServiceThread.java:79)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.