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

Protect ExceptionProxy againts Non-Serializable origin

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: