ICEfaces
  1. ICEfaces
  2. ICE-4298

Component Showcase facelets-enh version throws NotSerializableException

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.8RC2
    • Fix Version/s: 1.8
    • Component/s: Sample Apps
    • Labels:
      None
    • Environment:
      Tomcat 6
    • Affects:
      Sample App./Tutorial

      Description

      SEVERE: IOException while loading persisted sessions: java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: org.icefaces.application.showcase.view.jaxb.Node
      java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: org.icefaces.application.showcase.view.jaxb.Node
      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1309)
      at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1908)
      at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1832)
      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719)
      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
      at org.apache.catalina.session.StandardSession.readObject(StandardSession.java:1441)
      at org.apache.catalina.session.StandardSession.readObjectData(StandardSession.java:942)
      at org.apache.catalina.session.StandardManager.doLoad(StandardManager.java:394)
      at org.apache.catalina.session.StandardManager.load(StandardManager.java:321)
      at org.apache.catalina.session.StandardManager.start(StandardManager.java:637)
      at org.apache.catalina.core.ContainerBase.setManager(ContainerBase.java:438)
      at org.apache.catalina.core.StandardContext.start(StandardContext.java:4271)
      at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
      at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
      at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
      at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:830)
      at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:719)
      at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
      at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)
      at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
      at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
      at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
      at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
      at org.apache.catalina.core.StandardService.start(StandardService.java:516)
      at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
      at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
      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:585)
      at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
      at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
      Caused by: java.io.NotSerializableException: org.icefaces.application.showcase.view.jaxb.Node
      at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1081)
      at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375)
      at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1347)
      at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)
      at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
      at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302)
      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:4519)
      at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:924)
      at org.apache.catalina.startup.HostConfig.undeployApps(HostConfig.java:1191)
      at org.apache.catalina.startup.HostConfig.stop(HostConfig.java:1162)
      at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:313)
      at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
      at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1086)
      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:628)

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #18690 Mon Mar 30 15:28:00 MDT 2009 patrick.corless ICE-4298 -addition of Serializable interface to JAXB generated objects.
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/samples/component-showcase/facelets-enh/src/org/icefaces/application/showcase/view/jaxb/SourceCode.java
        Commit graph MODIFY /icefaces/trunk/icefaces/samples/component-showcase/facelets-enh/src/org/icefaces/application/showcase/view/jaxb/Node.java
        Commit graph MODIFY /icefaces/trunk/icefaces/samples/component-showcase/facelets-enh/src/org/icefaces/application/showcase/view/jaxb/ContentDescriptor.java
        Commit graph MODIFY /icefaces/trunk/icefaces/samples/component-showcase/facelets-enh/src/org/icefaces/application/showcase/view/jaxb/Tutorials.java
        Commit graph MODIFY /icefaces/trunk/icefaces/samples/component-showcase/facelets-enh/src/org/icefaces/application/showcase/view/jaxb/Navigation.java
        Commit graph MODIFY /icefaces/trunk/icefaces/samples/component-showcase/common-src/org/icefaces/application/showcase/view/bean/examples/common/inventory/InventoryItem.java
        Commit graph MODIFY /icefaces/trunk/icefaces/samples/component-showcase/facelets-enh/src/org/icefaces/application/showcase/view/jaxb/NavigationDefault.java
        Commit graph MODIFY /icefaces/trunk/icefaces/samples/component-showcase/facelets-enh/src/org/icefaces/application/showcase/view/jaxb/ReferenceType.java
        Commit graph MODIFY /icefaces/trunk/icefaces/samples/component-showcase/facelets-enh/src/org/icefaces/application/showcase/view/jaxb/Example.java
        Commit graph MODIFY /icefaces/trunk/icefaces/samples/component-showcase/facelets-enh/src/org/icefaces/application/showcase/view/jaxb/Content.java
        Commit graph MODIFY /icefaces/trunk/icefaces/samples/component-showcase/facelets-enh/src/org/icefaces/application/showcase/view/jaxb/Documentation.java
        Commit graph MODIFY /icefaces/trunk/icefaces/samples/component-showcase/facelets-enh/src/org/icefaces/application/showcase/view/jaxb/Beans.java
        Commit graph MODIFY /icefaces/trunk/icefaces/samples/component-showcase/facelets-enh/src/org/icefaces/application/showcase/view/jaxb/ObjectFactory.java
        Commit graph MODIFY /icefaces/trunk/icefaces/samples/component-showcase/facelets-enh/src/org/icefaces/application/showcase/view/jaxb/Tlds.java
        Commit graph MODIFY /icefaces/trunk/icefaces/samples/component-showcase/facelets-enh/src/org/icefaces/application/showcase/view/jaxb/JspxPages.java
        Commit graph MODIFY /icefaces/trunk/icefaces/samples/component-showcase/facelets-enh/src/org/icefaces/application/showcase/view/jaxb/ResourceType.java
        Commit graph MODIFY /icefaces/trunk/icefaces/samples/component-showcase/facelets-enh/src/org/icefaces/application/showcase/view/jaxb/Documents.java
        Commit graph MODIFY /icefaces/trunk/icefaces/samples/component-showcase/facelets-enh/src/org/icefaces/application/showcase/view/jaxb/ContentResources.java
        Ken Fyten created issue -
        Ken Fyten made changes -
        Field Original Value New Value
        Salesforce Case []
        Fix Version/s 1.8 [ 10161 ]
        Assignee Priority P1
        Assignee Patrick Corless [ patrick.corless ]
        Patrick Corless made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Hide
        Patrick Corless added a comment -

        Added Serializable to JAXB generated classes to avoid the nasty serialization errors due to state saving. Will open again if someone reports further issues.

        Show
        Patrick Corless added a comment - Added Serializable to JAXB generated classes to avoid the nasty serialization errors due to state saving. Will open again if someone reports further issues.
        Patrick Corless made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Salesforce Case []
        Affects [Sample App./Tutorial]
        Security Private [ 10001 ]
        Ken Fyten made changes -
        Assignee Priority P1
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Assignee Patrick Corless [ patrick.corless ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Ken Fyten
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: