Uploaded image for project: 'ZK Charts'
  1. ZK Charts
  2. ZKCHARTS-109

org.zkoss.chart.ChartsEngine (no serializable)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.2, 7.2.1.1
    • Fix Version/s: 7.2.1.2
    • Security Level: Jimmy
    • Labels:

      Description

      Steps to Reproduce

      run attached unit test

      Current Result

      java.io.NotSerializableException: org.zkoss.chart.ChartsEngine
      
      	at java.base/java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1185)
      	at java.base/java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1553)
      	at java.base/java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1510)
      	at java.base/java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1433)
      	at java.base/java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1179)
      	at java.base/java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:349)
      	at TestComponentDeserialization.writeAndReadBack(TestComponentDeserialization.java:30)
      	at TestComponentDeserialization.testComponentDeserialization(TestComponentDeserialization.java:22)
      	at TestComponentDeserialization.testCharts(TestComponentDeserialization.java:15)
      ...
      

      Expected Result

      no exception
      Charts/ChartsEngine objects are serializable

      Debug Information

      Workaround

        Attachments

          Activity

            People

            Assignee:
            rudyhuang rudyhuang
            Reporter:
            cor3000 cor3000
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours
                2h