Patent cart.
Fix JNPE after a retry when the previous token retrieving has failed.