← All tasks
javaapolloconfig/apollo #4536Not a task: already works

after apollo spring session upgrade with config class SpringSessionConfig, LDAP login error

envgap__apolloconfig__apollo-4536

01 / FAILURE SIGNATURE

As reported upstream

org.springframework.core.convert.ConversionFailedException: Failed to convert from type [byte[]] to type [java.lang.Object] for value '{-84, -19, 0, 5, 115, 114, 0, 61, 111, 114, 103, 46, 115, 112, 114, 105, 110, 103, 102, 114, 97, 109, 101, 119, 111, 114, 107, 46, 115, 101, 99, 117, 114, 105, 116, 121, 46, 99, 111, 114, 101, 46, 99, 111, 110, 116, 101, 120, 116, 46, 83, 101, 99, 117, 114, 105, 116, 121, 67, 111, 110, 116, 101, 120, 116, 73, 109, 112, 108, 0, 0, 0, 0, 0, 0, 2, 28, 2, 0, 1, 76, 0, 14, 97, 117, 116, 104, 101, 110, 116, 105, 99, 97, 116, 105, 111, 110, 116, 0, 50, 76, 111, 114, 103, 47, 115, 112, 114, 105, 110, 103, 102, 114, 97, 109, 101, 119, 111, 114, 107, 47, 115, 101, 99, 117, 114, 105, 116, 121, 47, 99, 111, 114, 101, 47, 65, 117, 116, 104, 101, 110, 116, 105, 99, 97, 116, 105, 111, 110, 59, 120, 112, 115, 114, 0, 79, 111, 114, 103, 46, 115, 112, 114, 105, 110, 103, 102, 114, 97, 109, 101, 119, 111, 114, 107, 46, 115, 101, 99, 117, 114, 105, 116, 121, 46, 97, 117, 116, 104, 101, 110, 116, 105, 99, 97, 116, 105, 111, 110, 46, 85, 115, 101, 114, 110, 97, 109, 101, 80, 97, 115, 115, 119, 111, 114, 100, 65, 117, 116, 104, 101, 110, 116, 105, 99, 97, 116, 105, 111, 110, 84, 111, 107, 101, 110, 0, 0, 0, 0, 0, 0, 2, 28, 2, 0, 2, 76, 0, 11, 99, 114, 101, 100, 101, 110, 116, 105, 97, 108, 115, 116, 0, 18, 76, 106, 97, 118, 97, 47, 108, 97, 110, 103, 47, 79, 98, 106, 101, 99, 116, 59, 76, 0, 9, 112, 114, 105, 110, 99, 105, 112, 97, 108, 113, 0, 126, 0, 4, 120, 114, 0, 71, 111, 114, 103, 46, 115, 112, 114, 105, 110, 103, 102, 114, 97, 109, 101, 119, 111, 114, 107, 46, 115, 101, 99, 117, 114, 105, 116, 121, 46, 97, 117, 116, 104, 101, 110, 116, 105, 99, 97, 116, 105, 111, 110, 46, 65, 98, 115, 116, 114, 97, 99, 116, 65, 117, 116, 104, 101, 110, 116, 105, 99, 97, 116, 105, 111, 110, 84, 111, 107, 101, 110, -45, -86, 40, 126, 110, 71, 100, 14, 2, 0, 3, 90, 0, 13, 97, 117, 116, 104, 101, 110, 116, 105, 99, 97, 116, 101, 100, 76, 0, 11, 97, 117, 116, 104, 111, 1
Not a benchmark task.
  • The project already builds and runs before the fix, so there is nothing to repair.

02 / ENVIRONMENT RECIPE

Base commit
f541ff2a718954172f3e64142160daae46ba52a2
Manifest
pom.xml
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

apolloconfig/apollo #4536 · read the original issue
<!-- The content in here will not be show。To forbid duplication,easier search in the feature,before you create an issue,please check the following. If your question is a newer/beginner's,recommand to https://github.com/ctripcorp/apollo/discussions to ask it. -->



