java.lang.IllegalArgumentException: Parameter value [Tue Aug 02 10:25:36 CEST 2016] did not match expected type [java.lang.String (n/a)]

Stack Overflow | cheb1k4 | 4 months ago
  1. 0

    JPA "treat as" does not work

    Stack Overflow | 4 months ago | cheb1k4
    java.lang.IllegalArgumentException: Parameter value [Tue Aug 02 10:25:36 CEST 2016] did not match expected type [java.lang.String (n/a)]
  2. 0

    java.lang.IllegalArgumentException: Parameter value [xx] did not match expected type [xx]

    Stack Overflow | 1 year ago | Punkmati
    java.lang.IllegalArgumentException: Parameter value [3] did not match expected type [Rol.Alumno (n/a)]
  3. 0

    "java.lang.IllegalArgumentException: Parameter with that position [1] did not exist" When I use spring-data-jpa

    Stack Overflow | 2 years ago | user4452083
    java.lang.IllegalArgumentException: Parameter with that position [1] did not exist
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Bug: Parameter value [2014-08-23] did not match expected type [org.joda.time.DateTime (n/a)];

    GitHub | 2 years ago | alecswan
    org.springframework.dao.InvalidDataAccessApiUsageException: Parameter value [2014-08-23] did not match expected type [org.joda.time.DateTime (n/a)]; nested exception is java.lang.IllegalArgumentException: Parameter value [2014-08-23] did not match expected type [org.joda.time.DateTime (n/a)]
  6. 0

    querydsl instanceof results in wrong query for hibernate Type(1)

    Stack Overflow | 2 years ago | Bludream
    java.lang.IllegalArgumentException: Parameter value [BasketDiscount] did not match expected type [java.lang.Integer (n/a)]
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

    Parameter value [Tue Aug 02 10:25:36 CEST 2016] did not match expected type [java.lang.String (n/a)]

    at org.hibernate.jpa.spi.BaseQueryImpl.validateBinding()
  2. org.hibernate.jpa
    AbstractQueryImpl.setParameter
    1. org.hibernate.jpa.spi.BaseQueryImpl.validateBinding(BaseQueryImpl.java:874)[hibernate-entitymanager-4.3.10.Final.jar:4.3.10.Final]
    2. org.hibernate.jpa.internal.QueryImpl.access$000(QueryImpl.java:80)[hibernate-entitymanager-4.3.10.Final.jar:4.3.10.Final]
    3. org.hibernate.jpa.internal.QueryImpl$ParameterRegistrationImpl.bindValue(QueryImpl.java:248)[hibernate-entitymanager-4.3.10.Final.jar:4.3.10.Final]
    4. org.hibernate.jpa.spi.BaseQueryImpl.setParameter(BaseQueryImpl.java:620)[hibernate-entitymanager-4.3.10.Final.jar:4.3.10.Final]
    5. org.hibernate.jpa.spi.AbstractQueryImpl.setParameter(AbstractQueryImpl.java:180)[hibernate-entitymanager-4.3.10.Final.jar:4.3.10.Final]
    6. org.hibernate.jpa.spi.AbstractQueryImpl.setParameter(AbstractQueryImpl.java:49)[hibernate-entitymanager-4.3.10.Final.jar:4.3.10.Final]
    6 frames
  3. com.actility.energy
    DocumentDaoBean.find
    1. com.actility.energy.customer.area.dao.DocumentDaoBean.buildQuery(DocumentDaoBean.java:197)[customer-area-ejb.jar:]
    2. com.actility.energy.customer.area.dao.DocumentDaoBean.find(DocumentDaoBean.java:147)[customer-area-ejb.jar:]
    2 frames
  4. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[rt.jar:1.8.0_65]
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[rt.jar:1.8.0_65]
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[rt.jar:1.8.0_65]
    4. java.lang.reflect.Method.invoke(Method.java:497)[rt.jar:1.8.0_65]
    4 frames
  5. JBoss Application Server: EE
    ManagedReferenceMethodInterceptor.processInvocation
    1. org.jboss.as.ee.component.ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptor.java:52)
    1 frame
  6. JBoss Application Server Server
    InterceptorContext$Invocation.proceed
    1. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    2. org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:437)
    2 frames
  7. Weld
    Jsr299BindingsInterceptor.processInvocation
    1. org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.doMethodInterception(Jsr299BindingsInterceptor.java:82)[wildfly-weld-9.0.2.Final.jar:9.0.2.Final]
    2. org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.processInvocation(Jsr299BindingsInterceptor.java:93)[wildfly-weld-9.0.2.Final.jar:9.0.2.Final]
    2 frames
  8. JBoss Application Server: EE
    UserInterceptorFactory$1.processInvocation
    1. org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:63)
    1 frame
  9. JBoss Application Server Server
    InterceptorContext.proceed
    1. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    1 frame
  10. JBoss Application Server: EJB Subsystem
    ExecutionTimeInterceptor.processInvocation
    1. org.jboss.as.ejb3.component.invocationmetrics.ExecutionTimeInterceptor.processInvocation(ExecutionTimeInterceptor.java:43)[wildfly-ejb3-9.0.2.Final.jar:9.0.2.Final]
    1 frame
  11. JBoss Application Server Server
    InterceptorContext.proceed
    1. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    1 frame
  12. JPA
    SBInvocationInterceptor.processInvocation
    1. org.jboss.as.jpa.interceptor.SBInvocationInterceptor.processInvocation(SBInvocationInterceptor.java:47)[wildfly-jpa-9.0.2.Final.jar:9.0.2.Final]
    1 frame
  13. JBoss Application Server Server
    InterceptorContext$Invocation.proceed
    1. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    2. org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:437)
    2 frames
  14. Weld Implementation
    AbstractEJBRequestScopeActivationInterceptor.aroundInvoke
    1. org.jboss.weld.ejb.AbstractEJBRequestScopeActivationInterceptor.aroundInvoke(AbstractEJBRequestScopeActivationInterceptor.java:64)[weld-core-impl-2.2.16.SP1.jar:2015-09-16 08:49]
    1 frame
  15. Weld
    EjbRequestScopeActivationInterceptor.processInvocation
    1. org.jboss.as.weld.ejb.EjbRequestScopeActivationInterceptor.processInvocation(EjbRequestScopeActivationInterceptor.java:83)[wildfly-weld-9.0.2.Final.jar:9.0.2.Final]
    1 frame
  16. JBoss Application Server Server
    InterceptorContext.proceed
    1. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    1 frame
  17. WildFly: EE
    ConcurrentContextInterceptor.processInvocation
    1. org.jboss.as.ee.concurrent.ConcurrentContextInterceptor.processInvocation(ConcurrentContextInterceptor.java:45)[wildfly-ee-9.0.2.Final.jar:9.0.2.Final]
    1 frame
  18. JBoss Application Server Server
    ChainedInterceptor.processInvocation
    1. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    2. org.jboss.invocation.InitialInterceptor.processInvocation(InitialInterceptor.java:21)
    3. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    4. org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
    4 frames
  19. JBoss Application Server: EE
    ComponentDispatcherInterceptor.processInvocation
    1. org.jboss.as.ee.component.interceptors.ComponentDispatcherInterceptor.processInvocation(ComponentDispatcherInterceptor.java:52)
    1 frame
  20. JBoss Application Server Server
    InterceptorContext.proceed
    1. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    1 frame
  21. JBoss Application Server: EJB Subsystem
    NonPooledEJBComponentInstanceAssociatingInterceptor.processInvocation
    1. org.jboss.as.ejb3.component.interceptors.NonPooledEJBComponentInstanceAssociatingInterceptor.processInvocation(NonPooledEJBComponentInstanceAssociatingInterceptor.java:59)[wildfly-ejb3-9.0.2.Final.jar:9.0.2.Final]
    1 frame
  22. JBoss Application Server Server
    InterceptorContext.proceed
    1. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    1 frame
  23. JBoss Application Server: EJB Subsystem
    CMTTxInterceptor.invokeInCallerTx
    1. org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInCallerTx(CMTTxInterceptor.java:254)[wildfly-ejb3-9.0.2.Final.jar:9.0.2.Final]
    1 frame