java.lang.IllegalArgumentException: Unexpected type [null] passed with TemporalType; expecting Date or Calendar

Hibernate JIRA | Jeroen Benckhuijsen | 2 years ago
  1. 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
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 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)]
  4. 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)]

  1. MoYapro 1 times, last 1 month ago
  2. MoYapro 1 times, last 1 month ago
  3. tvrmsmith 2 times, last 4 months ago
  4. davidvanlaatum 2 times, last 7 months ago
  5. tjago 1 times, last 8 months ago
10 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.IllegalArgumentException

    Unexpected type [null] passed with TemporalType; expecting Date or Calendar

    at org.hibernate.jpa.internal.QueryImpl$ParameterRegistrationImpl.bindValue()
  2. org.hibernate.jpa
    AbstractQueryImpl.setParameter
    1. org.hibernate.jpa.internal.QueryImpl$ParameterRegistrationImpl.bindValue(QueryImpl.java:318)
    2. org.hibernate.jpa.spi.BaseQueryImpl.setParameter(BaseQueryImpl.java:656)
    3. org.hibernate.jpa.spi.AbstractQueryImpl.setParameter(AbstractQueryImpl.java:192)
    4. org.hibernate.jpa.spi.AbstractQueryImpl.setParameter(AbstractQueryImpl.java:49)
    4 frames