java.lang.IllegalArgumentException: unable to serialize tmp.dataflow.experimental.TestSideOutput$Filter@6986852

  1. 0

    Unable to run a job with OutputTags

    Stack Overflow | 2 months ago | Haden Hooyeon Lee
    java.lang.IllegalArgumentException: unable to serialize tmp.dataflow.experimental.TestSideOutput$Filter@6986852
  2. 0

    We have a known issue with Tomcat valve org.apache.catalina.valves.CometConnectionManagerValve This valve stores Http Servlet requests in session object, which if clustered with Terracotta, requests would have to be serialized. Hence the stack trace {code} SEVERE: An exception or error occurred in the container during the request processing java.lang.RuntimeException: java.io.NotSerializableException: org.terracotta.modules.tomcat.tomcat_6_0.SessionRequest60 at com.terracotta.session.SerializedAttributeStore$SerializedAttribute.<init>(SerializedAttributeStore.java:98) at com.terracotta.session.SerializedAttributeStore$SerializedAttributeWithCache.<init>(SerializedAttributeStore.java:141) at com.terracotta.session.SerializedAttributeStore.put(SerializedAttributeStore.java:60) at com.terracotta.session.SessionData.bindAttribute(SessionData.java:455) at com.terracotta.session.SessionData.setAttributeReturnOld(SessionData.java:322) at com.terracotta.session.SessionData.setAttribute(SessionData.java:313) at org.apache.catalina.valves.CometConnectionManagerValve.invoke(CometConnectionManagerValve.java:265) at org.terracotta.modules.tomcat.tomcat_5_5.SessionValve55.tcInvoke(SessionValve55.java:100) at org.terracotta.modules.tomcat.tomcat_5_5.SessionValve55.invoke(SessionValve55.java:85) at org.terracotta.session.ModernTomcatSessionValve.invoke(ModernTomcatSessionValve.java:66) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:555) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) at org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:886) at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:721) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2256) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: java.io.NotSerializableException: org.terracotta.modules.tomcat.tomcat_6_0.SessionRequest60 at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1164) at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1346) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1154) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:330) at org.terracotta.cache.serialization.DsoSerializationStrategy.serialize(DsoSerializationStrategy.java:60) at com.terracotta.session.SerializedAttributeStore$SerializedAttribute.<init>(SerializedAttributeStore.java:96) ... 20 more {code} There is no workaround. This issue here is for documentation purpose

    Terracotta Project Issue Tracker | 5 years ago | Hung Huynh
    java.lang.RuntimeException: java.io.NotSerializableException: org.terracotta.modules.tomcat.tomcat_6_0.SessionRequest60
  3. 0

    We have a known issue with Tomcat valve org.apache.catalina.valves.CometConnectionManagerValve This valve stores Http Servlet requests in session object, which if clustered with Terracotta, requests would have to be serialized. Hence the stack trace {code} SEVERE: An exception or error occurred in the container during the request processing java.lang.RuntimeException: java.io.NotSerializableException: org.terracotta.modules.tomcat.tomcat_6_0.SessionRequest60 at com.terracotta.session.SerializedAttributeStore$SerializedAttribute.<init>(SerializedAttributeStore.java:98) at com.terracotta.session.SerializedAttributeStore$SerializedAttributeWithCache.<init>(SerializedAttributeStore.java:141) at com.terracotta.session.SerializedAttributeStore.put(SerializedAttributeStore.java:60) at com.terracotta.session.SessionData.bindAttribute(SessionData.java:455) at com.terracotta.session.SessionData.setAttributeReturnOld(SessionData.java:322) at com.terracotta.session.SessionData.setAttribute(SessionData.java:313) at org.apache.catalina.valves.CometConnectionManagerValve.invoke(CometConnectionManagerValve.java:265) at org.terracotta.modules.tomcat.tomcat_5_5.SessionValve55.tcInvoke(SessionValve55.java:100) at org.terracotta.modules.tomcat.tomcat_5_5.SessionValve55.invoke(SessionValve55.java:85) at org.terracotta.session.ModernTomcatSessionValve.invoke(ModernTomcatSessionValve.java:66) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:555) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) at org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:886) at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:721) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2256) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: java.io.NotSerializableException: org.terracotta.modules.tomcat.tomcat_6_0.SessionRequest60 at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1164) at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1346) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1154) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:330) at org.terracotta.cache.serialization.DsoSerializationStrategy.serialize(DsoSerializationStrategy.java:60) at com.terracotta.session.SerializedAttributeStore$SerializedAttribute.<init>(SerializedAttributeStore.java:96) ... 20 more {code} There is no workaround. This issue here is for documentation purpose

    Terracotta Project Issue Tracker | 5 years ago | Hung Huynh
    java.lang.RuntimeException: java.io.NotSerializableException: org.terracotta.modules.tomcat.tomcat_6_0.SessionRequest60
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    JavaSparkContext not serializable

    Stack Overflow | 2 years ago | Amine CHERIFI
    org.apache.spark.SparkException: Task not serializable
  6. 0

    SparkException: Task not serializable in logs_analyzer/chapter1/java6

    GitHub | 2 years ago | MiguelPeralvo
    org.apache.spark.SparkException: Task not serializable

  1. kjhdofjosvs 1 times, last 5 days ago
  2. treefolk 1 times, last 2 weeks ago
  3. filpgame 4 times, last 2 weeks ago
  4. Handemelindo 15 times, last 3 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

    tmp.dataflow.experimental.TestSideOutput

    at java.io.ObjectOutputStream.writeObject0()
  2. Java RT
    ObjectOutputStream.writeObject
    1. java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1184)
    2. java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1548)
    3. java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1509)
    4. java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432)
    5. java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178)
    6. java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1548)
    7. java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1509)
    8. java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432)
    9. java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178)
    10. java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348)
    10 frames
  3. com.google.cloud
    ParDo$UnboundMulti.of
    1. com.google.cloud.dataflow.sdk.util.SerializableUtils.serializeToByteArray(SerializableUtils.java:50)
    2. com.google.cloud.dataflow.sdk.util.SerializableUtils.clone(SerializableUtils.java:91)
    3. com.google.cloud.dataflow.sdk.transforms.ParDo$BoundMulti.<init>(ParDo.java:959)
    4. com.google.cloud.dataflow.sdk.transforms.ParDo$UnboundMulti.of(ParDo.java:912)
    5. com.google.cloud.dataflow.sdk.transforms.ParDo$UnboundMulti.of(ParDo.java:908)
    5 frames
  4. tmp.dataflow.experimental
    TestSideOutput.execute
    1. tmp.dataflow.experimental.TestSideOutput.execute(TestSideOutput.java:41)
    1 frame
  5. com.moloco.dataflow
    Main.main
    1. com.moloco.dataflow.Main.main(Main.java:152)
    1 frame