Uploaded image for project: 'XMLBeans'
  1. XMLBeans
  2. XMLBEANS-198

Serializable class XmlValidationError contains non-serializable SchemaType(Impl) properties

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: Version 2, TBD
    • Fix Version/s: Version 2, Version 2.1
    • Component/s: Validator
    • Labels:
      None
    • Environment:
      N/A

      Description

      When trying to serialize an XmlValidationError (e.g. thrown by a remote EJB interface method), a NonSerializableException is thrown:

      org.apache.xmlbeans.XmlException: Validation failed ; nested exception is:
      java.io.NotSerializableException: org.apache.xmlbeans.impl.schema.SchemaTypeImpl

      Don't know whether it is feasible to make SchemaType serializable? Otherwise maybe only include SchemaTypeImpl.toString() values with the state of an XmlValidationError to be serialized...

      Many thanks in advance,

      Andreas

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              awloew Andreas Loew
            • Votes:
              2 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: