java.io.NotSerializableException: com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler

Atlassian JIRA | Eric Dalgliesh | 7 years ago
  1. 0

    Studio is getting this error when doing a Confluence restore. It's not breaking anything, but it *is* gumming up our logs. WARNING: Cannot serialize session attribute confluence.user.history for session xxxxxxxxxxxxxxxxx java.io.NotSerializableException: com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1156) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326) at org.apache.catalina.session.StandardSession.writeObject(StandardSession.java:1517) at org.apache.catalina.session.StandardSession.writeObjectData(StandardSession.java:959) at org.apache.catalina.session.StandardManager.doUnload(StandardManager.java:517) at org.apache.catalina.session.StandardManager.unload(StandardManager.java:463) at org.apache.catalina.session.StandardManager.stop(StandardManager.java:667) at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4573) at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1098) at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1098) at org.apache.catalina.core.StandardEngine.stop(StandardEngine.java:448) at org.apache.catalina.core.StandardService.stop(StandardService.java:584) at org.apache.catalina.core.StandardServer.stop(StandardServer.java:744) at org.apache.catalina.startup.Catalina.stop(Catalina.java:633) at org.apache.catalina.startup.Catalina.start(Catalina.java:608) 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:597) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)

    Atlassian JIRA | 7 years ago | Eric Dalgliesh
    java.io.NotSerializableException: com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler
  2. 0

    Studio is getting this error when doing a Confluence restore. It's not breaking anything, but it *is* gumming up our logs. WARNING: Cannot serialize session attribute confluence.user.history for session xxxxxxxxxxxxxxxxx java.io.NotSerializableException: com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1156) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326) at org.apache.catalina.session.StandardSession.writeObject(StandardSession.java:1517) at org.apache.catalina.session.StandardSession.writeObjectData(StandardSession.java:959) at org.apache.catalina.session.StandardManager.doUnload(StandardManager.java:517) at org.apache.catalina.session.StandardManager.unload(StandardManager.java:463) at org.apache.catalina.session.StandardManager.stop(StandardManager.java:667) at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4573) at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1098) at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1098) at org.apache.catalina.core.StandardEngine.stop(StandardEngine.java:448) at org.apache.catalina.core.StandardService.stop(StandardService.java:584) at org.apache.catalina.core.StandardServer.stop(StandardServer.java:744) at org.apache.catalina.startup.Catalina.stop(Catalina.java:633) at org.apache.catalina.startup.Catalina.start(Catalina.java:608) 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:597) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)

    Atlassian JIRA | 7 years ago | Eric Dalgliesh
    java.io.NotSerializableException: com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler
  3. 0

    Problema com o Spring no Vraptor

    Google Groups | 6 years ago | Márcio Silva
    java.io.NotSerializableException: net.ledes.java.webapp.interceptor.UserInfo
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    on getting a barebones webapp running

    Google Groups | 9 years ago | Robert Koberg
    java.io.NotSerializableException: scala.PartialFunction$$anon$1
  6. 0

    Unable to compile class for JSP | Oracle Community

    oracle.com | 11 months ago
    java.io.NotSerializableException: uk.gov.sefton.scr.bom.Category

  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.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler

    at java.io.ObjectOutputStream.writeObject0()
  2. Java RT
    ObjectOutputStream.writeObject
    1. java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1156)
    2. java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509)
    3. java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474)
    4. java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)
    5. java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
    6. java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509)
    7. java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474)
    8. java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)
    9. java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
    10. java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)
    10 frames
  3. Glassfish Core
    Catalina.start
    1. org.apache.catalina.session.StandardSession.writeObject(StandardSession.java:1517)
    2. org.apache.catalina.session.StandardSession.writeObjectData(StandardSession.java:959)
    3. org.apache.catalina.session.StandardManager.doUnload(StandardManager.java:517)
    4. org.apache.catalina.session.StandardManager.unload(StandardManager.java:463)
    5. org.apache.catalina.session.StandardManager.stop(StandardManager.java:667)
    6. org.apache.catalina.core.StandardContext.stop(StandardContext.java:4573)
    7. org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1098)
    8. org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1098)
    9. org.apache.catalina.core.StandardEngine.stop(StandardEngine.java:448)
    10. org.apache.catalina.core.StandardService.stop(StandardService.java:584)
    11. org.apache.catalina.core.StandardServer.stop(StandardServer.java:744)
    12. org.apache.catalina.startup.Catalina.stop(Catalina.java:633)
    13. org.apache.catalina.startup.Catalina.start(Catalina.java:608)
    13 frames
  4. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:597)
    4 frames
  5. Glassfish Core
    Bootstrap.main
    1. org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
    2. org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
    2 frames