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

NotSerializableException when creating site page variation

    Details

      Description

      Steps to reproduce:
      1-Enable staging.
      2-Add page variation.
      3-Shutdown server

      You'll se some Non serializable attributes are stored in session:

      ADVERTENCIA: No puedo serializar atributo de sesión PREVIOUS_LAYOUT para sesión 9138F3D70C20CDEAA3BE242B848C9F15
      java.io.NotSerializableException: com.liferay.portal.model.LayoutStagingHandler
      	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1164)
      	at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
      	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
      	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
      	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
      	at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:330)
      	at org.apache.catalina.session.StandardSession.writeObject(StandardSession.java:1687)
      	at org.apache.catalina.session.StandardSession.writeObjectData(StandardSession.java:1087)
      	at org.apache.catalina.session.StandardManager.doUnload(StandardManager.java:411)
      	at org.apache.catalina.session.StandardManager.unload(StandardManager.java:353)
      	at org.apache.catalina.session.StandardManager.stopInternal(StandardManager.java:497)
      	at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)
      	at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5462)
      	at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)
      	at org.apache.catalina.core.ContainerBase$StopChild.call(ContainerBase.java:1583)
      	at org.apache.catalina.core.ContainerBase$StopChild.call(ContainerBase.java:1573)
      	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      	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)
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mika.koivisto Mika Koivisto
                Reporter:
                juangon Juan G
                Participants of an Issue:
                Recent user:
                Esther Sanz
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  6 years, 30 weeks, 5 days ago

                  Packages

                  Version Package
                  6.1.30 EE GA3