java.lang.IllegalArgumentException: Parameter value element [120] did not match expected type [[B (n/a)]

Spring JIRA | Thomas Darimont | 3 years ago
  1. 0

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

    Stack Overflow | 2 weeks ago | inor
    java.lang.IllegalArgumentException: Parameter value element [ACT] did not match expected type [com.mine.enums.AgrementEnums$AgreementStatusEnum (n/a)]
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    What is the Spring Data JPA method for the below query

    Stack Overflow | 5 months ago | sromit
    java.lang.IllegalArgumentException: Parameter value element [com.ge.power.brs.domains.Jobs@1196a0fb] did not match expected type [java.lang.Long (n/a)]
  4. 0

    How to query for Map values with Spring Data JPA?

    Stack Overflow | 2 years ago | Petar Tahchiev
    java.lang.IllegalArgumentException: Parameter value [en=Some Value] did not match expected type [com.test.LocalizedValue (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 element [120] did not match expected type [[B (n/a)]

      at org.hibernate.jpa.spi.BaseQueryImpl.validateCollectionValuedParameterBinding()
    2. org.hibernate.jpa
      BaseQueryImpl.validateCollectionValuedParameterBinding
      1. org.hibernate.jpa.spi.BaseQueryImpl.validateCollectionValuedParameterBinding(BaseQueryImpl.java:908)
      1 frame