1 Reply Latest reply on Aug 21, 2014 9:52 AM by aslak

    Arquillian Exception Handling

    avsokolov

      Arquillan architecture based on observers. But now, if one of observers throws an exception and transactions are used. We are getting:

       

      java.lang.NullPointerException: null

        at org.jboss.arquillian.transaction.impl.lifecycle.TransactionHandler.testRequiresRollbackDueToFailure(TransactionHandler.java:170)

       

      Although the actual exception in my case was thrown by DBUnitDataHandler.prepare().

       

      Could you please change the logic so the original exception is displayed in the output? Otherwise we have to debug to get the actual exception. There is no way to find a solution without debugging via arquillian classes. It really takes rather long time.