Uploaded image for project: 'Arquillian'
  1. Arquillian
  2. ARQ-846

Protect ExceptionProxy againts Non-Serializable origin

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 1.0.1.Final
    • 1.0.0.CR7
    • None
    • None

      After https://community.jboss.org/message/728205#728205:

      The code in quesiton is here: https://github.com/arquillian/arquillian-core/blob/master/test/spi/src/main/java/org/jboss/arquillian/test/spi/ExceptionProxy.java#L225

      Need a try catch around the ObjectOutputStream write part.. if it fails just write the empty byte array

      The HTMLUnit Exception breaks the contract of Exception by not being serializable, and should be fixed as well, but I guess we can work around it.

              aslak@redhat.com Aslak Knutsen
              blabno Bernard Labno (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: