Uploaded image for project: 'Batik'
  1. Batik
  2. BATIK-1210

jnlp/rmi Non-Serializable Component in batik-bridge class

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Critical
    • Resolution: Unresolved
    • 1.9
    • 1.9
    • Bridge
    • Linux - Windows
    • Patch

    Description

      When Batik Libraries are used in a JNLP Environment, an error relating to an unserializable class is generated.

      The Fix is easy, but would be nice, if I didn't have to employ it all of the time.
      In batik-bridge/src/main/java/org/apache/batik/bridge/UserAgent.java everytime I do
      an update.

      Add "import java.io.Serializable;" to the list of Imports.
      To the Interface Declaration:
      public interface UserAgent extends Serializable {

      This same change applies to the Batik 1.8 and the Batik 1.9 Library.
      I do not have experience with any libraries predating Version 1.8
      The Authors are listed as
      cjolif@ilog.fr <Christophe Jolif>
      stephane@hillion.org <Stephane Hillion>
      Attached is Corrected Code.

      Attachments

        1. UserAgent.java
          9 kB
          Jeff Miller

        Activity

          People

            Unassigned Unassigned
            jamabs Jeff Miller
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: