Uploaded image for project: 'Tika'
  1. Tika
  2. TIKA-828

TaggedIOException can be passed non Serializable objects

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0
    • 1.1
    • None
    • None

    Description

      TaggedIOException can contain tags. It's used to contain TaggedInputStream which isn't serializable.

      This can cause the ForkServer to fail when trying to report issues. See TIKA-827

      2 solutions

      • make the tag transient
      • replace the InputStream instance in the tag by a serializable object specific to the input stream.

      I opt for the first one as I really don't think we need more complexity

      Attachments

        Activity

          People

            jukkaz Jukka Zitting
            lacostej Jerome Lacoste
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: