If abort(Throwable) is called before the upload has been successfully initiated, the abort method results in a NullPointerException called from Utils.skipMiddle. This is because StringTransferManager's toString method doesn't check whether uploadId is null before calling Utils.skipMiddle. The NPE then hides the underlying exception which prompted us to call abort in the first place.
If abort(Throwable) is called before the upload has been successfully initiated, the abort method results in a NullPointerException called from Utils.skipMiddle. This is because StringTransferManager's toString method doesn't check whether uploadId is null before calling Utils.skipMiddle. The NPE then hides the underlying exception which prompted us to call abort in the first place.