java.lang.IllegalArgumentException: java.lang.reflect.InvocationTargetException

GitHub | tanapoln | 8 months 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

    Fetch result with ListPath.any().{field} cause NullPointerException

    GitHub | 8 months ago | tanapoln
    java.lang.IllegalArgumentException: java.lang.reflect.InvocationTargetException

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      java.lang.reflect.InvocationTargetException

      at com.mysema.codegen.MethodEvaluator.evaluate()
    2. com.mysema.codegen
      MethodEvaluator.evaluate
      1. com.mysema.codegen.MethodEvaluator.evaluate(MethodEvaluator.java:52)
      1 frame
    3. com.querydsl.collections
      AbstractCollQuery.fetchResults
      1. com.querydsl.collections.DefaultQueryEngine.evaluateMultipleSources(DefaultQueryEngine.java:116)
      2. com.querydsl.collections.DefaultQueryEngine.count(DefaultQueryEngine.java:57)
      3. com.querydsl.collections.AbstractCollQuery.fetchResults(AbstractCollQuery.java:189)
      3 frames