java.lang.IllegalArgumentException: Cannot invoke getter of property 'classes' of bean 'class java.lang.Class'.

Stack Overflow | klonq | 7 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

    OmniFaces Json#encode() stack overflow with IllegalArgumentException: Cannot invoke getter of property 'classes' of bean 'class java.lang.Class'

    Stack Overflow | 7 months ago | klonq
    java.lang.IllegalArgumentException: Cannot invoke getter of property 'classes' of bean 'class java.lang.Class'.

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Cannot invoke getter of property 'classes' of bean 'class java.lang.Class'.

      at org.omnifaces.util.Json.encodeBean()
    2. org.omnifaces.util
      Json.encodeArray
      1. org.omnifaces.util.Json.encodeBean(Json.java:178)
      2. org.omnifaces.util.Json.encode(Json.java:89)
      3. org.omnifaces.util.Json.encodeBean(Json.java:191)
      4. org.omnifaces.util.Json.encode(Json.java:89)
      5. org.omnifaces.util.Json.encodeArray(Json.java:123)
      6. org.omnifaces.util.Json.encode(Json.java:83)
      7. org.omnifaces.util.Json.encodeBean(Json.java:191)
      8. org.omnifaces.util.Json.encode(Json.java:89)
      9. org.omnifaces.util.Json.encodeBean(Json.java:191)
      10. org.omnifaces.util.Json.encode(Json.java:89)
      11. org.omnifaces.util.Json.encodeArray(Json.java:123)
      12. org.omnifaces.util.Json.encode(Json.java:83)
      13. org.omnifaces.util.Json.encodeBean(Json.java:191)
      14. org.omnifaces.util.Json.encode(Json.java:89)
      15. org.omnifaces.util.Json.encodeBean(Json.java:191)
      16. org.omnifaces.util.Json.encode(Json.java:89)
      17. org.omnifaces.util.Json.encodeBean(Json.java:191)
      18. org.omnifaces.util.Json.encode(Json.java:89)
      19. org.omnifaces.util.Json.encodeArray(Json.java:123)
      19 frames