java.lang.IllegalArgumentException: Parameter value [28800000] was not matching type [java.lang.Long]

Kuali JIRA | Glenn Sudduth | 3 years ago
  1. 0

    What's difference between this two jqpl requests?

    Stack Overflow | 2 years ago | Pracede
    java.lang.IllegalArgumentException: Parameter value [First] was not matching type [java.lang.Integer]
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    QueryDsl-JPA SUM on Integer field - Parameter value did not match expected type

    Stack Overflow | 3 years ago | Arthur canardo'
    java.lang.IllegalArgumentException: Parameter value [0] did not match expected type [java.lang.Long]
  4. 0

    QueryDSL Creating query with @Embedded column

    GitHub | 2 years ago | miroslav24
    java.lang.IllegalArgumentException: Parameter value [Jo%] did not match expected type [com.package.CustomerName]

    3 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

      Parameter value [28800000] was not matching type [java.lang.Long]

      at org.hibernate.ejb.AbstractQueryImpl.registerParameterBinding()
    2. Hibernate EJB
      QueryImpl.setParameter
      1. org.hibernate.ejb.AbstractQueryImpl.registerParameterBinding(AbstractQueryImpl.java:360)
      2. org.hibernate.ejb.QueryImpl.setParameter(QueryImpl.java:364)
      3. org.hibernate.ejb.QueryImpl.setParameter(QueryImpl.java:72)
      3 frames
    3. org.kuali.rice
      QueryByCriteria.toQuery
      1. org.kuali.rice.core.framework.persistence.jpa.criteria.Criteria.prepareParameters(Criteria.java:1229)
      2. org.kuali.rice.core.framework.persistence.jpa.criteria.QueryByCriteria.toQuery(QueryByCriteria.java:48)
      2 frames
    4. org.kuali.student
      CriteriaLookupDaoJpaImpl.forRowResults
      1. org.kuali.student.r2.common.criteria.impl.CriteriaLookupDaoJpaImpl.forRowResults(CriteriaLookupDaoJpaImpl.java:189)
      1 frame