ICEfaces
  1. ICEfaces
  2. ICE-10962

showcase-portlet ace:tree demos NotSerializableException warnings

    Details

    • Assignee Priority:
      P3

      Description

      Jenkins ICEfaces 4.1.1 Build # 2/4 and ICEfaces 4trunk r. 47631:
      Tree > Client, Lazy Loading

      The demos are functional, however server warnings can be seen in server terminal window after testing the Tree > Client / Lazy Loading demos, when stopping or starting the server; the warnings are seen on server restart also after the demos have been removed from page.
      The warnings are only seen in Liferay terminal window, and cannot be found in the actual logs.

        Activity

        Carmen Cristurean created issue -
        Carmen Cristurean made changes -
        Field Original Value New Value
        Fix Version/s EE-4.1.0.GA [ 12171 ]
        Ken Fyten made changes -
        Assignee Mircea Toma [ mircea.toma ]
        Assignee Priority P3 [ 10012 ]
        Hide
        Mircea Toma added a comment -

        Converted anonymous class in TreeLazyBean to inner class and made it serializable.

        Show
        Mircea Toma added a comment - Converted anonymous class in TreeLazyBean to inner class and made it serializable.
        Mircea Toma made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #47787 Mon Feb 15 16:29:40 MST 2016 mircea.toma ICE-10962 Converted anonymous class to inner class and made serializable.
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/java/org/icefaces/samples/showcase/example/ace/tree/ExampleLazyModel.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/java/org/icefaces/samples/showcase/example/ace/tree/TreeLazyBean.java
        Hide
        Carmen Cristurean added a comment -

        ICEfaces4 trunk r. 47791: NotSerializableException warnings are resolved for Tree > Lazy Loading demo.

        Tree > Client demo triggers the same type of errors:
        Caused by: java.io.NotSerializableException: org.icefaces.samples.showcase.example.ace.tree.TreeClientBean$1
        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.writeObject(ObjectOutputStream.java:347)
        at java.util.HashMap.writeObject(HashMap.java:1133)
        ........

        Show
        Carmen Cristurean added a comment - ICEfaces4 trunk r. 47791: NotSerializableException warnings are resolved for Tree > Lazy Loading demo. Tree > Client demo triggers the same type of errors: Caused by: java.io.NotSerializableException: org.icefaces.samples.showcase.example.ace.tree.TreeClientBean$1 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.writeObject(ObjectOutputStream.java:347) at java.util.HashMap.writeObject(HashMap.java:1133) ........
        Carmen Cristurean made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Ken Fyten made changes -
        Security Private [ 10001 ]
        Hide
        Mircea Toma added a comment -

        Converted anonymous classes in TreeClientBean, TreeBean and BreadcrumbMenuBean to inner classes to make them serializable.

        Show
        Mircea Toma added a comment - Converted anonymous classes in TreeClientBean, TreeBean and BreadcrumbMenuBean to inner classes to make them serializable.
        Mircea Toma made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #47944 Tue Feb 16 16:45:34 MST 2016 mircea.toma ICE-10962 Converted anonymous class to inner class to make it serializable.
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/java/org/icefaces/samples/showcase/example/ace/breadcrumbmenu/BreadcrumbMenuBean.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/java/org/icefaces/samples/showcase/example/ace/tree/TreeClientBean.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/java/org/icefaces/samples/showcase/example/ace/tree/TreeBean.java
        Hide
        Carmen Cristurean added a comment -

        Verified ICEfaces4 trunk r.47944/ showcase-portlet > Tree, BreadcrumbMenu demos on Liferay 6.2/Tomcat 7.0.42/ Firefox41.

        Show
        Carmen Cristurean added a comment - Verified ICEfaces4 trunk r.47944/ showcase-portlet > Tree, BreadcrumbMenu demos on Liferay 6.2/Tomcat 7.0.42/ Firefox41.
        Ken Fyten made changes -
        Fix Version/s EE-4.1.0.BETA [ 13072 ]
        Ken Fyten made changes -
        Fix Version/s 4.2.BETA [ 13091 ]
        Fix Version/s 4.2 [ 12870 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Carmen Cristurean
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: