java.io.NotSerializableException: com.atlassian.crowd.plugin.rest.filter.BasicApplicationAuthenticationFilter

Atlassian JIRA | Diego Berrueta | 3 years ago
  1. 0

    h1. Steps to reproduce # Deploy the Crowd WAR to a Tomcat server. # Start Crowd, generate some activity and shutdown the container h1. Stacktrace This stacktrace is produced in the container logs, e.g., output-crowd.log when shutting down the container: {noformat} Jul 17, 2013 3:31:55 PM org.apache.catalina.session.StandardSession writeObject WARNING: Cannot serialize session attribute com.atlassian.crowd.authenticated.application.token for session 2A1B285F7AD05BAE56AF5A77DA451C78 java.io.NotSerializableException: com.atlassian.crowd.plugin.rest.filter.BasicApplicationAuthenticationFilter at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1180) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1528) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1493) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1416) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1174) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:346) at org.apache.catalina.session.StandardSession.writeObject(StandardSession.java:1671) at org.apache.catalina.session.StandardSession.writeObjectData(StandardSession.java:1077) at org.apache.catalina.session.StandardManager.doUnload(StandardManager.java:432) at org.apache.catalina.session.StandardManager.unload(StandardManager.java:353) at org.apache.catalina.session.StandardManager.stopInternal(StandardManager.java:518) at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232) at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5569) at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232) at org.apache.catalina.core.ContainerBase$StopChild.call(ContainerBase.java:1575) at org.apache.catalina.core.ContainerBase$StopChild.call(ContainerBase.java:1564) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722) {noformat}

    Atlassian JIRA | 3 years ago | Diego Berrueta Munoz
    java.io.NotSerializableException: com.atlassian.crowd.plugin.rest.filter.BasicApplicationAuthenticationFilter
  2. 0

    h1. Steps to reproduce # Deploy the Crowd WAR to a Tomcat server. # Start Crowd, generate some activity and shutdown the container h1. Stacktrace This stacktrace is produced in the container logs, e.g., output-crowd.log when shutting down the container: {noformat} Jul 17, 2013 3:31:55 PM org.apache.catalina.session.StandardSession writeObject WARNING: Cannot serialize session attribute com.atlassian.crowd.authenticated.application.token for session 2A1B285F7AD05BAE56AF5A77DA451C78 java.io.NotSerializableException: com.atlassian.crowd.plugin.rest.filter.BasicApplicationAuthenticationFilter at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1180) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1528) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1493) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1416) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1174) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:346) at org.apache.catalina.session.StandardSession.writeObject(StandardSession.java:1671) at org.apache.catalina.session.StandardSession.writeObjectData(StandardSession.java:1077) at org.apache.catalina.session.StandardManager.doUnload(StandardManager.java:432) at org.apache.catalina.session.StandardManager.unload(StandardManager.java:353) at org.apache.catalina.session.StandardManager.stopInternal(StandardManager.java:518) at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232) at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5569) at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232) at org.apache.catalina.core.ContainerBase$StopChild.call(ContainerBase.java:1575) at org.apache.catalina.core.ContainerBase$StopChild.call(ContainerBase.java:1564) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722) {noformat}

    Atlassian JIRA | 3 years ago | Diego Berrueta
    java.io.NotSerializableException: com.atlassian.crowd.plugin.rest.filter.BasicApplicationAuthenticationFilter
  3. 0

    GSON not serializable in JSF managed bean

    Stack Overflow | 4 years ago | kinkajou
    java.io.NotSerializableException: com.google.gson.Gson
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Rundeck under Tomcat7 dump a lot a of serialization Warning

    GitHub | 2 years ago | katanafleet
    java.io.NotSerializableException: com.dtolabs.rundeck.core.authentication.Username
  6. 0

    can't login into mancenter on tomcat with sessionCookieDomain enabled

    GitHub | 3 years ago | slavonic-suomi
    java.io.NotSerializableException: com.hazelcast.webmonitor.model.User

  1. kjhdofjosvs 1 times, last 1 week 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

    com.atlassian.crowd.plugin.rest.filter.BasicApplicationAuthenticationFilter

    at java.io.ObjectOutputStream.writeObject0()
  2. Java RT
    ObjectOutputStream.writeObject
    1. java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1180)
    2. java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1528)
    3. java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1493)
    4. java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1416)
    5. java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1174)
    6. java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:346)
    6 frames
  3. Glassfish Core
    ContainerBase$StopChild.call
    1. org.apache.catalina.session.StandardSession.writeObject(StandardSession.java:1671)
    2. org.apache.catalina.session.StandardSession.writeObjectData(StandardSession.java:1077)
    3. org.apache.catalina.session.StandardManager.doUnload(StandardManager.java:432)
    4. org.apache.catalina.session.StandardManager.unload(StandardManager.java:353)
    5. org.apache.catalina.session.StandardManager.stopInternal(StandardManager.java:518)
    6. org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)
    7. org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5569)
    8. org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)
    9. org.apache.catalina.core.ContainerBase$StopChild.call(ContainerBase.java:1575)
    10. org.apache.catalina.core.ContainerBase$StopChild.call(ContainerBase.java:1564)
    10 frames
  4. Java RT
    Thread.run
    1. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
    2. java.util.concurrent.FutureTask.run(FutureTask.java:166)
    3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
    4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
    5. java.lang.Thread.run(Thread.java:722)
    5 frames