java.lang.IllegalArgumentException

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

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Stack trace

  • java.lang.IllegalArgumentException: Cannot invoke getter of property 'classes' of bean 'class java.lang.Class'. at org.omnifaces.util.Json.encodeBean(Json.java:178) at org.omnifaces.util.Json.encode(Json.java:89) at org.omnifaces.util.Json.encodeBean(Json.java:191) at org.omnifaces.util.Json.encode(Json.java:89) at org.omnifaces.util.Json.encodeArray(Json.java:123) at org.omnifaces.util.Json.encode(Json.java:83) at org.omnifaces.util.Json.encodeBean(Json.java:191) at org.omnifaces.util.Json.encode(Json.java:89) at org.omnifaces.util.Json.encodeBean(Json.java:191) at org.omnifaces.util.Json.encode(Json.java:89) at org.omnifaces.util.Json.encodeArray(Json.java:123) at org.omnifaces.util.Json.encode(Json.java:83) at org.omnifaces.util.Json.encodeBean(Json.java:191) at org.omnifaces.util.Json.encode(Json.java:89) at org.omnifaces.util.Json.encodeBean(Json.java:191) at org.omnifaces.util.Json.encode(Json.java:89) at org.omnifaces.util.Json.encodeBean(Json.java:191) at org.omnifaces.util.Json.encode(Json.java:89) at org.omnifaces.util.Json.encodeArray(Json.java:123)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

We couldn't find other users who have seen this exception.