java.lang.IllegalStateException: Illegal attempt to dereference path source [null.credentials] of basic type

Spring JIRA | David Harrigan | 3 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Filter on join table attribute

    GitHub | 12 months ago | ekalabs
    java.lang.IllegalStateException: Illegal attempt to dereference path source [null.addresses] of basic type
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Spring jpa criteriaBuilder search in a list

    Stack Overflow | 1 year ago | CVV
    java.lang.IllegalStateException: Illegal attempt to dereference path source [null.authors] of basic type
  4. 0

    How to use javax.persistence.criteria.Predicate with complex types?

    Stack Overflow | 1 year ago | Alessandro C
    java.lang.IllegalStateException: Illegal attempt to dereference path source [null.documents] of basic type

  1. Axelo 1 times, last 4 weeks ago
2 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.IllegalStateException

    Illegal attempt to dereference path source [null.credentials] of basic type

    at org.hibernate.jpa.criteria.path.AbstractPathImpl.illegalDereference()
  2. org.hibernate.jpa
    AbstractPathImpl.get
    1. org.hibernate.jpa.criteria.path.AbstractPathImpl.illegalDereference(AbstractPathImpl.java:98)[hibernate-entitymanager-4.3.1.Final.jar:4.3.1.Final]
    2. org.hibernate.jpa.criteria.path.AbstractPathImpl.get(AbstractPathImpl.java:182)[hibernate-entitymanager-4.3.1.Final.jar:4.3.1.Final]
    2 frames
  3. Spring Data JPA
    QueryUtils.toExpressionRecursively
    1. org.springframework.data.jpa.repository.query.QueryUtils.toExpressionRecursively(QueryUtils.java:499)[spring-data-jpa-1.5.0.RELEASE.jar:na]
    2. org.springframework.data.jpa.repository.query.QueryUtils.toExpressionRecursively(QueryUtils.java:458)[spring-data-jpa-1.5.0.RELEASE.jar:na]
    3. org.springframework.data.jpa.repository.query.QueryUtils.toExpressionRecursively(QueryUtils.java:455)[spring-data-jpa-1.5.0.RELEASE.jar:na]
    3 frames