java.lang.ClassCastException: java.lang.Long cannot be cast to java.lang.String

Spring JIRA | Antoine Dupuis | 4 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    ClassCastException when calling PathMetadata.getName()

    GitHub | 4 years ago | mnshdw
    java.lang.ClassCastException: java.lang.Long cannot be cast to java.lang.String
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ClassCastException

      java.lang.Long cannot be cast to java.lang.String

      at com.mysema.query.types.PathMetadata.getName()
    2. Querydsl - Core module
      PathMetadata.getName
      1. com.mysema.query.types.PathMetadata.getName(PathMetadata.java:70)
      1 frame
    3. Spring Data MongoDB - Core
      SpringDataMongodbSerializer.getKeyForPath
      1. org.springframework.data.mongodb.repository.support.SpringDataMongodbSerializer.getKeyForPath(SpringDataMongodbSerializer.java:66)
      1 frame