Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-50315

LayoutTypeControllerImpl causes session serialization failure

    Details

      Description

      On tomcat shutdown with session persistence on, it fails with:

      Sep 23, 2014 3:51:06 PM org.apache.catalina.session.StandardSession writeObject
      WARNING: Cannot serialize session attribute PREVIOUS_LAYOUT for session F0E6C92891C92F92337DFC35B75951E1
      java.io.NotSerializableException: com.liferay.portal.model.impl.LayoutTypeControllerImpl
      	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1183)
      	at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1547)
      	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1508)
      	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1431)
      	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177)
      	at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1547)
      	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1508)
      	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1431)
      	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177)
      	at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347)
      	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.run(FutureTask.java:262)
      	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:744)
      

        Attachments

          Activity

            People

            • Assignee:
              mark.jin Mark Jin (Inactive)
              Reporter:
              shuyang.zhou Shuyang Zhou
              Participants of an Issue:
              Recent user:
              Esther Sanz
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                5 years, 4 weeks, 3 days ago

                Packages

                Version Package
                7.0.0 M2