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

Hibernate JIRA | Jeroen Benckhuijsen | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  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

    UserType and ParameterizedType changes during query.setParameter for custom Enum values in wildfly 10

    Stack Overflow | 2 months ago | inor
    java.lang.IllegalArgumentException: Parameter value element [ACT] did not match expected type [com.mine.enums.AgrementEnums$AgreementStatusEnum (n/a)]
  4. 0

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

    GitHub | 3 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)]

  1. kjhdofjosvs 3 times, last 3 months ago
  2. MoYapro 1 times, last 4 months ago
  3. tvrmsmith 2 times, last 7 months ago
  4. davidvanlaatum 2 times, last 9 months ago
  5. tjago 1 times, last 11 months ago
11 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