- [yes] I have checked the [discussions](https://github.com/ctripcorp/apollo/discussions)

- [yes] I have searched the [issues](https://github.com/ctripcorp/apollo/issues) of this repository and believe that this is not a duplicate.

- [ yes] I have checked the [FAQ](https://www.apolloconfig.com/#/zh/faq/common-issues-in-deployment-and-development-phase) of this repository and believe that this is not a duplicate.



**Describe the bug**

after apollo spring session upgrade with config class SpringSessionConfig(#4484), ladp login error. http 500. 

Spring-session JSON deserializing error.

**To Reproduce**

Steps to reproduce the behavior:

1. use ladp profile to start portal

2. login with ladp account





**Expected behavior**

http 500



**Screenshots**

<img width="1372" alt="image" src="https://user-images.githubusercontent.com/22760327/187116596-257f36a6-d046-42c5-a021-db35c194ef6c.png">







### Additional Details & Logs

 



- Version 2.1.0

- Error logs 

``` text

org.springframework.core.convert.ConversionFailedException: Failed to convert from type [byte[]] to type [java.lang.Object] for value '{-84, -19, 0, 5, 115, 114, 0, 61, 111, 114, 103, 46, 115, 112, 114, 105, 110, 103, 102, 114, 97, 109, 101, 119, 111, 114, 107, 46, 115, 101, 99, 117, 114, 105, 116, 121, 46, 99, 111, 114, 101, 46, 99, 111, 110, 116, 101, 120, 116, 46, 83, 101, 99, 117, 114, 105, 116, 121, 67, 111, 110, 116, 101, 120, 116, 73, 109, 112, 108, 0, 0, 0, 0, 0, 0, 2, 28, 2, 0, 1, 76, 0, 14, 97, 117, 116, 104, 101, 110, 116, 105, 99, 97, 116, 105, 111, 110, 116, 0, 50, 76, 111, 114, 103, 47, 115, 112, 114, 105, 110, 103, 102, 114, 97, 109, 101, 119, 111, 114, 107, 47, 115, 101, 99, 117, 114, 105, 116, 121, 47, 99, 111, 114, 101, 47, 65, 117, 116, 104, 101, 110, 116, 105, 99, 97, 116, 105, 111, 110, 59, 120, 112, 115, 114, 0, 79, 111, 114, 103, 46, 115, 112, 114, 105, 110, 103, 102, 114, 97, 109, 101, 119, 111, 114, 107, 46, 115, 101, 99, 117, 114, 105, 116, 121, 46, 97, 117, 116, 104, 101, 110, 116, 105, 99, 97, 116, 105, 111, 110, 46, 85, 115, 101, 114, 110, 97, 109, 101, 80, 97, 115, 115, 119, 111, 114, 100, 65, 117, 116, 104, 101, 110, 116, 105, 99, 97, 116, 105, 111, 110, 84, 111, 107, 101, 110, 0, 0, 0, 0, 0, 0, 2, 28, 2, 0, 2, 76, 0, 11, 99, 114, 101, 100, 101, 110, 116, 105, 97, 108, 115, 116, 0, 18, 76, 106, 97, 118, 97, 47, 108, 97, 110, 103, 47, 79, 98, 106, 101, 99, 116, 59, 76, 0, 9, 112, 114, 105, 110, 99, 105, 112, 97, 108, 113, 0, 126, 0, 4, 120, 114, 0, 71, 111, 114, 103, 46, 115, 112, 114, 105, 110, 103, 102, 114, 97, 109, 101, 119, 111, 114, 107, 46, 115, 101, 99, 117, 114, 105, 116, 121, 46, 97, 117, 116, 104, 101, 110, 116, 105, 99, 97, 116, 105, 111, 110, 46, 65, 98, 115, 116, 114, 97, 99, 116, 65, 117, 116, 104, 101, 110, 116, 105, 99, 97, 116, 105, 111, 110, 84, 111, 107, 101, 110, -45, -86, 40, 126, 110, 71, 100, 14, 2, 0, 3, 90, 0, 13, 97, 117, 116, 104, 101, 110, 116, 105, 99, 97, 116, 101, 100, 76, 0, 11, 97, 117, 116, 104, 111, 114, 105, 116, 105, 101, 115, 116, 0, 22, 76, 106, 97, 118, 97, 47, 117, 116, 105, 108, 47, 67, 111, 108, 108, 101, 99, 116, 105, 111, 110, 59, 76, 0, 7, 100, 101, 116, 97, 105, 108, 115, 113, 0, 126, 0, 4, 120, 112, 1, 115, 114, 0, 38, 106, 97, 118, 97, 46, 117, 116, 105, 108, 46, 67, 111, 108, 108, 101, 99, 116, 105, 111, 110, 115, 36, 85, 110, 109, 111, 100, 105, 102, 105, 97, 98, 108, 101, 76, 105, 115, 116, -4, 15, 37, 49, -75, -20, -114, 16, 2, 0, 1, 76, 0, 4, 108, 105, 115, 116, 116, 0, 16, 76, 106, 97, 118, 97, 47, 117, 116, 105, 108, 47, 76, 105, 115, 116, 59, 120, 114, 0, 44, 106, 97, 118, 97, 46, 117, 116, 105, 108, 46, 67, 111, 108, 108, 101, 99, 116, 105, 111, 110, 115, 36, 85, 110, 109, 111, 100, 105, 102, 105, 97, 98, 108, 101, 67, 111, 108, 108, 101, 99, 116, 105, 111, 110, 25, 66, 0, -128, -53, 94, -9, 30, 2, 0, 1, 76, 0, 1, 99, 113, 0, 126, 0, 6, 120, 112, 115, 114, 0, 19, 106, 97, 118, 97, 46, 117, 116, 105, 108, 46, 65, 114, 114, 97, 121, 76, 105, 115, 116, 120, -127, -46, 29, -103, -57, 97, -99, 3, 0, 1, 73, 0, 4, 115, 105, 122, 101, 120, 112, 0, 0, 0, 0, 119, 4, 0, 0, 0, 0, 120, 113, 0, 126, 0, 13, 115, 114, 0, 72, 111, 114, 103, 46, 115, 112, 114, 105, 110, 103, 102, 114, 97, 109, 101, 119, 111, 114, 107, 46, 115, 101, 99, 117, 114, 105, 116, 121, 46, 119, 101, 98, 46, 97, 117, 116, 104, 101, 110, 116, 105, 99, 97, 116, 105, 111, 110, 46, 87, 101, 98, 65, 117, 116, 104, 101, 110, 116, 105, 99, 97, 116, 105, 111, 110, 68, 101, 116, 97, 105, 108, 115, 0, 0, 0, 0, 0, 0, 2, 28, 2, 0, 2, 76, 0, 13, 114, 101, 109, 111, 116, 101, 65, 100, 100, 114, 101, 115, 115, 116, 0, 18, 76, 106, 97, 118, 97, 47, 108, 97, 110, 103, 47, 83, 116, 114, 105, 110, 103, 59, 76, 0, 9, 115, 101, 115, 115, 105, 111, 110, 73, 100, 113, 0, 126, 0, 15, 120, 112, 116, 0, 14, 49, 48, 51, 46, 50, 48, 54, 46, 49, 57, 49, 46, 54, 56, 116, 0, 36, 52, 98, 52, 53, 57, 99, 102, 52, 45, 51, 99, 55, 56, 45, 52, 98, 52, 50, 45, 97, 97, 49, 49, 45, 52, 97, 57, 97, 54, 50, 52, 49, 56, 48, 51, 97, 112, 115, 114, 0, 65, 111, 114, 103, 46, 115, 112, 114, 105, 110, 103, 102, 114, 97, 109, 101, 119, 111, 114, 107, 46, 115, 101, 99, 117, 114, 105, 116, 121, 46, 108, 100, 97, 112, 46, 117, 115, 101, 114, 100, 101, 116, 97, 105, 108, 115, 46, 76, 100, 97, 112, 85, 115, 101, 114, 68, 101, 116, 97, 105, 108, 115, 73, 109, 112, 108, 0, 0, 0, 0, 0, 0, 2, 28, 2, 0, 10, 90, 0, 17, 97, 99, 99, 111, 117, 110, 116, 78, 111, 110, 69, 120, 112, 105, 114, 101, 100, 90, 0, 16, 97, 99, 99, 111, 117, 110, 116, 78, 111, 110, 76, 111, 99, 107, 101, 100, 90, 0, 21, 99, 114, 101, 100, 101, 110, 116, 105, 97, 108, 115, 78, 111, 110, 69, 120, 112, 105, 114, 101, 100, 90, 0, 7, 101, 110, 97, 98, 108, 101, 100, 73, 0, 20, 103, 114, 97, 99, 101, 76, 111, 103, 105, 110, 115, 82, 101, 109, 97, 105, 110, 105, 110, 103, 73, 0, 20, 116, 105, 109, 101, 66, 101, 102, 111, 114, 101, 69, 120, 112, 105, 114, 97, 116, 105, 111, 110, 76, 0, 11, 97, 117, 116, 104, 111, 114, 105, 116, 105, 101, 115, 113, 0, 126, 0, 6, 76, 0, 2, 100, 110, 113, 0, 126, 0, 15, 76, 0, 8, 112, 97, 115, 115, 119, 111, 114, 100, 113, 0, 126, 0, 15, 76, 0, 8, 117, 115, 101, 114, 110, 97, 109, 101, 113, 0, 126, 0, 15, 120, 112, 1, 1, 1, 1, 127, -1, -1, -1, 127, -1, -1, -1, 115, 113, 0, 126, 0, 8, 115, 113, 0, 126, 0, 12, 0, 0, 0, 0, 119, 4, 0, 0, 0, 0, 120, 113, 0, 126, 0, 22, 116, 0, 43, 99, 110, 61, 99, 104, 111, 110, 103, 99, 104, 111, 110, 103, 102, 97, 110, 44, 111, 117, 61, 85, 115, 101, 114, 115, 44, 100, 99, 61, 109, 105, 111, 116, 101, 99, 104, 44, 100, 99, 61, 99, 111, 109, 112, 116, 0, 13, 99, 104, 111, 110, 103, 99, 104, 111, 110, 103, 102, 97, 110}'; nested exception is java.lang.RuntimeException: Spring-session JSON deserializing error, This is usually caused by the system upgrade, please clear the browser cookies and try again.

	at org.springframework.core.convert.support.ConversionUtils.invokeConverter(ConversionUtils.java:47)

	at org.springframework.core.convert.support.GenericConversionService.convert(GenericConversionService.java:192)

	at org.springframework.session.jdbc.JdbcIndexedSessionRepository.deserialize(JdbcIndexedSessionRepository.java:628)

	at org.springframework.session.jdbc.JdbcIndexedSessionRepository.access$1900(JdbcIndexedSessionRepository.java:133)

	at org.springframework.session.jdbc.JdbcIndexedSessionRepository$SessionResultSetExtractor.lambda$extractData$0(JdbcIndexedSessionRepository.java:898)

	at org.springframework.session.jdbc.JdbcIndexedSessionRepository$4.get(JdbcIndexedSessionRepository.java:650)

	at org.springframework.session.jdbc.JdbcIndexedSessionRepository$JdbcSession.getAttribute(JdbcIndexedSessionRepository.java:728)

	at org.springframework.session.PrincipalNameIndexResolver.resolveIndexValueFor(PrincipalNameIndexResolver.java:46)

	at org.springframework.session.SingleIndexResolver.resolveIndexesFor(SingleIndexResolver.java:48)

	at org.springframework.session.DelegatingIndexResolver.resolveIndexesFor(DelegatingIndexResolver.java:49)

	at org.springframework.session.jdbc.JdbcIndexedSessionRepository$JdbcSession.lambda$save$11(JdbcIndexedSessionRepository.java:840)

	at org.springframework.transaction.support.TransactionOperations.lambda$executeWithoutResult$0(TransactionOperations.java:68)

	at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:140)

	at org.springframework.transaction.support.TransactionOperations.executeWithoutResult(TransactionOperations.java:67)

	at org.springframework.session.jdbc.JdbcIndexedSessionRepository$JdbcSession.save(JdbcIndexedSessionRepository.java:837)

	at org.springframework.session.jdbc.JdbcIndexedSessionRepository$JdbcSession.access$200(JdbcIndexedSessionRepository.java:665)

	at org.springframework.session.jdbc.JdbcIndexedSessionRepository.save(JdbcIndexedSessionRepository.java:422)

	at org.springframework.session.jdbc.JdbcIndexedSessionRepository.save(JdbcIndexedSessionRepository.java:133)

	at org.springframework.session.web.http.SessionRepositoryFilter$SessionRepositoryRequestWrapper.commitSession(SessionRepositoryFilter.java:226)

	at org.springframework.session.web.http.SessionRepositoryFilter$SessionRepositoryRequestWrapper.access$100(SessionRepositoryFilter.java:193)

	at org.springframework.session.web.http.SessionRepositoryFilter.doFilterInternal(SessionRepositoryFilter.java:145)

	at org.springframework.session.web.http.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:82)

	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)

	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)

	at org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter.doFilterInternal(WebMvcMetricsFilter.java:96)

	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)

	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)

	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)

	at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)

	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)

	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)

	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)

	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)

	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)

	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)

	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)

	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)

	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)

	at org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)

	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)

	at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)

	at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)

	at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:890)

	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1743)

	at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)

	at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)

	at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)

	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)

	at java.lang.Thread.run(Thread.java:750)

Caused by: java.lang.RuntimeException: Spring-session JSON deserializing error, This is usually caused by the system upgrade, please clear the browser cookies and try again.

	at com.ctrip.framework.apollo.portal.component.config.SpringSessionConfig.lambda$springSessionConversionService$1(SpringSessionConfig.java:61)

	at org.springframework.core.convert.support.GenericConversionService$ConverterAdapter.convert(GenericConversionService.java:386)

	at org.springframework.core.convert.support.ConversionUtils.invokeConverter(ConversionUtils.java:41)

	... 48 common frames omitted

Caused by: com.fasterxml.jackson.core.JsonParseException: Unexpected character ('¬' (code 172)): expected a valid value (JSON String, Number, Array, Object or token 'null', 'true' or 'false')

 at [Source: (byte[])"��\u0000\u0005sr\u0000=org.springframework.security.core.context.SecurityContextImpl\u0000\u0000\u0000\u0000\u0000\u0000\u0002\u001C\u0002\u0000\u0001L\u0000\u000Eauthenticationt\u00002Lorg/springframework/security/core/Authentication;xpsr\u0000Oorg.springframework.security.authentication.UsernamePasswordAuthenticationToken\u0000\u0000\u0000\u0000\u0000\u0000\u0002\u001C\u0002\u0000\u0002L\u0000\u000Bcredentialst\u0000\u0012Ljava/lang/Object;L\u0000\u0009principalq\u0000~\u0000\u0004xr\u0000Gorg.springframework.security.authentication.AbstractAuthenticationTokenӪ(~nGd\u000E\u0002\u0000\u0003Z\u0000

authenticatedL\u0000\u000Bauthoritiest\u0000\u0016Ljava/util/Collection;L\u0000\u0007detailsq\u0000~\u0000\u0004xp\u0001sr\u0000&java.util.Collections$UnmodifiableList�"[truncated 730 bytes]; line: 1, column: 2]

	at com.fasterxml.jackson.core.JsonParser._constructError(JsonParser.java:2391)

	at com.fasterxml.jackson.core.base.ParserMinimalBase._reportError(ParserMinimalBase.java:735)

	at com.fasterxml.jackson.core.base.ParserMinimalBase._reportUnexpectedChar(ParserMinimalBase.java:659)

	at com.fasterxml.jackson.core.json.UTF8StreamJsonParser._handleUnexpectedValue(UTF8StreamJsonParser.java:2737)

	at com.fasterxml.jackson.core.json.UTF8StreamJsonParser._nextTokenNotInObject(UTF8StreamJsonParser.java:902)

	at com.fasterxml.jackson.core.json.UTF8StreamJsonParser.nextToken(UTF8StreamJsonParser.java:794)

	at com.fasterxml.jackson.databind.ObjectMapper._initForReading(ObjectMapper.java:4761)

	at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:4667)

	at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3690)

	at com.ctrip.framework.apollo.portal.component.config.SpringSessionConfig.lambda$springSessionConversionService$1(SpringSessionConfig.java:59)

	... 50 common frames omitted



2022-08-26 19:42:33.348 ERROR 1 --- [nio-8070-exec-4] o.a.c.c.C.[.[.[/].[dispatcherServlet]    : Servlet.service() for servlet [dispatcherServlet] threw exception



org.springframework.core.convert.ConversionFailedException: Failed to convert from type [byte[]] to type [java.lang.Object] for value '{-84, -19, 0, 5, 115, 114, 0, 61, 111, 114, 103, 46, 115, 112, 114, 105, 110, 103, 102, 114, 97, 109, 101, 119, 111, 114, 107, 46, 115, 101, 99, 117, 114, 105, 116, 121, 46, 99, 111, 114, 101, 46, 99, 111, 110, 116, 101, 120, 116, 46, 83, 101, 99, 117, 114, 105, 116, 121, 67, 111, 110, 116, 101, 120, 116, 73, 109, 112, 108, 0, 0, 0, 0, 0, 0, 2, 28, 2, 0, 1, 76, 0, 14, 97, 117, 116, 104, 101, 110, 116, 105, 99, 97, 116, 105, 111, 110, 116, 0, 50, 76, 111, 114, 103, 47, 115, 112, 114, 105, 110, 103, 102, 114, 97, 109, 101, 119, 111, 114, 107, 47, 115, 101, 99, 117, 114, 105, 116, 121, 47, 99, 111, 114, 101, 47, 65, 117, 116, 104, 101, 110, 116, 105, 99, 97, 116, 105, 111, 110, 59, 120, 112, 115, 114, 0, 79, 111, 114, 103, 46, 115, 112, 114, 105, 110, 103, 102, 114, 97, 109, 101, 119, 111, 114, 107, 46, 115, 101, 99, 117, 114, 105, 116, 121, 46, 97, 117, 116, 104, 101, 110, 116, 105, 99, 97, 116, 105, 111, 110, 46, 85, 115, 101, 114, 110, 97, 109, 101, 80, 97, 115, 115, 119, 111, 114, 100, 65, 117, 116, 104, 101, 110, 116, 105, 99, 97, 116, 105, 111, 110, 84, 111, 107, 101, 110, 0, 0, 0, 0, 0, 0, 2, 28, 2, 0, 2, 76, 0, 11, 99, 114, 101, 100, 101, 110, 116, 105, 97, 108, 115, 116, 0, 18, 76, 106, 97, 118, 97, 47, 108, 97, 110, 103, 47, 79, 98, 106, 101, 99, 116, 59, 76, 0, 9, 112, 114, 105, 110, 99, 105, 112, 97, 108, 113, 0, 126, 0, 4, 120, 114, 0, 71, 111, 114, 103, 46, 115, 112, 114, 105, 110, 103, 102, 114, 97, 109, 101, 119, 111, 114, 107, 46, 115, 101, 99, 117, 114, 105, 116, 121, 46, 97, 117, 116, 104, 101, 110, 116, 105, 99, 97, 116, 105, 111, 110, 46, 65, 98, 115, 116, 114, 97, 99, 116, 65, 117, 116, 104, 101, 110, 116, 105, 99, 97, 116, 105, 111, 110, 84, 111, 107, 101, 110, -45, -86, 40, 126, 110, 71, 100, 14, 2, 0, 3, 90, 0, 13, 97, 117, 116, 104, 101, 110, 116, 105, 99, 97, 116, 101, 100, 76, 0, 11, 97, 117, 116, 104, 111, 114, 105, 116, 105, 101, 115, 116, 0, 22, 76, 106, 97, 118, 97, 47, 117, 116, 105, 108, 47, 67, 111, 108, 108, 101, 99, 116, 105, 111, 110, 59, 76, 0, 7, 100, 101, 116, 97, 105, 108, 115, 113, 0, 126, 0, 4, 120, 112, 1, 115, 114, 0, 38, 106, 97, 118, 97, 46, 117, 116, 105, 108, 46, 67, 111, 108, 108, 101, 99, 116, 105, 111, 110, 115, 36, 85, 110, 109, 111, 100, 105, 102, 105, 97, 98, 108, 101, 76, 105, 115, 116, -4, 15, 37, 49, -75, -20, -114, 16, 2, 0, 1, 76, 0, 4, 108, 105, 115, 116, 116, 0, 16, 76, 106, 97, 118, 97, 47, 117, 116, 105, 108, 47, 76, 105, 115, 116, 59, 120, 114, 0, 44, 106, 97, 118, 97, 46, 117, 116, 105, 108, 46, 67, 111, 108, 108, 101, 99, 116, 105, 111, 110, 115, 36, 85, 110, 109, 111, 100, 105, 102, 105, 97, 98, 108, 101, 67, 111, 108, 108, 101, 99, 116, 105, 111, 110, 25, 66, 0, -128, -53, 94, -9, 30, 2, 0, 1, 76, 0, 1, 99, 113, 0, 126, 0, 6, 120, 112, 115, 114, 0, 19, 106, 97, 118, 97, 46, 117, 116, 105, 108, 46, 65, 114, 114, 97, 121, 76, 105, 115, 116, 120, -127, -46, 29, -103, -57, 97, -99, 3, 0, 1, 73, 0, 4, 115, 105, 122, 101, 120, 112, 0, 0, 0, 0, 119, 4, 0, 0, 0, 0, 120, 113, 0, 126, 0, 13, 115, 114, 0, 72, 111, 114, 103, 46, 115, 112, 114, 105, 110, 103, 102, 114, 97, 109, 101, 119, 111, 114, 107, 46, 115, 101, 99, 117, 114, 105, 116, 121, 46, 119, 101, 98, 46, 97, 117, 116, 104, 101, 110, 116, 105, 99, 97, 116, 105, 111, 110, 46, 87, 101, 98, 65, 117, 116, 104, 101, 110, 116, 105, 99, 97, 116, 105, 111, 110, 68, 101, 116, 97, 105, 108, 115, 0, 0, 0, 0, 0, 0, 2, 28, 2, 0, 2, 76, 0, 13, 114, 101, 109, 111, 116, 101, 65, 100, 100, 114, 101, 115, 115, 116, 0, 18, 76, 106, 97, 118, 97, 47, 108, 97, 110, 103, 47, 83, 116, 114, 105, 110, 103, 59, 76, 0, 9, 115, 101, 115, 115, 105, 111, 110, 73, 100, 113, 0, 126, 0, 15, 120, 112, 116, 0, 14, 49, 48, 51, 46, 50, 48, 54, 46, 49, 57, 49, 46, 54, 56, 116, 0, 36, 52, 98, 52, 53, 57, 99, 102, 52, 45, 51, 99, 55, 56, 45, 52, 98, 52, 50, 45, 97, 97, 49, 49, 45, 52, 97, 57, 97, 54, 50, 52, 49, 56, 48, 51, 97, 112, 115, 114, 0, 65, 111, 114, 103, 46, 115, 112, 114, 105, 110, 103, 102, 114, 97, 109, 101, 119, 111, 114, 107, 46, 115, 101, 99, 117, 114, 105, 116, 121, 46, 108, 100, 97, 112, 46, 117, 115, 101, 114, 100, 101, 116, 97, 105, 108, 115, 46, 76, 100, 97, 112, 85, 115, 101, 114, 68, 101, 116, 97, 105, 108, 115, 73, 109, 112, 108, 0, 0, 0, 0, 0, 0, 2, 28, 2, 0, 10, 90, 0, 17, 97, 99, 99, 111, 117, 110, 116, 78, 111, 110, 69, 120, 112, 105, 114, 101, 100, 90, 0, 16, 97, 99, 99, 111, 117, 110, 116, 78, 111, 110, 76, 111, 99, 107, 101, 100, 90, 0, 21, 99, 114, 101, 100, 101, 110, 116, 105, 97, 108, 115, 78, 111, 110, 69, 120, 112, 105, 114, 101, 100, 90, 0, 7, 101, 110, 97, 98, 108, 101, 100, 73, 0, 20, 103, 114, 97, 99, 101, 76, 111, 103, 105, 110, 115, 82, 101, 109, 97, 105, 110, 105, 110, 103, 73, 0, 20, 116, 105, 109, 101, 66, 101, 102, 111, 114, 101, 69, 120, 112, 105, 114, 97, 116, 105, 111, 110, 76, 0, 11, 97, 117, 116, 104, 111, 114, 105, 116, 105, 101, 115, 113, 0, 126, 0, 6, 76, 0, 2, 100, 110, 113, 0, 126, 0, 15, 76, 0, 8, 112, 97, 115, 115, 119, 111, 114, 100, 113, 0, 126, 0, 15, 76, 0, 8, 117, 115, 101, 114, 110, 97, 109, 101, 113, 0, 126, 0, 15, 120, 112, 1, 1, 1, 1, 127, -1, -1, -1, 127, -1, -1, -1, 115, 113, 0, 126, 0, 8, 115, 113, 0, 126, 0, 12, 0, 0, 0, 0, 119, 4, 0, 0, 0, 0, 120, 113, 0, 126, 0, 22, 116, 0, 43, 99, 110, 61, 99, 104, 111, 110, 103, 99, 104, 111, 110, 103, 102, 97, 110, 44, 111, 117, 61, 85, 115, 101, 114, 115, 44, 100, 99, 61, 109, 105, 111, 116, 101, 99, 104, 44, 100, 99, 61, 99, 111, 109, 112, 116, 0, 13, 99, 104, 111, 110, 103, 99, 104, 111, 110, 103, 102, 97, 110}'; nested exception is java.lang.RuntimeException: Spring-session JSON deserializing error, This is usually caused by the system upgrade, please clear the browser cookies and try again.

	at org.springframework.core.convert.support.ConversionUtils.invokeConverter(ConversionUtils.java:47)

	at org.springframework.core.convert.support.GenericConversionService.convert(GenericConversionService.java:192)

	at org.springframework.session.jdbc.JdbcIndexedSessionRepository.deserialize(JdbcIndexedSessionRepository.java:628)

	at org.springframework.session.jdbc.JdbcIndexedSessionRepository.access$1900(JdbcIndexedSessionRepository.java:133)

	at org.springframework.session.jdbc.JdbcIndexedSessionRepository$SessionResultSetExtractor.lambda$extractData$0(JdbcIndexedSessionRepository.java:898)

	at org.springframework.session.jdbc.JdbcIndexedSessionRepository$4.get(JdbcIndexedSessionRepository.java:650)

	at org.springframework.session.jdbc.JdbcIndexedSessionRepository$JdbcSession.getAttribute(JdbcIndexedSessionRepository.java:728)

	at org.springframework.session.PrincipalNameIndexResolver.resolveIndexValueFor(PrincipalNameIndexResolver.java:46)

	at org.springframework.session.SingleIndexResolver.resolveIndexesFor(SingleIndexResolver.java:48)

	at org.springframework.session.DelegatingIndexResolver.resolveIndexesFor(DelegatingIndexResolver.java:49)

	at org.springframework.session.jdbc.JdbcIndexedSessionRepository$JdbcSession.lambda$save$11(JdbcIndexedSessionRepository.java:840)

	at org.springframework.transaction.support.TransactionOperations.lambda$executeWithoutResult$0(TransactionOperations.java:68)

	at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:140)

	at org.springframework.transaction.support.TransactionOperations.executeWithoutResult(TransactionOperations.java:67)

	at org.springframework.session.jdbc.JdbcIndexedSessionRepository$JdbcSession.save(JdbcIndexedSessionRepository.java:837)

	at org.springframework.session.jdbc.JdbcIndexedSessionRepository$JdbcSession.access$200(JdbcIndexedSessionRepository.java:665)

	at org.springframework.session.jdbc.JdbcIndexedSessionRepository.save(JdbcIndexedSessionRepository.java:422)

	at org.springframework.session.jdbc.JdbcIndexedSessionRepository.save(JdbcIndexedSessionRepository.java:133)

	at org.springframework.session.web.http.SessionRepositoryFilter$SessionRepositoryRequestWrapper.commitSession(SessionRepositoryFilter.java:226)

	at org.springframework.session.web.http.SessionRepositoryFilter$SessionRepositoryRequestWrapper.access$100(SessionRepositoryFilter.java:193)

	at org.springframework.session.web.http.SessionRepositoryFilter.doFilterInternal(SessionRepositoryFilter.java:145)

	at org.springframework.session.web.http.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:82)

	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)

	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)

	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:102)

	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)

	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)

	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:711)

	at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:461)

	at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:385)

	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:313)

	at org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:403)

	at org.apache.catalina.core.StandardHostValve.status(StandardHostValve.java:249)

	at org.apache.catalina.core.StandardHostValve.throwable(StandardHostValve.java:344)

	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)

	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)

	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)

	at org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)

	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)

	at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)

	at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)

	at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:890)

	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1743)

	at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)

	at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)

	at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)

	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)

	at java.lang.Thread.run(Thread.java:750)

Caused by: java.lang.RuntimeException: Spring-session JSON deserializing error, This is usually caused by the system upgrade, please clear the browser cookies and try again.

	at com.ctrip.framework.apollo.portal.component.config.SpringSessionConfig.lambda$springSessionConversionService$1(SpringSessionConfig.java:61)

	at org.springframework.core.convert.support.GenericConversionService$ConverterAdapter.convert(GenericConversionService.java:386)

	at org.springframework.core.convert.support.ConversionUtils.invokeConverter(ConversionUtils.java:41)

	... 47 common frames omitted

Caused by: com.fasterxml.jackson.core.JsonParseException: Unexpected character ('¬' (code 172)): expected a valid value (JSON String, Number, Array, Object or token 'null', 'true' or 'false')

 at [Source: (byte[])"��\u0000\u0005sr\u0000=org.springframework.security.core.context.SecurityContextImpl\u0000\u0000\u0000\u0000\u0000\u0000\u0002\u001C\u0002\u0000\u0001L\u0000\u000Eauthenticationt\u00002Lorg/springframework/security/core/Authentication;xpsr\u0000Oorg.springframework.security.authentication.UsernamePasswordAuthenticationToken\u0000\u0000\u0000\u0000\u0000\u0000\u0002\u001C\u0002\u0000\u0002L\u0000\u000Bcredentialst\u0000\u0012Ljava/lang/Object;L\u0000\u0009principalq\u0000~\u0000\u0004xr\u0000Gorg.springframework.security.authentication.AbstractAuthenticationTokenӪ(~nGd\u000E\u0002\u0000\u0003Z\u0000

authenticatedL\u0000\u000Bauthoritiest\u0000\u0016Ljava/util/Collection;L\u0000\u0007detailsq\u0000~\u0000\u0004xp\u0001sr\u0000&java.util.Collections$UnmodifiableList�"[truncated 730 bytes]; line: 1, column: 2]

	at com.fasterxml.jackson.core.JsonParser._constructError(JsonParser.java:2391)

	at com.fasterxml.jackson.core.base.ParserMinimalBase._reportError(ParserMinimalBase.java:735)

	at com.fasterxml.jackson.core.base.ParserMinimalBase._reportUnexpectedChar(ParserMinimalBase.java:659)

	at com.fasterxml.jackson.core.json.UTF8StreamJsonParser._handleUnexpectedValue(UTF8StreamJsonParser.java:2737)

	at com.fasterxml.jackson.core.json.UTF8StreamJsonParser._nextTokenNotInObject(UTF8StreamJsonParser.java:902)

	at com.fasterxml.jackson.core.json.UTF8StreamJsonParser.nextToken(UTF8StreamJsonParser.java:794)

	at com.fasterxml.jackson.databind.ObjectMapper._initForReading(ObjectMapper.java:4761)

	at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:4667)

	at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3690)

	at com.ctrip.framework.apollo.portal.component.config.SpringSessionConfig.lambda$springSessionConversionService$1(SpringSessionConfig.java:59)

	... 49 common frames omitted



```

- Configuration 

    - ldap

- Platform and Operating System 

    - default docker

Continue on GitHub ↗

04 / LABELS

Labels from the report text only; not yet run

No supported category has been assigned.

Label rules and the text that matched
[]