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

Protect ExceptionProxy againts Non-Serializable origin

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 1.0.0.CR7
    • Fix Version/s: 1.0.1.Final
    • Component/s: None
    • Labels:
      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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  aslak Aslak Knutsen
                  Reporter:
                  blabno Bernard Labno
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: