java.io.NotSerializableException

org.springframework.web.client.RestTemplate

Solutions on the web2

  • via syncope-user by Jordi Clement, 9 months ago
    org.springframework.web.client.RestTemplate
  • via syncope-user by Jordi Clement, 2 weeks ago
    org.springframework.web.client.RestTemplate
  • Stack trace

    • java.io.NotSerializableException: org.springframework.web.client.RestTemplate at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1164) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:330) at org.apache.catalina.ha.session.DeltaRequest$AttributeInfo.writeExternal(DeltaRequest.java:392) at org.apache.catalina.ha.session.DeltaRequest.writeExternal(DeltaRequest.java:285) at org.apache.catalina.ha.session.DeltaRequest.serialize(DeltaRequest.java:299) at org.apache.catalina.ha.session.DeltaManager.serializeDeltaRequest(DeltaManager.java:621) at org.apache.catalina.ha.session.DeltaManager.requestCompleted(DeltaManager.java:1053) at org.apache.catalina.ha.session.DeltaManager.requestCompleted(DeltaManager.java:1018) at org.apache.catalina.ha.tcp.ReplicationValve.send(ReplicationValve.java:537) at org.apache.catalina.ha.tcp.ReplicationValve.sendMessage(ReplicationValve.java:524) at org.apache.catalina.ha.tcp.ReplicationValve.sendSessionReplicationMessage(ReplicationValve.java:506) at org.apache.catalina.ha.tcp.ReplicationValve.sendReplicationMessage(ReplicationValve.java:419) at org.apache.catalina.ha.tcp.ReplicationValve.invoke(ReplicationValve.java:343) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607) at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2441) at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2430) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) at java.lang.Thread.run(Thread.java:662)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 year ago
    11 times, 1 month ago
    Unknown user
    Once, 2 months ago
    6 times, 2 months ago
    2 times, 3 months ago
    84 more bugmates