java.lang.IllegalStateException: No ObjectCodec defined for the generator, can only serialize simple wrapper types (type passed java.util.Collec ns$UnmodifiableRandomAccessList)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Apereo Issues by Misagh Moayyed, 1 year ago
No ObjectCodec defined for the generator, can only serialize simple wrapper types (type passed java.util.Collec ns$UnmodifiableRandomAccessList)
via Apereo Issues by Misagh Moayyed, 1 year ago
No ObjectCodec defined for the generator, can only serialize simple wrapper types (type passed java.util.Collec ns$UnmodifiableRandomAccessList)
via GitHub by empiricalthought
, 4 months ago
No ObjectCodec defined for the generator, can only serialize simple wrapper types (type passed org.nuxeo.ecm.platform.usermanager.NuxeoPrincipalImpl)
via GitHub by empiricalthought
, 2 years ago
No ObjectCodec defined for the generator, can only serialize simple wrapper types (type passed org.nuxeo.ecm.platform.usermanager.NuxeoPrincipalImpl)
via Spring JIRA by Jaime L. López Carratalá, 1 year ago
No ObjectCodec defined for the generator, can only serialize simple wrapper types (type passed java.util.Date)
via Spring JIRA by Jaime L. López Carratalá, 1 year ago
No ObjectCodec defined for the generator, can only serialize simple wrapper types (type passed java.util.Date)
java.lang.IllegalStateException: No ObjectCodec defined for the generator, can only serialize simple wrapper types (type passed java.util.Collec ns$UnmodifiableRandomAccessList)
at com.fasterxml.jackson.core.base.GeneratorBase._writeSimpleObject(GeneratorBase.java:515)
at com.fasterxml.jackson.core.base.GeneratorBase.writeObject(GeneratorBase.java:262)
at org.jasig.cas.support.oauth.web.OAuth20ProfileController.handleRequestInternal(OAuth20ProfileController.java:100)
at org.jasig.cas.support.oauth.web.OAuth20WrapperController.internalHandleRequest(OAuth20WrapperController.java:79)
at org.jasig.cas.support.oauth.web.BaseOAuthWrapperController.handleRequestInternal(BaseOAuthWrapperController.java:62)
at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:923)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
at org.jasig.cas.web.init.SafeDispatcherServlet.service_aroundBody2(SafeDispatcherServlet.java:128)
at org.jasig.cas.web.init.SafeDispatcherServlet.service_aroundBody3$advice(SafeDispatcherServlet.java:57)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.