java.lang.IllegalArgumentException: Invalid character '+' for QUERY_PARAM in "User+denied+access"

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 Alexander Kharitonov, 1 year ago
Invalid character '+' for QUERY_PARAM in "User+denied+access"
via Spring JIRA by Alexander Kharitonov, 1 year ago
Invalid character '+' for QUERY_PARAM in "User+denied+access"
via GitHub by hackeys
, 11 months ago
Invalid character ':' for HOST_IPV4 in "10.14.34.73:8181"
via GitHub by vetrivelan25
, 10 months ago
Invalid character ':' for HOST_IPV4 in "http://66.228.26.201:8282/"
java.lang.IllegalArgumentException: Invalid character '+' for QUERY_PARAM in "User+denied+access"
at org.springframework.web.util.HierarchicalUriComponents.verifyUriComponent(HierarchicalUriComponents.java:298)
at org.springframework.web.util.HierarchicalUriComponents.verify(HierarchicalUriComponents.java:267)
at org.springframework.web.util.HierarchicalUriComponents.(HierarchicalUriComponents.java:85)
at org.springframework.security.oauth2.client.filter.OAuth2ClientContextFilter.calculateCurrentUri(OAuth2ClientContextFilter.java:126)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192)
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)

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.

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