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

org.zkoss.chart.ChartsEngine (no serializable)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 7.2.1.2
    • 3.0.2, 7.2.1.1
    • Security Level: Jimmy

      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

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

              Created:
              Updated:
              Resolved:

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