xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Barry Becker" <bec...@bluemartini.com>
Subject CSS not Serializable
Date Tue, 24 Sep 2002 21:14:37 GMT
I have an application where I load my SVG's on server startup, then serialize them to an applet
during applet startup.
To do this the SVG dom needs to be serializable. This was the case in 1.1.1, but now that
I am trying 1.5b4, I get the following exception:

java.io.NotSerializableException: org.apache.batik.css.engine.StyleMap
        at java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1148)
        at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:366)
        at java.io.ObjectOutputStream.outputClassFields(ObjectOutputStream.java:1827)
        at java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:480)
        at java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1214)
        at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:366)
        at java.io.ObjectOutputStream.outputClassFields(ObjectOutputStream.java:1827)
        at java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:480)

Can you please make org.apache.batik.css.engine.StyleMap implement Serializable?
This should be a trivial change.

-Barry


Mime
View raw message