java.io.NotSerializableException: org.springframework.web.client.RestTemplate

syncope-user | Jordi Clement | 3 years ago
  1. 0

    Re: Question wrt syncope active / active HA setup

    syncope-user | 3 years ago | Jordi Clement
    java.io.NotSerializableException: org.springframework.web.client.RestTemplate
  2. 0

    java.io.NotSerializableException while replicating session. Spring security 3.2.5 with tomcat 7.0.42

    Stack Overflow | 2 years ago | Shashank
    java.io.NotSerializableException: org.springframework.security.web.context.HttpSessionSecurityContextRepository$Servlet3SaveToSessionRequestWrapper
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    We are using session replication in tomcat to manage multiple clusters. I am getting below error when I am using spring security 3.2.5. SEVERE: Unable to serialize delta request for sessionid [1E93921A4C9DD4CF69977DE11D7FD497.service.instance01] java.io.NotSerializableException: org.springframework.security.web.context.HttpSessionSecurityContextRepository$Servlet3SaveToSessionRequestWrapper at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1181) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1541) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1506) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1175) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1541) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1506) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1175) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1541) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1506) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1175) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) 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:623) at org.apache.catalina.ha.session.DeltaManager.requestCompleted(DeltaManager.java:1066) at org.apache.catalina.ha.session.DeltaManager.requestCompleted(DeltaManager.java:1031) at org.apache.catalina.ha.tcp.ReplicationValve.send(ReplicationValve.java:539) at org.apache.catalina.ha.tcp.ReplicationValve.sendMessage(ReplicationValve.java:526) at org.apache.catalina.ha.tcp.ReplicationValve.sendSessionReplicationMessage(ReplicationValve.java:508) at org.apache.catalina.ha.tcp.ReplicationValve.sendReplicationMessage(ReplicationValve.java:421) at org.apache.catalina.ha.tcp.ReplicationValve.invoke(ReplicationValve.java:345) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408) at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:200) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:724)

    Spring JIRA | 2 years ago | Shashank Khede
    java.io.NotSerializableException: org.springframework.security.web.context.HttpSessionSecurityContextRepository$Servlet3SaveToSessionRequestWrapper
  5. 0

    spring security custom authentication module, opensso and tomcat clusters

    Oracle Community | 6 years ago | 804089
    java.io.NotSerializableException: com.iplanet.sso.providers.dpro.SSOTokenImpl

  1. kjhdofjosvs 2 times, last 1 week ago
  2. treefolk 1 times, last 1 week ago
  3. filpgame 4 times, last 1 week ago
  4. Handemelindo 15 times, last 2 weeks ago
  5. eti22 1 times, last 1 month ago
11 more registered users
50 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.io.NotSerializableException

    org.springframework.web.client.RestTemplate

    at java.io.ObjectOutputStream.writeObject0()
  2. Java RT
    ObjectOutputStream.writeObject
    1. java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1164)
    2. java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
    3. java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
    4. java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
    5. java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
    6. java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
    7. java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
    8. java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
    9. java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
    10. java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:330)
    10 frames
  3. org.apache.catalina
    ReplicationValve.invoke
    1. org.apache.catalina.ha.session.DeltaRequest$AttributeInfo.writeExternal(DeltaRequest.java:392)
    2. org.apache.catalina.ha.session.DeltaRequest.writeExternal(DeltaRequest.java:285)
    3. org.apache.catalina.ha.session.DeltaRequest.serialize(DeltaRequest.java:299)
    4. org.apache.catalina.ha.session.DeltaManager.serializeDeltaRequest(DeltaManager.java:621)
    5. org.apache.catalina.ha.session.DeltaManager.requestCompleted(DeltaManager.java:1053)
    6. org.apache.catalina.ha.session.DeltaManager.requestCompleted(DeltaManager.java:1018)
    7. org.apache.catalina.ha.tcp.ReplicationValve.send(ReplicationValve.java:537)
    8. org.apache.catalina.ha.tcp.ReplicationValve.sendMessage(ReplicationValve.java:524)
    9. org.apache.catalina.ha.tcp.ReplicationValve.sendSessionReplicationMessage(ReplicationValve.java:506)
    10. org.apache.catalina.ha.tcp.ReplicationValve.sendReplicationMessage(ReplicationValve.java:419)
    11. org.apache.catalina.ha.tcp.ReplicationValve.invoke(ReplicationValve.java:343)
    11 frames
  4. Glassfish Core
    CoyoteAdapter.service
    1. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
    1 frame
  5. Grizzly HTTP
    AprEndpoint$SocketProcessor.run
    1. org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)
    2. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
    3. org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2441)
    4. org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2430)
    4 frames
  6. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
    3. java.lang.Thread.run(Thread.java:662)
    3 frames