java.io.NotSerializableException: org.apache.log4j.Logger

Atlassian JIRA | Dave Loeng [Atlassian] | 1 decade ago
  1. 0

    [JRA-1909] java.io.NotSerializableException: org.apache.log4j.Logger - Atlassian JIRA

    atlassian.com | 1 year ago
    java.io.NotSerializableException: org.apache.log4j.Logger
  2. 0

    This is actually a Open Symphony error - it looks as though the log4J logger in the User object is not marked as transient... I have a number of these errors in the logs. 2003-06-12 20:57:14 StandardContext[]: Reloading this Context is completed 2003-06-12 23:32:53 StandardManager[] Cannot serialize session attribute os_security_defaultauthenticator_user for session B7F30118137340E1701B9B2FB6D1C17D java.io.NotSerializableException: org.apache.log4j.Logger at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1054) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1330) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1302) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1245) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:278) at java.util.ArrayList.writeObject(ArrayList.java:530) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:795) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1294) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1245) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1330) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1302) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1245) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1330) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1302) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1245) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1330) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1302) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1245) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:278) at org.apache.catalina.session.StandardSession.writeObject(StandardSession.java:1427) at org.apache.catalina.session.StandardSession.writeObjectData(StandardSession.java:869) at org.apache.catalina.session.StandardManager.unload(StandardManager.java:507) at org.apache.catalina.session.StandardManager.stop(StandardManager.java:662) at org.apache.catalina.core.StandardContext.stop(StandardContext.java:3591) at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:1036) at org.apache.catalina.core.StandardHostDeployer.remove(StandardHostDeployer.java:420) at org.apache.catalina.core.StandardHost.remove(StandardHost.java:852) at org.apache.catalina.startup.HostConfig.undeployApps(HostConfig.java:919) at org.apache.catalina.startup.HostConfig.stop(HostConfig.java:899) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:370) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166) at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1221) at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1233) at org.apache.catalina.core.StandardService.stop(StandardService.java:554) at org.apache.catalina.core.StandardServer.stop(StandardServer.java:2224) at org.apache.catalina.startup.Catalina$CatalinaShutdownHook.run(Catalina.java:622) -- Nick Minutello

    Atlassian JIRA | 1 decade ago | Dave Loeng [Atlassian]
    java.io.NotSerializableException: org.apache.log4j.Logger
  3. 0

    This is actually a Open Symphony error - it looks as though the log4J logger in the User object is not marked as transient... I have a number of these errors in the logs. 2003-06-12 20:57:14 StandardContext[]: Reloading this Context is completed 2003-06-12 23:32:53 StandardManager[] Cannot serialize session attribute os_security_defaultauthenticator_user for session B7F30118137340E1701B9B2FB6D1C17D java.io.NotSerializableException: org.apache.log4j.Logger at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1054) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1330) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1302) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1245) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:278) at java.util.ArrayList.writeObject(ArrayList.java:530) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:795) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1294) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1245) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1330) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1302) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1245) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1330) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1302) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1245) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1330) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1302) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1245) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:278) at org.apache.catalina.session.StandardSession.writeObject(StandardSession.java:1427) at org.apache.catalina.session.StandardSession.writeObjectData(StandardSession.java:869) at org.apache.catalina.session.StandardManager.unload(StandardManager.java:507) at org.apache.catalina.session.StandardManager.stop(StandardManager.java:662) at org.apache.catalina.core.StandardContext.stop(StandardContext.java:3591) at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:1036) at org.apache.catalina.core.StandardHostDeployer.remove(StandardHostDeployer.java:420) at org.apache.catalina.core.StandardHost.remove(StandardHost.java:852) at org.apache.catalina.startup.HostConfig.undeployApps(HostConfig.java:919) at org.apache.catalina.startup.HostConfig.stop(HostConfig.java:899) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:370) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166) at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1221) at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1233) at org.apache.catalina.core.StandardService.stop(StandardService.java:554) at org.apache.catalina.core.StandardServer.stop(StandardServer.java:2224) at org.apache.catalina.startup.Catalina$CatalinaShutdownHook.run(Catalina.java:622) -- Nick Minutello

    Atlassian JIRA | 1 decade ago | Dave Loeng [Atlassian]
    java.io.NotSerializableException: org.apache.log4j.Logger
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Trouble enabling Logging/Debugging for Orbeon Development

    Stack Overflow | 4 years ago | user1715357
    java.io.NotSerializableException: scala.collection.JavaConversions$MapWrapper
  6. 0

    FormattingConversionService NotSerializableException

    Stack Overflow | 2 years ago | mnpr
    java.io.NotSerializableException: org.springframework.format.support.DefaultFormattingConversionService

  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.apache.log4j.Logger

    at java.io.ObjectOutputStream.writeObject0()
  2. Java RT
    ObjectOutputStream.writeObject
    1. java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1054)
    2. java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1330)
    3. java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1302)
    4. java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1245)
    5. java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
    6. java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:278)
    7. java.util.ArrayList.writeObject(ArrayList.java:530)
    8. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    9. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    10. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    11. java.lang.reflect.Method.invoke(Method.java:324)
    12. java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:795)
    13. java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1294)
    14. java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1245)
    15. java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
    16. java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1330)
    17. java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1302)
    18. java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1245)
    19. java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
    20. java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1330)
    21. java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1302)
    22. java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1245)
    23. java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
    24. java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1330)
    25. java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1302)
    26. java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1245)
    27. java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
    28. java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:278)
    28 frames
  3. Glassfish Core
    Catalina$CatalinaShutdownHook.run
    1. org.apache.catalina.session.StandardSession.writeObject(StandardSession.java:1427)
    2. org.apache.catalina.session.StandardSession.writeObjectData(StandardSession.java:869)
    3. org.apache.catalina.session.StandardManager.unload(StandardManager.java:507)
    4. org.apache.catalina.session.StandardManager.stop(StandardManager.java:662)
    5. org.apache.catalina.core.StandardContext.stop(StandardContext.java:3591)
    6. org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:1036)
    7. org.apache.catalina.core.StandardHostDeployer.remove(StandardHostDeployer.java:420)
    8. org.apache.catalina.core.StandardHost.remove(StandardHost.java:852)
    9. org.apache.catalina.startup.HostConfig.undeployApps(HostConfig.java:919)
    10. org.apache.catalina.startup.HostConfig.stop(HostConfig.java:899)
    11. org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:370)
    12. org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)
    13. org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1221)
    14. org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1233)
    15. org.apache.catalina.core.StandardService.stop(StandardService.java:554)
    16. org.apache.catalina.core.StandardServer.stop(StandardServer.java:2224)
    17. org.apache.catalina.startup.Catalina$CatalinaShutdownHook.run(Catalina.java:622)
    17 frames