java.lang.IllegalArgumentException: PWC2788: setAttribute: Non-serializable attribute with name scopedTarget.org.springframework.security.oauth2.client.cont ext.DefaultOAuth2ClientContext#0

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

Solutions on the web

via Spring JIRA by Julien Gerlier, 1 year ago
PWC2788: setAttribute: Non-serializable attribute with name scopedTarget.org.springframework.security.oauth2.client.cont ext.DefaultOAuth2ClientContext#0
via Spring JIRA by Julien Gerlier, 1 year ago
PWC2788: setAttribute: Non-serializable attribute with name scopedTarget.org.springframework.security.oauth2.client.cont ext.DefaultOAuth2ClientContext#0
via Oracle Community by 807567, 1 year ago
WEB3446: setAttribute: Non-serializable attribute
via Oracle Community by 807567, 4 months ago
WEB3446: setAttribute: Non-serializable attribute
via dolinked.com by Unknown author, 2 years ago
via Stack Overflow by Unknown author, 2 years ago
java.lang.IllegalArgumentException: PWC2788: setAttribute: Non-serializable attribute with name scopedTarget.org.springframework.security.oauth2.client.cont ext.DefaultOAuth2ClientContext#0
at org.apache.catalina.session.StandardSession.setAttribute(StandardSession.java:1695)
at org.springframework.web.context.request.ServletRequestAttributes.setAttribute(ServletRequestAttributes.java:133)
at org.springframework.web.context.request.AbstractRequestAttributesScope.get(AbstractRequestAttributesScope.java:44)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:328)
at org.springframework.aop.target.SimpleBeanTargetSource.getTarget(SimpleBeanTargetSource.java:33)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 years ago

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