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

Stack Overflow | klonq | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards 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 | 8 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