wu-sheng commented on issue #1080: Exception loading sessions from persistent 
storage
URL: 
https://github.com/apache/incubator-skywalking/issues/1080#issuecomment-382219001
 
 
   Why does your session object have `RestController` annotation? This is the 
reason. 
   
   Every `@RestController` means a Controller rather than a normal Java value 
Bean for Spring, and SkyWalking  will instrument these classes for tracing HTTP 
incoming request. And every instrumented class is added a new field, which 
value couldn't be serialized, since we didn't expect you serialize a 
Controller, this violate basic MVC principle.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to