In some rare cases when exception occurs during runtime in the TestNGFutureTask in this line
then the result remains null. The BiConsumer should handle null first param. It causes NPE and the real exception remains hidden. Just via debug you can find the real problem.
Please fix this.